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 1: Line 1:
<includeonly>{{#ifeq:{{{Setup|}}}{{{Version|x}}}|{{PAGENAME}}{{{Version_Check|x}}}|{{SetupHistory/Converter
<includeonly>{{#ifeq:{{{Setup|}}}{{{Version|x}}}|{{PAGENAME}}{{{Version_Check|}}}|{{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|}}}
}}|{{#ifeq:{{{Setup|}}}{{{Version|}}}|{{PAGENAME}}{{{Version_Check|y}}}|{{SetupHistory/Converter
}}|<div style="line-height:0"></div>}} {{#ifeq:{{PAGENAME}}|{{{Setup|}}}/Stats|{{#switch:{{{Result|}}}
|Thread_ID={{{Thread_ID|}}}
|GameType_&_ID={{{GameType_&_ID|}}}
|Name={{{Name|}}}
|Result={{{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:07, 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.