You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:SetupHistory/Parser: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(22 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{Setup|}}} | <includeonly>{{#ifeq:{{{Setup|}}}{{{Version|x}}}|{{PAGENAME}}{{{Version_Check|x}}}|{{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|}}} | ||
|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> | |{{{Town|Town}}} Win={{!}}T | ||
|Town Win={{!}}T | |{{#if:{{{Mafia 2|}}}|Win|Werewolf Win}} | ||
|Werewolf Win | |||
|Vampire Win | |Vampire Win | ||
|Mafia Win={{!}}M | |{{{Mafia|Mafia}}} Win={{!}}M | ||
|Draw | |{{{Mafia 2|Mafia 2}}} Win={{!}}W | ||
| | |{{{Draw|Draw}}}={{!}}A | ||
| | |{{{Other|Other}}}={{!}}O | ||
|#default= | |||
}}|}}</includeonly><noinclude>{{Template | }}|}}</includeonly><noinclude>{{Template | ||
|Name=Setup History | |Name=Setup History |
Latest revision as of 09:55, 9 January 2016
|
The parser for the Template:SetupHistory. It allows the template to only show the history for the correct setup on that setup page.