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

Template:VowelStartingFragment: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(add in schedule modifiers and Theme roles too)
("Even Day", "Odd Day" start with vowels)
Line 1: Line 1:
{{#switch:{{{1}}}|Ascetic=n|Atheist=n|Informed=n|Arsonist=n|Inquisitor=n|Unlyncher=n|Unjester=n|Even Night=n|Odd Night=n|}}<noinclude>{{VowelStartingFragment/doc}}</noinclude>
{{#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>

Revision as of 05:35, 24 June 2019

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

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.