You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:SetupHistory/StatsSub: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{#ifeq:{{{Type|}}}|Total|{{#expr:{{#if:{{{1|}}}|1|}}{{#if:{{{2|}}}|+1|}}}}|}}{{#ifeq:{{{Type|}}}|Stats|{{#expr:{{#expr:{{#ifeq:{{{1|}}}|{{{Team}}}|1|}}{{#ifeq:{{{2|}}}|{{{Team}}}|+1|}}}}/{{#expr:{{#if:{{{1|}}}|1|}}{{#if:{{{2|}}}|+1|}}}}*100}}%|}}
{{#ifeq:{{{Type|}}}|Total|{{#expr:{{#if:{{{1|}}}|1|}}{{#if:{{{2|}}}|+1|}}}}|}}{{#ifeq:{{{Type|}}}|Stats|{{#expr:0{{#expr:{{#ifeq:{{{1|}}}|{{{Team}}}|+1|}}{{#ifeq:{{{2|}}}|{{{Team}}}|+1|}}}}/{{#expr:{{#if:{{{1|}}}|1|}}{{#if:{{{2|}}}|+1|}}}}*100}}%|}}

Revision as of 10:54, 30 January 2015