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
mNo edit summary
(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)
Line 476: Line 476:
*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}}}">{{{3|}}} {{{4|}}}</div>'''
{{CustomRolePM
{{CustomRolePM
|Align={{{3|}}}
|Align={{#switch:{{{3}}}|Town=Town|Mafia=Mafia|Werewolf=Werewolf|Cult=Cult|{{#switch:{{{2}}}|green=Town|red=Mafia|{{{3|}}}}}}}
|Role={{{4|}}}
|Role={{{4|}}}
|Ability1={{{5|}}}
|Ability1={{{5|}}}
Line 483: Line 483:
|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]].





Revision as of 01:48, 19 May 2018

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