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

Template:Twinratio: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 15: Line 15:
|- align="center"
|- align="center"
! Total || {{#expr: ({{{townwin|0}}}+{{{townloss|0}}}+{{{towndraw|0}}}+{{{mafiawin|0}}}+{{{mafialoss|0}}}+{{{mafiadraw|0}}}+{{{otherwin|0}}}+{{{otherloss|0}}}+{{{otherdraw|0}}})}} || {{#expr: ({{{townwin|0}}}+{{{mafiawin|0}}}+{{{otherwin|0}}})}} || {{#expr: ({{{townloss|0}}}+{{{mafialoss|0}}}+{{{otherloss|0}}})}} || {{#expr: ({{{towndraw|0}}}+{{{mafiadraw|0}}}+{{{otherdraw|0}}})}} || {{#ifeq: {{#expr: ({{{townwin|0}}}+{{{mafiawin|0}}}+{{{otherwin|0}}})}} | 0 | 0 | {{#expr: (({{#expr: ({{{townwin|0}}}+{{{mafiawin|0}}}+{{{otherwin|0}}})}}/({{#expr: ({{{townwin|0}}}+{{{mafiawin|0}}}+{{{otherwin|0}}})}}+{{#expr: ({{{townloss|0}}}+{{{mafialoss|0}}}+{{{otherloss|0}}})}}))*100)round1}}}}
! Total || {{#expr: ({{{townwin|0}}}+{{{townloss|0}}}+{{{towndraw|0}}}+{{{mafiawin|0}}}+{{{mafialoss|0}}}+{{{mafiadraw|0}}}+{{{otherwin|0}}}+{{{otherloss|0}}}+{{{otherdraw|0}}})}} || {{#expr: ({{{townwin|0}}}+{{{mafiawin|0}}}+{{{otherwin|0}}})}} || {{#expr: ({{{townloss|0}}}+{{{mafialoss|0}}}+{{{otherloss|0}}})}} || {{#expr: ({{{towndraw|0}}}+{{{mafiadraw|0}}}+{{{otherdraw|0}}})}} || {{#ifeq: {{#expr: ({{{townwin|0}}}+{{{mafiawin|0}}}+{{{otherwin|0}}})}} | 0 | 0 | {{#expr: (({{#expr: ({{{townwin|0}}}+{{{mafiawin|0}}}+{{{otherwin|0}}})}}/({{#expr: ({{{townwin|0}}}+{{{mafiawin|0}}}+{{{otherwin|0}}})}}+{{#expr: ({{{townloss|0}}}+{{{mafialoss|0}}}+{{{otherloss|0}}})}}))*100)round1}}}}
|}</includeonly>
|}</includeonly><noinclude>Produces a table of win ratios.
 
[[Category:Templates]]</noinclude>

Revision as of 12:33, 11 July 2012

Produces a table of win ratios.