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
m (Undo revision 82768 by Tierce (talk|contribs))
Line 8: Line 8:
! width="107px" | Win %
! width="107px" | Win %
|- align="center"
|- align="center"
| Town || {{percentage|{{#expr: ({{{townwin|0}}}+{{{townloss|0}}}+{{{towndraw|0}}})}}|{{#expr: ({{{townwin|0}}}+{{{townloss|0}}}+{{{towndraw|0}}}+{{{mafiawin|0}}}+{{{mafialoss|0}}}+{{{mafiadraw|0}}}+{{{otherwin|0}}}+{{{otherloss|0}}}+{{{otherdraw|0}}})}}|2}} || {{{townwin|0}}} || {{{townloss|0}}} || {{{towndraw|0}}} || {{#ifeq: {{{townwin|0}}} | 0 | 0 | {{#expr: (({{{townwin|0}}}/({{{townwin|0}}}+{{{townloss|0}}}))*100)round1}}}}
| Town || {{#expr: ({{{townwin|0}}}+{{{townloss|0}}}+{{{towndraw|0}}})}} || {{{townwin|0}}} || {{{townloss|0}}} || {{{towndraw|0}}} || {{#ifeq: {{{townwin|0}}} | 0 | 0 | {{#expr: (({{{townwin|0}}}/({{{townwin|0}}}+{{{townloss|0}}}))*100)round1}}}}
|- align="center"
|- align="center"
| Mafia || {{percentage|{{#expr: ({{{mafiawin|0}}}+{{{mafialoss|0}}}+{{{mafiadraw|0}}})}}|{{#expr: ({{{townwin|0}}}+{{{townloss|0}}}+{{{towndraw|0}}}+{{{mafiawin|0}}}+{{{mafialoss|0}}}+{{{mafiadraw|0}}}+{{{otherwin|0}}}+{{{otherloss|0}}}+{{{otherdraw|0}}})}}|2}} || {{{mafiawin|0}}} || {{{mafialoss|0}}} || {{{mafiadraw|0}}} || {{#ifeq: {{{mafiawin|0}}} | 0 | 0 | {{#expr: (({{{mafiawin|0}}}/({{{mafiawin|0}}}+{{{mafialoss|0}}}))*100)round1}}}}
| Mafia || {{#expr: ({{{mafiawin|0}}}+{{{mafialoss|0}}}+{{{mafiadraw|0}}})}} || {{{mafiawin|0}}} || {{{mafialoss|0}}} || {{{mafiadraw|0}}} || {{#ifeq: {{{mafiawin|0}}} | 0 | 0 | {{#expr: (({{{mafiawin|0}}}/({{{mafiawin|0}}}+{{{mafialoss|0}}}))*100)round1}}}}
|- align="center"
|- align="center"
| Other || {{percentage|{{#expr: ({{{otherwin|0}}}+{{{otherloss|0}}}+{{{otherdraw|0}}})}}|{{#expr: ({{{townwin|0}}}+{{{townloss|0}}}+{{{towndraw|0}}}+{{{mafiawin|0}}}+{{{mafialoss|0}}}+{{{mafiadraw|0}}}+{{{otherwin|0}}}+{{{otherloss|0}}}+{{{otherdraw|0}}})}}|2}} || {{{otherwin|0}}} || {{{otherloss|0}}} || {{{otherdraw|0}}} || {{#ifeq: {{{otherwin|0}}} | 0 | 0 | {{#expr: (({{{otherwin|0}}}/({{{otherwin|0}}}+{{{otherloss|0}}}))*100)round1}}}}
| Other || {{#expr: ({{{otherwin|0}}}+{{{otherloss|0}}}+{{{otherdraw|0}}})}} || {{{otherwin|0}}} || {{{otherloss|0}}} || {{{otherdraw|0}}} || {{#ifeq: {{{otherwin|0}}} | 0 | 0 | {{#expr: (({{{otherwin|0}}}/({{{otherwin|0}}}+{{{otherloss|0}}}))*100)round1}}}}
|- 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}}}}

Revision as of 04:43, 21 August 2012

Produces a table of win ratios.