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
No edit summary
No edit summary
Line 22: Line 22:
| style="background:#EEE;" align="center" | '''Role type''':  
| style="background:#EEE;" align="center" | '''Role type''':  
| {{ #if:{{{type|}}}|*{{{type}}}|''<small>not defined</small>''}} {{#if:{{{type2|}}}|
| {{ #if:{{{type|}}}|*{{{type}}}|''<small>not defined</small>''}} {{#if:{{{type2|}}}|
*{{{type2}}}|}} {{#if:{{{type3|}}}| *{{{type3}}}|}}
*{{{type2}}}|}} {{#if:{{{type3|}}}| *{{{type3}}}|}} {{#if:{{{type4|}}}| *{{{type4}}}|}}
|-
|-
| style="background:#EEE;" align="center" | '''Choice''':  
| style="background:#EEE;" align="center" | '''Choice''':  
Line 33: Line 33:
|}  
|}  
|}
|}
[[Category: Roles|{{PAGENAME}}]] <!--  {{#if:{{{align|}}}|[[Category: {{{align|}}} roles]] }}{{#if:{{{align2|}}}|[[Category: {{{align2|}}} roles]] }} -->  {{#if:{{{type|}}}|[[Category: {{{type|}}} roles]] }}{{#if:{{{type2|}}}|[[Category: {{{type2|}}} roles]] }}{{#if:{{{type3|}}}|[[Category: {{{type3|}}} roles]] }}</includeonly><noinclude>{{TOCright}}
[[Category: Roles|{{PAGENAME}}]] <!--  {{#if:{{{align|}}}|[[Category: {{{align|}}} roles]] }}{{#if:{{{align2|}}}|[[Category: {{{align2|}}} roles]] }} -->  {{#if:{{{type|}}}|[[Category: {{{type|}}} roles]] }}{{#if:{{{type2|}}}|[[Category: {{{type2|}}} roles]] }}{{#if:{{{type3|}}}|[[Category: {{{type3|}}} roles]] }}{{#if:{{{type4|}}}|[[Category: {{{type4|}}} roles]] }}</includeonly><noinclude>{{TOCright}}
== Summary ==
== Summary ==
This [[:Category:Templates|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:  
This [[:Category:Templates|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:  

Revision as of 21:14, 22 July 2011


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}}}, {{{align3}}} parameter(s)

{{{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= 
|align= 
|type= 
|choice= 
|notes= 
}}
Role
Alias: none
Alignment: any
Role type: not defined
Choice: none
{{role
|alias= Seer
|align= Pro-town
|type= Informative
|choice= Night
|notes= 
}}
Role
Alias:
  • Seer
Alignment:
Role type:
  • Informative
Choice:
  • Night
{{role
|alias= Archangel
|alias2= Sorceror
|align= Pro-town
|align2= Anti-town
|type=  Protective
|type2= Informative
|type3= Killing
|choice= Night
|choice2= Day
|notes= this is an example of notes
}}
Role
Aliases:
  • Archangel
  • Sorceror
Alignment:
Role type:
  • Protective
  • Informative
  • Killing
Choice:
  • Night
  • Day
Notes: this is an example of notes