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

Template:RolePM: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(SetupPage doesn't have the alignment/wincon split; thus, if a custom wincon is used, attempt to deduce the alignment from the role color rather than trying to fit it into the role name)
(fix condemner)
 
(8 intermediate revisions by 3 users not shown)
Line 4: Line 4:
|Role=Vanilla Townie
|Role=Vanilla Townie
|Ability1={{Ability |Vanilla}}
|Ability1={{Ability |Vanilla}}
|WinCon=Town}}|}}{{#ifeq:{{{1|}}}|TVisitor|'''<div style="color:green">Town Visitor</div>'''
{{CustomRolePM
|Align=Town
|Role=Visitor
|Ability1={{Ability |Visitor |Night}}
|WinCon=Town}}|}}{{#ifeq:{{{1|}}}|TFruitvendor|'''<div style="color:green">Town Fruit Vendor</div>'''
{{CustomRolePM
|Align=Town
|Role=Fruit Vendor
|Ability1={{Ability |FruitVendor |Night}}
|WinCon=Town}}|}}{{#ifeq:{{{1|}}}|THider|'''<div style="color:green">Town Hider</div>'''
{{CustomRolePM
|Align=Town
|Role=Hider
|Ability1={{Ability |Hider2 |Night}}
|WinCon=Town}}|}}{{#ifeq:{{{1|}}}|TBulletproof|'''<div style="color:green">Town Bulletproof</div>'''
|WinCon=Town}}|}}{{#ifeq:{{{1|}}}|TBulletproof|'''<div style="color:green">Town Bulletproof</div>'''
{{CustomRolePM
{{CustomRolePM
Line 454: Line 469:
|Role=Lyncher
|Role=Lyncher
|Ability1={{Ability |Vanilla}}
|Ability1={{Ability |Vanilla}}
|WinCon=Lyncher}}|}} {{#ifeq:{{{1|}}}|Serial Killer|'''<div style="color:purple">Serial Killer</div>'''
|WinCon=Lyncher}}|}} {{#ifeq:{{{1|}}}|Condemner|'''<div style="color:purple">Condemner</div>'''
{{CustomRolePM
|Align=self-aligned
|Role=Condemner
|Ability1={{Ability |Vanilla}}
|WinCon=Condemner}}|}} {{#ifeq:{{{1|}}}|Serial Killer|'''<div style="color:purple">Serial Killer</div>'''
You are a '''Serial Killer'''
You are a '''Serial Killer'''


Line 474: Line 494:
'''Abilities:'''
'''Abilities:'''
*Once per night you may target someone, thus giving the targeted player "infected" status. A player with the "infected" status will convert into a zombie the night after they get the status, however the status is removed if they are targeted by a doctor on the night you visited them or on the night they should convert.  
*Once per night you may target someone, thus giving the targeted player "infected" status. A player with the "infected" status will convert into a zombie the night after they get the status, however the status is removed if they are targeted by a doctor on the night you visited them or on the night they should convert.  
*You die if you are targeted by a doctor or if you visit a cult member.|}} {{#ifeq:{{{1|}}}|Custom|'''<div style="color:{{{2|green}}}">{{{3|}}} {{{4|}}}</div>'''
*You die if you are targeted by a doctor or if you visit a cult member.|}} {{#ifeq:{{{1|}}}|Custom|'''<div style="color:{{{2|green}}}">{{RoleNameSpecialCase|{{#switch:{{{3}}}|Town=Town|Mafia=Mafia|Werewolf=Werewolf|Cult=Cult|{{#switch:{{{2}}}|green=Town|red=Mafia|{{{3|}}}}}}}|{{{4|}}}}}</div>'''
{{CustomRolePM
{{CustomRolePM
|Align={{#switch:{{{3}}}|Town=Town|Mafia=Mafia|Werewolf=Werewolf|Cult=Cult|{{#switch:{{{2}}}|green=Town|red=Mafia|{{{3|}}}}}}}
|Align={{#switch:{{{3}}}|Town=Town|Mafia=Mafia|Werewolf=Werewolf|Cult=Cult|{{#switch:{{{2}}}|green=Town|red=Mafia|{{{3|}}}}}}}
Line 483: Line 503:
|Ability4={{#if:{{{8|}}}|{{{8|}}}}}
|Ability4={{#if:{{{8|}}}|{{{8|}}}}}
|Ability5={{#if:{{{9|}}}|{{{9|}}}}}
|Ability5={{#if:{{{9|}}}|{{{9|}}}}}
|WinCon={{{3|}}}|}}</includeonly><noinclude>This template is for inserting wgeurt's standardized role PM's. You can find them here: [[:Category:Setup Role PM's]].
|WinCon={{{3|}}}|}}}}</includeonly><noinclude>This template is for inserting wgeurt's standardized role PM's. You can find them here: [[:Category:Setup Role PM's]].





Latest revision as of 19:45, 18 June 2021

Name:
  • RolePM
Type:
Sub-Template:
  • No
Designers:

This template is for inserting wgeurt's standardized role PM's. You can find them here: Category:Setup Role PM's.


Syntax

For existing role PM's:

{{RolePM |(Role Name)}}

For custom role PM's:

{{RolePM |Custom |(Color) |(Alignment) |(Role Name) |(Abilities)}}

For examples see: Template:RolePM/Examples