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:
{{#ifeq:{{{Setup|}}}|{{PAGENAME}}|{{SetupHistory/Converter
<includeonly>{{#ifeq:{{{Setup|}}}|{{PAGENAME}}|{{SetupHistory/Converter
|Thread_ID={{{Thread_ID|}}}
|Thread_ID={{{Thread_ID|}}}
|GameType_&_ID={{{GameType_&_ID|}}}
|GameType_&_ID={{{GameType_&_ID|}}}
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 Win={{!}}T
|Mafia Win=M
|Mafia Win={{!}}M
}}|}}
}}|}}</includeonly><noinclude>{{Template
|Name=Setup History
|Type=Utility
|Sub=Yes
|Designer=wgeurts
}}
The parser for the [[Template:SetupHistory]]. It allows the template to only show the history for the correct setup on that setup page.</noinclude>

Revision as of 05:46, 30 January 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.