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

Template:Role: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 14: Line 14:
|}
|}
<noinclude>
<noinclude>
==How to use==
== Usage ==
To insert this template into a page, use the following syntax:
To insert this template into a page, use the following syntax:
  <nowiki>{{role
<pre>
  |alias =
{{role
  |alignment =
  |alias =         other names used for this role
  |type =
  |alignment =     most common faction in which this role is used
  |night_choice =
  |type =         investigative, protective, killing, other
  |notes =
  |night_choice = Does the role have a [[Night choice]]? (Yes/No)
}}</nowiki>
  |notes =         anything else that's worth nothing about the role (optional)
}}
</pre>


==Variables explained==
=== Example ===
*Alias: other names used for this role.
{| class="wikitable"
*Alignment: most common faction this role is used in.
|-
*Type: investigative, protective, killing, other.
! width=50% | What you type
*Night choice: Yes or No. Does the role have a [[Night choice]]?.
! width=50% | What it looks like
*Notes: Anything else that's worth nothing about the role.
|-
|
<pre>
{{role
|alias = Doc
|alignment = Pro-town
|type =  Protective
|night_choice =  Yes
}}
</pre>
|
{{role
|alias = Doc
|alignment = Pro-town
|type =  Protective
|night_choice =  Yes
}}
|-
|
<pre>
{{role
|alias = Townie
|alignment = Pro-town
|type =  Other
|night_choice =  No
|notes = Just an ordinary citizen
}}
</pre>
|
{{role
|alias = Townie
|alignment = Pro-town
|type =  Other
|night_choice =  No
|notes = Just an ordinary citizen
}}
|}
[[Category:Templates|R]]
[[Category:Templates|R]]
</noinclude>
</noinclude>

Revision as of 04:33, 21 August 2007

Role
Aliases: None
Alignment: None
Role type: None
Night choice: No

Usage

To insert this template into a page, use the following syntax:

{{role
 |alias =         other names used for this role
 |alignment =     most common faction in which this role is used
 |type =          investigative, protective, killing, other
 |night_choice =  Does the role have a [[Night choice]]? (Yes/No)
 |notes =         anything else that's worth nothing about the role (optional)
}}

Example

What you type What it looks like
{{role
 |alias = Doc
 |alignment = Pro-town
 |type =  Protective
 |night_choice =  Yes
}}
Role
Aliases: Doc
Alignment: Pro-town
Role type: Protective
Night choice: Yes
{{role
 |alias = Townie
 |alignment = Pro-town
 |type =  Other
 |night_choice =  No
 |notes = Just an ordinary citizen
}}
Role
Aliases: Townie
Alignment: Pro-town
Role type: Other
Night choice: No
Notes: Just an ordinary citizen