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

Template:SetupHistory/Parser: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
|Result={{{Result|}}}
|Result={{{Result|}}}
}}|<div style="line-height:0"></div>}} {{#ifeq:{{PAGENAME}}|{{{Setup|}}}/Stats|{{#switch:{{{Result|}}}
}}|<div style="line-height:0"></div>}} {{#ifeq:{{PAGENAME}}|{{{Setup|}}}/Stats|{{#switch:{{{Result|}}}
|Town Win={{!}}T
|{{{Town|Town}}} Win={{!}}T
|Werewolf Win
|Werewolf Win
|Vampire Win
|Vampire Win
|Mafia Win={{!}}M
|{{{Mafia|Mafia}}} Win={{!}}M
|Draw
|{{{Mafia 2|Mafia 2}}} Win={{!}}W
|{{{Draw|Draw}}}
|Abandoned={{!}}A
|Abandoned={{!}}A
|#default={{!}}O
|#default={{!}}O

Revision as of 15:29, 30 September 2015

Name:
  • Setup History
Type:
Sub-Template:
  • Yes
Designer:

The parser for the Template:SetupHistory. It allows the template to only show the history for the correct setup on that setup page.