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
(→Usage) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>*'''{{ #ifeq: {{{1| }}} | |Player Name|{{U|{{{1}}}}}}}'''{{ #ifeq: {{{2| }}} | || ''([[{{{2}}}]])''}}{{ #ifeq: {{{3| }}} | || — [[#{{{3}}}|{{{3}}}]]}}</includeonly><noinclude> | <includeonly>*'''{{ #ifeq: {{{re|}}} |||<s>{{U|{{{re}}}}}</s> }}{{ #ifeq: {{{1| }}} | |Player Name|{{U|{{{1}}}}}}}'''{{ #ifeq: {{{2| }}} | || ''([[{{{2}}}]])''}}{{ #ifeq: {{{3| }}} | || — [[#{{{3}}}|{{{3}}}]]}}</includeonly><noinclude> | ||
{{TOCright}} | {{TOCright}} | ||
This template displays a player's name and describes to that player's role in a particular game. | This template displays a player's name and describes to that player's role in a particular game. | ||
Line 14: | Line 14: | ||
*The second section is the role that the player played. If left blank, it is not displayed (implying that the player's role is not yet public). | *The second section is the role that the player played. If left blank, it is not displayed (implying that the player's role is not yet public). | ||
*The third section is the location on the page where further information on a player's role can be found. It is shown in italics. If left blank, it is not displayed (implying that the player is still alive). | *The third section is the location on the page where further information on a player's role can be found. It is shown in italics. If left blank, it is not displayed (implying that the player is still alive). | ||
*If the player has replaced another player, use '''re=replacedPlayer'''. For example: | |||
<pre> | |||
{{player|DarthYoshi|re=lynchking}} | |||
</pre> | |||
{{player|DarthYoshi|re=lynchking}} | |||
=== Example === | === Example === |
Revision as of 13:55, 1 April 2011
This template displays a player's name and describes to that player's role in a particular game.
Syntax
{{player|LyingBrian|Townie|Day 1}}
Usage
- The first section is the player's name. It will bolded and linked. In the example below, this is "LyingBrian", which shows up as "LyingBrian". This should not be left blank.
- The second section is the role that the player played. If left blank, it is not displayed (implying that the player's role is not yet public).
- The third section is the location on the page where further information on a player's role can be found. It is shown in italics. If left blank, it is not displayed (implying that the player is still alive).
- If the player has replaced another player, use re=replacedPlayer. For example:
{{player|DarthYoshi|re=lynchking}}
Example
What you type | What it looks like |
{{player|LyingBrian|Townie|Day 1}} |
|
{{player|LyingBrian}} |
|
{{player|LyingBrian||Day 1}} |
|
{{player|LyingBrian|Townie}} |
|
{{player||Townie|Day 1}} |