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
(Created page with "<includeonly>'''{{WinsAsFaction |faction=All Games |wins={{#expr: ({{{townwin|0}}}+{{{mafiawin|0}}}+{{{otherwin|0}}})}} |losses={{#expr: ({{{townloss|0}}}+{{{mafialoss|0}}}+{{{ot...") |
No edit summary |
||
Line 20: | Line 20: | ||
|draws={{{otherdraw}}}}}</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={{{otherdraw}}}}}</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 | ||
| | |townwin=3 | ||
|townloss=5 | |||
| | |towndraw=0 | ||
|mafiawin=12 | |||
|mafialoss=3 | |||
|mafiadraw=1 | |||
|otherwin=8 | |||
|otherloss=6 | |||
| | |otherdraw=3}} | ||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
===The Code=== | ===The Code=== | ||
<pre>{{WinsAsFaction|faction=Cult|wins=16|losses=2|draws=1}}</pre></noinclude> | <pre>{{WinsAsFaction|faction=Cult|wins=16|losses=2|draws=1}}</pre></noinclude> |
Revision as of 03:14, 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
23–14–4 as All Alignments — 56.1% Win rate
0-0-0 (Town - 0%)
0-0-0 (Mafia - 0%)
0-0-0 (Anything Else - 0%)
The Code
{{WinsAsFaction|faction=Cult|wins=16|losses=2|draws=1}}