You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Role/doc: Difference between revisions
Jump to navigation
Jump to search
(move the docs to {{role}} to their own page, so that they can be edited without causing a lot of recalculation at the server end of things) |
TemporalLich (talk | contribs) No edit summary |
||
Line 19: | Line 19: | ||
|type= | |type= | ||
|choice= | |choice= | ||
|status= | |||
|notes= | |notes= | ||
}} | }} | ||
Line 51: | Line 52: | ||
:'''the [[phase]] the role commonly submits their [[action]], if any''' | :'''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'' | ::''roles which can submit their action in multiple/dual phases should list those phases using the <code>{{{choice2}}}</code> parameter'' | ||
=== {{{status}}} === | |||
:'''what normalcy or notability status a role has.''' | |||
::''this should be filled in via <nowiki>{{RolePage}}</nowiki> to add the relevant categories.'' | |||
=== {{{notes}}} === | === {{{notes}}} === |
Latest revision as of 21:20, 28 March 2024
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
If writing a page about a new role, consider using {{RolePage}}, to generate the entire page rather than just the infobox.
Syntax
{{role |name_override= |image= |alias= |align= |color= |type= |choice= |status= |notes= }}
Parameters
{{{name_override}}}
- the name of the role, if it differs from the page name
- note: this parameter is optional
{{{image}}}
- the image for this role
- note: this parameter is optional
{{{color}}}
- the background color for this role
- note: this parameter is not finalized. Accepts either a hex code or use one of the following: {{rgb|town}}, {{rgb|mafia}}, {{rgb|werewolf}}, {{rgb|cult}}, {{rgb|self}}.
{{{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)
- roles which have more than one alias should list those aliases using the
{{{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)
- roles which can be used in more than one faction should list those factions using the
{{{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
- roles which can be assigned multiple/dual 'types' should list those types using the
{{{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
- roles which can submit their action in multiple/dual phases should list those phases using the
{{{status}}}
- what normalcy or notability status a role has.
- this should be filled in via {{RolePage}} to add the relevant categories.
{{{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
{{{via_rolepage}}}
- should be omitted entirely when {{role}} is used directly; used by {{RolePage}} to track the usage of role templates
{{{demopage}}}
- should normally be omitted; setting to
Template:Role
suppresses all categories- this parameter is used to prevent the template generating categories on things that are not rolepages, e.g. the examples on this page use {{role}} but shouldn't put the page into the role categories as a consequence