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
m (reverted edits by 173.8.6.92 (talk|contribs); changed back to last version by Haylen)
(8MSPzR <a href="http://dbbnrjqkwihd.com/">dbbnrjqkwihd</a>, [url=http://hoeegtilhapx.com/]hoeegtilhapx[/url], [link=http://cidpwiytjfld.com/]cidpwiytjfld[/link], http://xvesiqanjcmn.com/)
Line 1: Line 1:
<noinclude>
8MSPzR <a href="http://dbbnrjqkwihd.com/">dbbnrjqkwihd</a>, [url=http://hoeegtilhapx.com/]hoeegtilhapx[/url], [link=http://cidpwiytjfld.com/]cidpwiytjfld[/link], http://xvesiqanjcmn.com/
<!-- -->
<!-- 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;"
|- align="center" style="font-size: 11pt;"
| width="200" | '''{{PAGENAME}}'''
|}
{| 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{{#if:{{{alias2|}}}|es|}}''':
| width="120" | {{#if:{{{alias|}}}|*[[{{{alias}}}]]|''<small>none</small>''}} {{#if:{{{alias2|}}}|
*[[{{{alias2}}}]]|}}{{#if:{{{alias3|}}}|
*[[{{{alias3}}}]]|}}
|-
| style="background:#EEE;" align="center" | '''Alignment''':
| {{#if:{{{align|}}}|*{{{align}}}|''<small>any</small>''}} {{#if:{{{align2|}}}|
*{{{align2}}}|}}
|-
| style="background:#EEE;" align="center" | '''Role type''':
| {{ #if:{{{type|}}}|*{{{type}}}|''<small>not defined</small>''}} {{#if:{{{type2|}}}|
*{{{type2}}}|}} {{#if:{{{type3|}}}| *{{{type3}}}|}}
|-
| style="background:#EEE;" align="center" | '''Choice''':
| {{ #if:{{{choice|}}}|*{{{choice}}}|''<small>none</small>''}} {{#if:{{{choice2|}}}|
*{{{choice2}}}|}}
|-
{{ #if:{{{notes|}}}|
{{!}} style="background:#EEE;" align="center" {{!}} '''Notes''':
{{!}} ''<small>{{{notes}}}</small>'' |}}
|}
|}
[[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}}
== 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:
*the [[alias]]es the role may have
*the [[alignment]](s) of the role
*the [[role type|type]] of the role
*the [[phase]] the role submits their choice, if any
 
== Syntax ==
<pre>
{{role
|alias=
|align=
|type=
|choice=
|notes=
}}
</pre>
 
== Parameters ==
=== {{{alias}}} ===
:'''other names commonly used for this role'''
::''roles which have more than one alias should list those aliases using the <code>{{{alias2}}}, {{{alias3}}}</code> 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 <code>{{{align2}}}</code> parameter''
 
=== {{{type}}} ===
:'''the most common attributes assigned to this role'''
::''roles which can be assigned multiple/dual 'types' should list those types using the <code>{{{type2}}}</code> 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 <code>{{{choice2}}}</code> 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 ==
{| cellpadding="5" cellspacing="5" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;" border="1"
|- style="background: #f2f2f2; text-align: center;"
! What you type
! What it looks like
|-
|
<pre>
{{role
|alias=
|align=
|type=
|choice=
|notes=
}}
</pre>
|
{{role
|alias=
|align=
|type=
|choice=
|notes=
}}
|-
|
<pre>
{{role
|alias= Seer
|align= Pro-town
|type= Informative
|choice= Night
|notes=
}}
</pre>
|
{{role
|alias= Seer
|align= Pro-town
|type= Informative
|choice= Night
|notes=
}}
|-
|
<pre>
{{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
}}
</pre>
|
{{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
}}
[[Category:Templates|Role]]
</noinclude>

Revision as of 23:01, 10 October 2010

8MSPzR <a href="http://dbbnrjqkwihd.com/">dbbnrjqkwihd</a>, [url=http://hoeegtilhapx.com/]hoeegtilhapx[/url], [link=http://cidpwiytjfld.com/]cidpwiytjfld[/link], http://xvesiqanjcmn.com/