You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Difference between revisions of "Template:PrefixRole"

From MafiaWiki
Jump to: navigation, search
(add Lynchproof)
(+ Antisocial)
 
Line 1: Line 1:
{{#switch:{{{1}}}|Ascetic=1|Bulletproof=1|Deathproof=1|Hated=1|Informed=1|Loved=1|Lynchproof=1|Named=1|Suicidal=1|Vengeful=1|Voteless=1|}}<noinclude>{{PrefixRole/doc}}</noinclude>
+
{{#switch:{{{1}}}|Antisocial=1|Ascetic=1|Bulletproof=1|Deathproof=1|Hated=1|Informed=1|Loved=1|Lynchproof=1|Named=1|Suicidal=1|Vengeful=1|Voteless=1|}}<noinclude>{{PrefixRole/doc}}</noinclude>

Latest revision as of 11:56, 29 July 2020

Name:
  • PrefixRole
Type:
Sub-Template:
  • Yes
Designer:

The {{PrefixRole}} template is designed for use in other templates, and records roles whose names normally appear before the faction name. (This naming convention tends to apply to passive roles only, and not all passive roles.) For example:

  • "Town Miller" but "Bulletproof Townie"
  • "Mafia Neighbor" but "Informed Mafioso"

The template expands to a null string if given most roles as arguments, but will expand to 1 if given a role or modifier name that normally appears to the left of the faction name.

Vanilla is not included in this template, as it is not normally considered a role; if you need to treat Vanilla Townies separately, you'll likely have a special case for them anyway.