You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Twinratio: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 8: | Line 8: | ||
! width="107px" | Win % | ! width="107px" | Win % | ||
|- align="center" | |- align="center" | ||
| 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}}}} | | 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}}}} | ||
|- align="center" | |- align="center" | ||
| 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}}}} | | 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}}}} | ||
|- align="center" | |- align="center" | ||
| 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}}}} | | 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}}}} | ||
|- 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.