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 4: Line 4:
|Name={{{Name|}}}
|Name={{{Name|}}}
|Result={{{Result|}}}
|Result={{{Result|}}}
}}|{{#if:{{{Version_Check}}}|<div style="line-height:0"></div>|{{#ifeq:{{{Setup|}}}|{{PAGENAME}}|{{SetupHistory/Converter
}}|{{#ifeq:{{{Setup|}}}|{{PAGENAME}}|{{SetupHistory/Converter
|Thread_ID={{{Thread_ID|}}}
|Thread_ID={{{Thread_ID|}}}
|GameType_&_ID={{{GameType_&_ID|}}}
|GameType_&_ID={{{GameType_&_ID|}}}
|Name={{{Name|}}}
|Name={{{Name|}}}
|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 Win={{!}}T
|Werewolf Win
|Werewolf Win

Revision as of 13:03, 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.