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:
<includeonly>{{#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}}%|}}</includeonly><noinclude>{{Template
<includeonly>{{#ifeq:{{{Type|}}}|Total|{{#expr:{{#if:{{{1|}}}|1|}}{{#if:{{{2|}}}|+1|}}{{#if:{{{3|}}}|+1|}}{{#if:{{{4|}}}|+1|}}{{#if:{{{5|}}}|+1|}}{{#if:{{{6|}}}|+1|}}{{#if:{{{7|}}}|+1|}}{{#if:{{{8|}}}|+1|}}{{#if:{{{9|}}}|+1|}}{{#if:{{{10|}}}|+1|}}}}|}}{{#ifeq:{{{Type|}}}|Stats|{{#expr:0{{#expr:{{#ifeq:{{{1|}}}|{{{Team}}}|+1|}}{{#ifeq:{{{2|}}}|{{{Team}}}|+1|}}}}/{{#expr:{{#if:{{{1|}}}|1|}}{{#if:{{{2|}}}|+1|}}}}*100}}%|}}</includeonly><noinclude>{{Template
|Name={{PAGENAME}}
|Name={{PAGENAME}}
|Type=Utility
|Type=Utility

Revision as of 11:41, 30 January 2015

Name:
  • SetupHistory/StatsSub
Type:
Sub-Template:
  • Yes
Designer:

This template is used to display stats for setup pages, see Template:SetupHistory for instructions on usage.