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
 
(21 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;"
! colspan="5" style="display:none;" | <h3 style="none">Outcome</h3>
|-
|- align="center" id="outcometest"
! width="16.667%" | Faction
! width="20%" | Faction
! width="16.667%" | Count
! width="20%" | Win
! width="16.667%" | Win
! width="20%" | Loss
! width="16.667%" | Loss
! width="20%" | Draw/Other
! width="16.667%" | Draw
! width="20%" | Win %
! width="16.667%" | Win %
|- align="center"
|-
| Town || {{{townwin|0}}} || {{{townloss|0}}} || {{{townother|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 || {{{mafiawin|0}}} || {{{mafialoss|0}}} || {{{mafiaother|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 || {{{otherwin|0}}} || {{{otherloss|0}}} || {{{otherother|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}}}+{{{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.