You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Tplayer: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{ #if: {{{1|}}} | {{ #if: {{{1|}}} | ||
|{{!}} '''{{U|{{{1}}}|{{{alt|{{{1}}}}}}}}''' {{!}}{{!}} ''[[{{{link|{{{2}}}}}}|{{{2}}}]]'' {{!}}{{!}}{{ #if: {{{3|}}} |[[#{{{3}}}|{{{3}}}]]|survived}} | |{{!}}- align="center" | ||
|{ | {{!}} '''{{U|{{{1}}}|{{{alt|{{{1}}}}}}}}''' {{!}}{{!}} ''[[{{{link|{{{2}}}}}}|{{{2}}}]]'' {{!}}{{!}}{{ #if: {{{3|}}} |[[#{{{3}}}|{{{3}}}]]|survived}} | ||
! width="100" | |{{{!}}class="wikitable" | ||
! width="100" | ! width="100" {{!}} Player | ||
! width="100" | ! width="100" {{!}} Role | ||
! width="100" {{!}} Scene}}</includeonly><noinclude> | |||
==Attributes== | ==Attributes== | ||
Line 11: | Line 12: | ||
==={{{1}}}=== | ==={{{1}}}=== | ||
The player's name | The player's name. Leave empty for a table head. | ||
==={{{2}}}=== | ==={{{2}}}=== | ||
Line 19: | Line 20: | ||
==={{{3}}}=== | ==={{{3}}}=== | ||
The player's death scene (e.g. ''Day 2'' or ''Endgame'') — leave out if the player survived | The player's death scene (e.g. ''Day 2'' or ''Endgame'') — leave out if the player survived. | ||
This creates a link to the section with the same name. | |||
==={{{link}}}=== | ==={{{link}}}=== | ||
Line 29: | Line 32: | ||
The nickname displayed for the player. Defaults to {{{1}}}. | The nickname displayed for the player. Defaults to {{{1}}}. | ||
[[category: Templates]][[Category:Pimped by Fenhl]] | ==Example== | ||
<pre> | |||
{{tplayer}} | |||
{{tplayer|Wingless|Strawberry Goon|link=Goon}} | |||
{{tplayer|Zodiark13|Vanilla Townie|Day 1}} | |||
{{tplayer|q21|Vanilla Townie|Night 1}} | |||
{{tplayer|Toon%20Fighter|alt=Toon Fighter|Cop|Day 2}} | |||
{{tplayer|el simo|Vanilla Townie|Night 2}} | |||
{{tplayer|LynchMePls|Strawberry Godfather|link=Godfather|Day 3}} | |||
{{tplayer|Benmage|Doctor|Night 3}} | |||
{{tplayer|Empking|Vanilla Townie|Day 4}} | |||
{{tplayer|Zdenek|Vanilla Townie|Endgame}} | |||
|} | |||
</pre> | |||
{{tplayer}} | |||
{{tplayer|Wingless|Strawberry Goon|link=Goon}} | |||
{{tplayer|Zodiark13|Vanilla Townie|Day 1}} | |||
{{tplayer|q21|Vanilla Townie|Night 1}} | |||
{{tplayer|Toon%20Fighter|alt=Toon Fighter|Cop|Day 2}} | |||
{{tplayer|el simo|Vanilla Townie|Night 2}} | |||
{{tplayer|LynchMePls|Strawberry Godfather|link=Godfather|Day 3}} | |||
{{tplayer|Benmage|Doctor|Night 3}} | |||
{{tplayer|Empking|Vanilla Townie|Day 4}} | |||
{{tplayer|Zdenek|Vanilla Townie|Endgame}} | |||
|} | |||
[[category: Templates|{{PAGENAME}}]][[Category:Pimped by Fenhl]] | |||
</noinclude> | </noinclude> |
Latest revision as of 13:25, 29 August 2012
Attributes
{{{1}}}
The player's name. Leave empty for a table head.
{{{2}}}
The player's role
{{{3}}}
The player's death scene (e.g. Day 2 or Endgame) — leave out if the player survived.
This creates a link to the section with the same name.
{{{link}}}
The wiki page that the role name links to. By default, it links to the role name's page.
{{{alt}}}
The nickname displayed for the player. Defaults to {{{1}}}.
Example
{{tplayer}} {{tplayer|Wingless|Strawberry Goon|link=Goon}} {{tplayer|Zodiark13|Vanilla Townie|Day 1}} {{tplayer|q21|Vanilla Townie|Night 1}} {{tplayer|Toon%20Fighter|alt=Toon Fighter|Cop|Day 2}} {{tplayer|el simo|Vanilla Townie|Night 2}} {{tplayer|LynchMePls|Strawberry Godfather|link=Godfather|Day 3}} {{tplayer|Benmage|Doctor|Night 3}} {{tplayer|Empking|Vanilla Townie|Day 4}} {{tplayer|Zdenek|Vanilla Townie|Endgame}} |}