You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:TotalWinRatio: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{WinsAsFaction | <includeonly>{{WinsAsFaction | ||
|faction=All Games | |faction=All Games | ||
|wins={{#expr: ({{{townwins|0}}}+{{{mafiawins|0}}}+{{{cultwins|0}}}+{{{skwins|0}}}+{{{otherwins|0}}})}} | |wins= | ||
|losses={{#expr: ({{{townlosses|0}}}+{{{mafialosses|0}}}+{{{cultlosses|0}}+{{{sklosses|0}}+{{{otherlosses|0}}})}} | {{#expr: ( | ||
|draws={{#expr: ({{{towndraws|0}}}+{{{mafiadraws|0}}}+{{{cultdraws|0}}}+{{{skdraws|0}}}+{{{otherdraws|0}}})}}}}<br> | {{{townwins|0}}}+ | ||
{{{mafiawins|0}}}+ | |||
{{{cultwins|0}}}+ | |||
{{{skwins|0}}}+ | |||
{{{otherwins|0}}} | |||
)}} | |||
|losses= | |||
{{#expr: ( | |||
{{{townlosses|0}}}+ | |||
{{{mafialosses|0}}}+ | |||
{{{cultlosses|0}}+ | |||
{{{sklosses|0}}+ | |||
{{{otherlosses|0}}} | |||
)}} | |||
|draws= | |||
{{#expr: ( | |||
{{{towndraws|0}}}+ | |||
{{{mafiadraws|0}}}+ | |||
{{{cultdraws|0}}}+ | |||
{{{skdraws|0}}}+ | |||
{{{otherdraws|0}}} | |||
)}} | |||
}}<br> | |||
{{WinsAsFaction | {{WinsAsFaction | ||
|faction=Town | |faction=Town | ||
Line 24: | Line 50: | ||
|losses={{{sklosses}}} | |losses={{{sklosses}}} | ||
|draws={{{skdraws}}}}}<br> | |draws={{{skdraws}}}}}<br> | ||
{{WinsAsFaction | {{WinsAsFaction | ||
|faction=Other | |faction=Other | ||
|wins={{{otherwins}}} | |wins={{{otherwins}}} | ||
|losses={{{otherlosses}}} | |losses={{{otherlosses}}} | ||
|draws={{{otherdraws}}}}}</includeonly><noinclude>This template creates a win ratio for each faction. It is meant to be used with its child template '''[[Template:WinsAsFaction|WinsAsFaction]]'''. | |draws={{{otherdraws}}}}} | ||
</includeonly><noinclude> | |||
This template creates a win ratio for each faction. It is meant to be used with its child template '''[[Template:WinsAsFaction|WinsAsFaction]]'''. | |||
===How it Looks=== | ===How it Looks=== | ||
{{TotalWinRatio | {{TotalWinRatio |
Revision as of 03:30, 30 July 2012
This template creates a win ratio for each faction. It is meant to be used with its child template WinsAsFaction.
How it Looks
47–Expression error: Unrecognized punctuation character "{".–6 as All Alignments — Expression error: Unexpected < operator.% Win rate
3–5–0 as Town — 37.5% Win rate
12–3–1 as Mafia — 75% Win rate
12–3–1 as Cult — 75% Win rate
12–3–1 as SK — 75% Win rate
8–6–3 as Other — 47.06% Win rate
The Code
{{TotalWinRatio |townwins=3 |townlosses=5 |towndraws=0 |mafiawins=12 |mafialosses=3 |mafiadraws=1 |skwins=12 |sklosses=3 |skdraws=1 |cultwins=12 |cultlosses=3 |cultdraws=1 |otherwins=8 |otherlosses=6 |otherdraws=3}}