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

Template:Rp/art/doc

From MafiaWiki
< Template:Rp/art
Revision as of 00:59, 7 June 2018 by Callforjudgement (talk | contribs) (document and test {{Rp/art}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Name:
  • Rp/art
Type:
Sub-Template:
  • Yes
Designer:


The {{Rp/art}} template takes a role string as argument, and returns a or an, whichever would be appropriate for the role name formed by the role string in question.

Examples and tests

Town
a
Mafia
a
Town/Cop
a
Town/Bulletproof
a
Mafia/Loyal/Jailkeeper
a
Mafia/Bulletproof/Jailkeeper
a
Mafia/Multitasking/Jailkeeper
a
Mafia/Ninja
a
Town/Cop/Doctor
a
Town/Bulletproof/Enabler
a
Town/Odd Night/Doctor/Enabler
a
Town/Bulletproof/Activated
a
Town/Ascetic/Bulletproof
an
Town/Ascetic/Bulletproof/Enabler
an
Town/Cop/Odd Night/Doctor
a
Town/Even Night/Cop/Odd Night/Doctor
a
Mafia/Ascetic/Multitasking/Even Night/Cop/Odd Night/Doctor
an
Town/Loud/Multitasking/Jack of All Trades/Cop/Weak/Doctor/Innocent Child/Activated
a
Serial Killer/Even Night/Ascetic/2-shot/Loud/Ninja/Weak/Rolecop/Odd Night/Doctor
an


For comparison, the role names formed from these role strings:

Town
Vanilla Townie
Mafia
Mafia Goon
Town/Cop
Town Cop
Town/Bulletproof
Bulletproof Townie
Mafia/Loyal/Jailkeeper
Mafia Loyal Jailkeeper
Mafia/Bulletproof/Jailkeeper
Bulletproof Mafia Jailkeeper
Mafia/Multitasking/Jailkeeper
Mafia Multitasking Jailkeeper
Mafia/Ninja
Mafia Ninja
Town/Cop/Doctor
Town Cop Doctor
Town/Bulletproof/Enabler
Town Bulletproof Enabler
Town/Odd Night/Doctor/Enabler
Town Odd Night Doctor Enabler
Town/Bulletproof/Activated
Town Activated Bulletproof
Town/Ascetic/Bulletproof
Ascetic Bulletproof Townie
Town/Ascetic/Bulletproof/Enabler
Ascetic Town Bulletproof Enabler
Town/Cop/Odd Night/Doctor
Town Cop Odd Night Doctor
Town/Even Night/Cop/Odd Night/Doctor
Town Even Night Cop Odd Night Doctor
Mafia/Ascetic/Multitasking/Even Night/Cop/Odd Night/Doctor
Ascetic Mafia Multitasking Even Night Cop Odd Night Doctor
Town/Loud/Multitasking/Jack of All Trades/Cop/Weak/Doctor/Innocent Child/Activated
Town Loud Multitasking Jack of All Trades Cop Weak Doctor Activated Innocent Child
Serial Killer/Even Night/Ascetic/2-shot/Loud/Ninja/Weak/Rolecop/Odd Night/Doctor
Even Night Ascetic Serial Killer 2-shot Loud Ninja Weak Rolecop Odd Night Doctor