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
Line 12: Line 12:
*3: This is the Text of the link. Typing a space will not create a link.
*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.
:'''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==
==Examples==
{| 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
|- valign="top"
|-  
|
|
<pre>
<pre>
{{player|LyingBrian|Day 1|Townie}}
{{player|LyingBrian|Day 1|Townie}}
</pre>
|
{{player|LyingBrian|Day 1|Townie}}
|-
|
<pre>
{{Player|LyingBrian| | }}
{{Player|LyingBrian| | }}
</pre>
|
{{Player|LyingBrian| | }}
|-
|
<pre>
{{Player|LyingBrian|Day 1| }}
{{Player|LyingBrian|Day 1| }}
</pre>
|
{{Player|LyingBrian|Day 1| }}
|-
|
<pre>
{{Player|LyingBrian| |Townie}}
{{Player|LyingBrian| |Townie}}
</pre>
</pre>
|
|
{{player|LyingBrian|Day 1|Townie}}
{{Player|LyingBrian| | }}
{{Player|LyingBrian|Day 1| }}
{{Player|LyingBrian| |Townie}}
{{Player|LyingBrian| |Townie}}
|}
|}
[[Category:Templates|P]]
[[Category:Templates|P]]
</noinclude>
</noinclude>

Revision as of 22:02, 19 August 2007

This template displays a player's name and a link to that player's role in a particular game.

Syntax

{{player| | | }}

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.

Examples

What you type What it looks like
{{player|LyingBrian|Day 1|Townie}}
{{Player|LyingBrian| | }}
{{Player|LyingBrian|Day 1| }}
{{Player|LyingBrian| |Townie}}