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 1: Line 1:
<noinclude>
<includeonly>{| 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;"
<!--  -->
<!-- note: when editing the role template, be sure to edit any major changes into the examples -->
<!--  -->
</noinclude><includeonly>{| 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;"  
{| style="background:{{{color|#EEE}}}; border:#AAA solid 1px; margin: 0px 0px 5px 5px;"  
|- align="center" style="font-size: 11pt;"
|- align="center" style="font-size: 11pt;"
| width="200" | '''{{PAGENAME}}'''  
| width="200" | {{#if:{{{image|}}}|[[File:{{{image}}}|190px]]<br/>|}}'''{{PAGENAME}}'''
|}
|}
{| cellpadding="2" cellspacing="2" style="border:#AAA solid 1px; width: 200px; text-align: left; font-size: 8pt; margin: 0px 0px 5px 5px;"
{| cellpadding="2" cellspacing="2" style="border:#AAA solid 1px; width: 200px; text-align: left; font-size: 8pt; margin: 0px 0px 5px 5px;"
Line 44: Line 40:
<pre>
<pre>
{{role
{{role
|image=
|alias=  
|alias=  
|align=  
|align=  
|color=
|type=  
|type=  
|choice=  
|choice=  
Line 53: Line 51:


== Parameters ==
== Parameters ==
=== {{{image}}} ===
:'''the image for this role'''
::''note: this parameter is optional''
=== {{{color}}} ===
:'''the background color for this role'''
::''note: this parameter is not finalized. Current usage is #DFD for town, #FDD for mafia, #EBE0D6 for werewolf, #FDF for purple and #FEC for orange.
=== {{{alias}}} ===
=== {{{alias}}} ===
:'''other names commonly used for this role'''
:'''other names commonly used for this role'''
Line 81: Line 87:
|
|
<pre>
<pre>
{{role
{{role/sandbox
|image=
|alias=  
|alias=  
|align=  
|align=  
Line 90: Line 97:
</pre>
</pre>
|
|
{{role
{{role/sandbox
|image=
|alias=  
|alias=  
|align=  
|align=  
Line 100: Line 108:
|
|
<pre>
<pre>
{{role
{{role/sandbox
|image= T-vanilla.png
|alias= Seer
|alias= Seer
|align= Pro-town
|align= Pro-town
Line 109: Line 118:
</pre>
</pre>
|
|
{{role
{{role/sandbox
|image= T-vanilla.png
|alias= Seer
|alias= Seer
|align= Pro-town
|align= Pro-town
Line 119: Line 129:
|
|
<pre>
<pre>
{{role
{{role/sandbox
|image= T-vanilla.png
|color= #DFD
|alias= Archangel
|alias= Archangel
|alias2= Sorceror
|alias2= Sorceror
Line 133: Line 145:
</pre>
</pre>
|
|
{{role
{{role/sandbox
|image= T-vanilla.png
|color= #DFD
|alias= Archangel
|alias= Archangel
|alias2= Sorceror
|alias2= Sorceror
Line 145: Line 159:
|notes= this is an example of notes
|notes= this is an example of notes
}}
}}
[[Category:Templates|Role]]
</noinclude>
</noinclude>

Revision as of 02:03, 30 October 2014

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
|image=
|alias= 
|align= 
|color=
|type= 
|choice= 
|notes= 
}}

Parameters

{{{image}}}

the image for this role
note: this parameter is optional

{{{color}}}

the background color for this role
note: this parameter is not finalized. Current usage is #DFD for town, #FDD for mafia, #EBE0D6 for werewolf, #FDF for purple and #FEC for orange.

{{{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/sandbox
|image=
|alias= 
|align= 
|type= 
|choice= 
|notes= 
}}
Role
Alias: none
Faction: any
Role type: not defined
Choice: none
{{role/sandbox
|image= T-vanilla.png
|alias= Seer
|align= Pro-town
|type= Informative
|choice= Night
|notes= 
}}
Role
T-vanilla.png
Alias:
  • Seer
Faction: File:Faction Pro-town.png Pro-town
Role type: Role Informative.png Informative
Choice: Time Night.png Night
{{role/sandbox
|image= T-vanilla.png
|color= #DFD
|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
T-vanilla.png
Aliases:
  • Archangel
  • Sorceror
Factions: File:Faction Pro-town.png Pro-town
File:Faction Anti-town.png Anti-town
Role types: Role Protective.png Protective
Role Informative.png Informative
Role Killing.png Killing
Choices: Time Night.png Night
Time Day.png Day
Notes: this is an example of notes