You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Player: Difference between revisions
Jump to navigation
Jump to search
LyingBrian (talk | contribs) mNo edit summary |
SigmaEpsilon (talk | contribs) (attempt fix) |
||
Line 1: | Line 1: | ||
<includeonly>:*'''[[{{{1}}}]]''' | ''{{{2|Alive}}}'' | {{{3|Unknown}}}</includeonly><noinclude> | <includeonly>:* '''[[{{{1}}}]]''' | ''{{ #ifeq: {{{2| }}} | |Alive|{{{2}}}}}'' | {{ #ifeq: {{{3| }}} | |Unknown|{{{3}}}}}</includeonly><noinclude> | ||
{{TOCright}} | {{TOCright}} | ||
This template displays a player's name and a link to that player's role in a particular game. | This template displays a player's name and a link to that player's role in a particular game. | ||
Line 20: | Line 20: | ||
| | | | ||
<pre> | <pre> | ||
{{player|LyingBrian|Day 1| | {{player|LyingBrian|Day 1|Townie}} | ||
{{Player|LyingBrian||}} | |||
{{Player|LyingBrian|Day 1|}} | |||
{{Player|LyingBrain||Townie}} | |||
</pre> | </pre> | ||
| | | | ||
{{player|LyingBrian|Day 1|role=Townie}} | {{player|LyingBrian|Day 1|role=Townie}} | ||
{{Player|LyingBrian||}} | |||
{{Player|LyingBrian|Day 1|}} | |||
{{Player|LyingBrain||Townie}} | |||
|} | |} | ||
[[Category:Templates|P]] | [[Category:Templates|P]] | ||
</noinclude> | </noinclude> |
Revision as of 19:59, 19 August 2007
This template displays a player's name and a link to that player's role in a particular game.
Syntax
{{player| | |role}}
Variables
- 1: This is the Player's Name. In the Example below, this is LyingBrian.
- 2: This is the Heading on the page where this template is that contains further information on a player's role. Typing a space will not create a link.
- Note: If there is no Heading matching what you type, the link does nothing.
- 3: This is the Text of the link. Typing a space will not create a link.
- Note: If you use this variable, you MUST use the 2nd variable as well, or the link created will redirect to the Main Page.
Example
What you type | What it looks like |
{{player|LyingBrian|Day 1|Townie}} {{Player|LyingBrian||}} {{Player|LyingBrian|Day 1|}} {{Player|LyingBrain||Townie}} |
|