You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:Player: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>*'''{{ #ifeq: {{{re|}}} |||<s>{{U|{{{re}}}}}</s>&nbsp;}}{{ #ifeq: {{{1| }}} | |Player Name|{{U|{{{1}}}}}}}'''{{ #ifeq: {{{2| }}} | ||&nbsp;''([[{{{2}}}]])''}}{{ #ifeq: {{{3| }}} | ||&nbsp;— [[#{{{3}}}|{{{3}}}]]}}</includeonly><noinclude>
<includeonly>*'''{{ #ifeq: {{{re|}}} |||<s>{{U|{{{re}}}}}</s>&nbsp;}}{{ #ifeq: {{{re2|}}} |||<s>{{U|{{{re2}}}}}</s>&nbsp;}}{{ #ifeq: {{{re3|}}} |||<s>{{U|{{{re3}}}}}</s>&nbsp;}}{{ #ifeq: {{{1| }}} | |Player Name|{{U|{{{1}}}}}}}'''{{ #ifeq: {{{2| }}} | ||&nbsp;''([[{{{link|{{{2}}}}}}|{{{2}}}]])''}}{{ #ifeq: {{{3| }}} | ||&nbsp;— [[#{{{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 you want the role name to link to another page (e.g. for flavor role names), use '''link=Page name'''. For example:
<pre>
{{player|Erratus Apathos|Compulsive Town Doctor|link=Doctor}}
</pre>
{{player|Erratus Apathos|Compulsive Town Doctor|link=Doctor}}
*If the player has replaced another player, use '''re=replacedPlayer'''. For example:
*If the player has replaced another player, use '''re=replacedPlayer'''. For example:



Latest revision as of 10:42, 19 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 you want the role name to link to another page (e.g. for flavor role names), use link=Page name. For example:
{{player|Erratus Apathos|Compulsive Town Doctor|link=Doctor}}
  • 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}}