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
(fix "Variables" section to match current form of template, added spacing to make wikicode easier to read.)
m (typo)
Line 1: Line 1:
<includeonly>:* '''{{ #ifeq: {{{1| }}} | |Name|[[{{{2}}}]]}}''' | ''{{ #ifeq: {{{2| }}} | |Alive|{{{2}}}}}'' | {{ #ifeq: {{{3| }}} | |Unknown|{{{3}}}}}</includeonly><noinclude>
<includeonly>:* '''{{ #ifeq: {{{1| }}} | |Name|[[{{{1}}}]]}}''' | ''{{ #ifeq: {{{2| }}} | |Alive|{{{2}}}}}'' | {{ #ifeq: {{{3| }}} | |Unknown|{{{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.

Revision as of 22:10, 19 August 2007

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

Syntax

{{player| | | }}

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". If left blank, it defaults to "Name"
  • The second 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 defaults to "Alive".
  • The third section is the role that the player played. If left blank, it defaults to "Unknown".

Example

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