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 |
LyingBrian (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>'''''[[{{{1}}}]]''''' | [[#{{{2| }}}|{{{3| }}}]]</includeonly><noinclude> | <includeonly>'''''[[{{{1}}}]]''''' | [[#{{{2| }}}|{{{3| }}}]]</includeonly><noinclude> | ||
{{TOCright}} | |||
This template displays a player's name and 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. | ||
==Syntax== | |||
<pre> | <pre> | ||
{{||}} | {{player| | | }} | ||
</pre> | </pre> | ||
==Variables== | |||
*1: This is the Player's Name. In the [[#Example|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== | |||
{| border="1" cellpadding="2" cellspacing="0" | |||
|- | |||
| width=50% | What you type | |||
| width=50% | What it looks like | |||
|- valign="top" | |||
| | |||
<pre> | |||
{{player|LyingBrian|Day 1|Townie}} | |||
</pre> | |||
| | |||
{{player|LyingBrian|Day 1|Townie}} | |||
|} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 23:12, 18 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.
Example
What you type | What it looks like |
{{player|LyingBrian|Day 1|Townie}} |