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
(trying to fix broken notes section)
Line 16: Line 16:
|-
|-
| style="background:#EEE;" align="center" | '''Alignment''':  
| style="background:#EEE;" align="center" | '''Alignment''':  
| {{#if:{{{align|}}}|*{{{align}}}|''<small>none</small>''}} {{#if:{{{align2|}}}|
| {{#if:{{{align|}}}|*{{{align}}}|''<small>any</small>''}} {{#if:{{{align2|}}}|
*{{{align2}}}|}}
*{{{align2}}}|}}
|-
|-
| style="background:#EEE;" align="center" | '''Role type''':  
| style="background:#EEE;" align="center" | '''Role type''':  
| {{ #if:{{{type|}}}|*{{{type}}}|''<small>none</small>''}} {{#if:{{{type2|}}}|
| {{ #if:{{{type|}}}|*{{{type}}}|''<small>not defined</small>''}} {{#if:{{{type2|}}}|
*{{{type2}}}|}}
*{{{type2}}}|}}
|-
|-
Line 26: Line 26:
| {{ #if:{{{choice|}}}|*{{{choice}}}|''<small>none</small>''}} {{#if:{{{choice2|}}}|
| {{ #if:{{{choice|}}}|*{{{choice}}}|''<small>none</small>''}} {{#if:{{{choice2|}}}|
*{{{choice2}}}|}}
*{{{choice2}}}|}}
{{#if:{{{notes|}}}|  
{{#if:{{{notes|}}}|{{!}}-
{{!}}-
{{!}} style="background:#EEE;" align="center" {{!}} '''Notes''':
{{!}} style="background:#EEE;" align="center" {{!}} '''Notes''':
{{!}} ''<small>{{{notes}}}</small>''|}}
{{!}} ''<small>{{{notes}}}</small>''|}}
Line 54: Line 53:
=== {{{alias}}} ===
=== {{{alias}}} ===
:'''other names commonly used for this role'''
:'''other names commonly used for this role'''
::''roles which have more than one alias should list those aliases using the <code>{{{alias2}}}</code> parameter''
::''roles which have more than one alias should list those aliases using the <code>{{{alias2}}}, {{{alias3}}}</code> parameter(s)''


=== {{{align}}} ===
=== {{{align}}} ===
Line 81: Line 80:
<pre>
<pre>
{{role
{{role
|alias=  
|alias= Seer
|align=  
|align= Pro-town
|type=  
|type= Investigative
|choice=  
|choice= Night
|notes=  
|notes=  
}}
}}
</pre>
</pre>
|
|
{{role
|alias=
|align=
|type=
|choice=
|notes=
}}
|-
|
<pre>
{{role
{{role
|alias= Seer
|alias= Seer
Line 106: Line 95:
|notes=  
|notes=  
}}
}}
</pre>
|
{| cellpadding="0" cellspacing="0" style="clear:right; float:right; margin:0px 5px 5px 5px; padding:5px 5px 0px 0px; width:200px; border:#AAA solid 1px; background-color: #FFF;"
|
{| style="background:#EEE; border:#AAA solid 1px; margin: 0px 0px 5px 5px;"
|- align="center" style="font-size: 11pt;"
| width="200" | '''Cop'''
|}
{| cellpadding="2" cellspacing="2" style="border:#AAA solid 1px; width: 200px; text-align: left; font-size: 8pt; margin: 0px 0px 5px 5px;"
| style="background:#EEE;" align="center" width="080" | '''Alias''':
| width="120" |
*[[Seer]]
|-
| style="background:#EEE;" align="center" | '''Alignment''':
|
*Pro-town
|-
| style="background:#EEE;" align="center" | '''Role type''':
|
*Investigative
|-
| style="background:#EEE;" align="center" | '''Choice''':
|
*Night
|}
|}
|-
|-
|
|
Line 148: Line 111:
</pre>
</pre>
|
|
{| cellpadding="0" cellspacing="0" style="clear:right; float:right; margin:0px 5px 5px 5px; padding:5px 5px 0px 0px; width:200px; border:#AAA solid 1px; background-color: #FFF;"
{{role
|
|alias= Archangel
{| style="background:#EEE; border:#AAA solid 1px; margin: 0px 0px 5px 5px;"
|alias2= Sorceror
|- align="center" style="font-size: 11pt;"
|align= Pro-town
| width="200" | '''Doctor'''
|align2= Anti-town
|}
|type=  Protective
{| cellpadding="2" cellspacing="2" style="border:#AAA solid 1px; width: 200px; text-align: left; font-size: 8pt; margin: 0px 0px 5px 5px;"
|type2= Informative
| style="background:#EEE;" align="center" width="080" | '''Alias''':
|choice= Night
| width="120" |
|choice2= Day
*[[Archangel]]
|notes= this is an example of notes
*[[Sorceror]]
}}
|-
| style="background:#EEE;" align="center" | '''Alignment''':
|
*Pro-town
*Anti-town
|-
| style="background:#EEE;" align="center" | '''Role type''':
|
*Protective
*Informative
|-
| style="background:#EEE;" align="center" | '''Choice''':
|
*Night
*Day
|-
| style="background:#EEE;" align="center" | '''Notes''':
| ''<small>this is an example of notes</small>''
|}  
|}
|}
[[Category:Templates|Role]]
[[Category:Templates|Role]]
</noinclude>
</noinclude>

Revision as of 14:33, 26 January 2009


Summary

This template is used to place a box on the right side of role pages with information pertaining to the role. The box displays the following information:

  • the aliases the role may have
  • the alignment(s) of the role
  • the type of the role
  • the phase the role submits their choice, if any

Syntax

{{role
|alias= 
|align= 
|type= 
|choice= 
|notes= 
}}

Parameters

{{{alias}}}

other names commonly used for this role
roles which have more than one alias should list those aliases using the {{{alias2}}}, {{{alias3}}} parameter(s)

{{{align}}}

the faction in which this role is commonly used
roles which can be used in more than one faction should list those factions using the {{{align2}}} parameter

{{{type}}}

the most common attributes assigned to this role
roles which can be assigned multiple/dual 'types' should list those types using the {{{type2}}} parameter

{{{choice}}}

the phase the role commonly submits their action, if any
roles which can submit their action in multiple/dual phases should list those phases using the {{{choice2}}} parameter

{{{notes}}}

this parameter can be used to note anything else that is key to the role which is not covered in the previous parameters
note: this parameter is optional, and should only be used if necessary; the notes section is not used to describe the role, as this information should be included in the wiki page

Examples

What you type What it looks like
{{role
|alias= Seer
|align= Pro-town
|type= Investigative
|choice= Night
|notes= 
}}
Role
Alias:
Alignment:
  • Pro-town
Role type:
  • Investigative
Choice:
  • Night
{{role
|alias= Archangel
|alias2= Sorceror
|align= Pro-town
|align2= Anti-town
|type=  Protective
|type2= Informative
|choice= Night
|choice2= Day
|notes= this is an example of notes
}}
Role
Aliases:
Alignment:
  • Pro-town
  • Anti-town
Role type:
  • Protective
  • Informative
Choice:
  • Night
  • Day
Notes: this is an example of notes