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
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{|class="wikitable" style="width:500px; float: left; margin-bottom: 5px; border:solid #AAA 1px;"
<includeonly>{|class="wikitable" style="width:642px; margin-bottom: 5px; border:solid #AAA 1px; background-color: #FFFFFF; text-align: center;"
|- align="center"
|-
! width="85px" | Faction
! width="16.667%" | Faction
! width="85px" | Count
! width="16.667%" | Count
! width="84px" | Win
! width="16.667%" | Win
! width="83px" | Loss
! width="16.667%" | Loss
! width="82px" | Draw
! width="16.667%" | Draw
! width="81px" | Win %
! width="16.667%" | Win %
|- 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 || {{#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"
|-
| 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 || {{#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"
|-
| 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 || {{#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"
|-
! 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|{{PAGENAME}}]]</noinclude>

Latest revision as of 09:04, 7 May 2013

Produces a table of win ratios.