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
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
|Name={{{Name|}}}
|Name={{{Name|}}}
|Result={{{Result|}}}
|Result={{{Result|}}}
|Mafia={{{Mafia|}}}
|Town={{{Town|}}}
|Mafia 2={{{Mafia 2|}}}
|Draw={{{Draw|}}}
}}|<div style="line-height:0"></div>}} {{#ifeq:{{PAGENAME}}{{{Version|x}}}|{{{Setup|}}}/Stats{{{Version_Check|x}}}|{{#switch:{{{Result|}}}
}}|<div style="line-height:0"></div>}} {{#ifeq:{{PAGENAME}}{{{Version|x}}}|{{{Setup|}}}/Stats{{{Version_Check|x}}}|{{#switch:{{{Result|}}}
|{{{Town|Town}}} Win={{!}}T
|{{{Town|Town}}} Win={{!}}T
Line 10: Line 14:
|{{{Mafia|Mafia}}} Win={{!}}M
|{{{Mafia|Mafia}}} Win={{!}}M
|{{{Mafia 2|Mafia 2}}} Win={{!}}W
|{{{Mafia 2|Mafia 2}}} Win={{!}}W
|{{{Draw|Draw}}} ={{!}}A
|{{{Draw|Draw}}}={{!}}A
|{{{Other|Other}}}={{!}}O
|#default=
|#default=
}}|}}</includeonly><noinclude>{{Template
}}|}}</includeonly><noinclude>{{Template

Revision as of 09:55, 9 January 2016

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.