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 |
No edit summary |
||
(46 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>*'''{{ #ifeq: {{{re|}}} |||<s>{{U|{{{re}}}}}</s> }}{{ #ifeq: {{{re2|}}} |||<s>{{U|{{{re2}}}}}</s> }}{{ #ifeq: {{{re3|}}} |||<s>{{U|{{{re3}}}}}</s> }}{{ #ifeq: {{{1| }}} | |Player Name|{{U|{{{1}}}}}}}'''{{ #ifeq: {{{2| }}} | || ''([[{{{link|{{{2}}}}}}|{{{2}}}]])''}}{{ #ifeq: {{{3| }}} | || — [[#{{{3}}}|{{{3}}}]]}}</includeonly><noinclude> | ||
{{TOCright}} | {{TOCright}} | ||
This template displays a player's name and | This template displays a player's name and describes to that player's role in a particular game. | ||
==Syntax== | |||
== Syntax == | |||
<pre> | <pre> | ||
{{player| | | | {{player|LyingBrian|Townie|Day 1}} | ||
</pre> | </pre> | ||
== | |||
* | == Usage == | ||
* | |||
*The first section is the player's name. It will bolded and linked. In the [[#Example|example]] below, this is "LyingBrian", which shows up as "'''{{U|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). | |||
==Example== | *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: | |||
<pre> | |||
{{player|DarthYoshi|re=lynchking}} | |||
</pre> | |||
{{player|DarthYoshi|re=lynchking}} | |||
=== Example === | |||
{| border="1" cellpadding="2" cellspacing="0" | {| border="1" cellpadding="2" cellspacing="0" | ||
|- | |- | ||
| width=50% | What you type | | width=50% | What you type | ||
| width=50% | What it looks like | | width=50% | What it looks like | ||
|- | |- | ||
| | |||
<pre> | |||
{{player|LyingBrian|Townie|Day 1}} | |||
</pre> | |||
| | |||
{{player|LyingBrian|Townie|Day 1}} | |||
|- | |||
| | |||
<pre> | |||
{{player|LyingBrian}} | |||
</pre> | |||
| | |||
{{player|LyingBrian}} | |||
|- | |||
| | |||
<pre> | |||
{{player|LyingBrian||Day 1}} | |||
</pre> | |||
| | |||
{{player|LyingBrian||Day 1}} | |||
|- | |||
| | |||
<pre> | |||
{{player|LyingBrian|Townie}} | |||
</pre> | |||
| | |||
{{player|LyingBrian|Townie}} | |||
|- | |||
| | | | ||
<pre> | <pre> | ||
{{player| | {{player||Townie|Day 1}} | ||
</pre> | </pre> | ||
| | | | ||
{{player| | {{player||Townie|Day 1}} | ||
|} | |} | ||
[[Category:Templates| | [[Category:Templates|Player]] | ||
</noinclude> | </noinclude> |
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}} |