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

Difference between revisions of "Template:VowelStartingFragment"

From MafiaWiki
Jump to: navigation, search
("Even Day", "Odd Day" start with vowels)
(Antisocial starts with a vowel)
Line 1: Line 1:
{{#switch:{{{1}}}|Ascetic=n|Atheist=n|Informed=n|Arsonist=n|Inquisitor=n|Unlyncher=n|Unjester=n|Even Night=n|Even Day=n|Odd Night=n|Odd Day=n|}}<noinclude>{{VowelStartingFragment/doc}}</noinclude>
{{#switch:{{{1}}}|Antisocial=n|Ascetic=n|Atheist=n|Informed=n|Arsonist=n|Inquisitor=n|Unlyncher=n|Unjester=n|Even Night=n|Even Day=n|Odd Night=n|Odd Day=n|}}<noinclude>{{VowelStartingFragment/doc}}</noinclude>

Latest revision as of 11:56, 29 July 2020

  • PrefixRole
  • Yes

The {{VowelStartingFragment}} template takes one argument, a role fragment that can appear at the start of a role name. (This means that it must either be a fragment that refers to a faction/win condition, or else a role or modifier that would normally appear at the start of a role name, e.g. Ascetic or Bulletproof; see {{PrefixRole}} for more details on this. Note that all schedule modifiers, such as Even Night, can appear at the start of a role name as they could be used to modify Ascetic.) This template does not have defined behaviour if given a role fragment that cannot appear in this position.

The return value is n if the fragment in question starts with a vowel, or an empty string otherwise.