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 30: | Line 30: | ||
|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}} | {{TotalWinRatio | ||
|townwin=3 | |||
|townloss=5 | |||
|towndraw=0 | |||
|mafiawin=12 | |||
|mafialoss=3 | |||
|mafiadraw=1 | |||
|skawin=12 | |||
|skloss=3 | |||
|skdraw=1 | |||
|cultwin=12 | |||
|cultloss=3 | |||
|cultdraw=1 | |||
|otherwin=8 | |||
|otherloss=6 | |||
|otherdraw=3}} | |||
===The Code=== | ===The Code=== | ||
<pre style='font-size:130%;font-weight:bold;'> {{TotalWinRatio|townwin=3|townloss=5|towndraw=0|mafiawin=12|mafialoss=3|mafiadraw=1|otherwin=8|otherloss=6|otherdraw=3}} | <pre style='font-size:130%;font-weight:bold;'> {{TotalWinRatio | ||
|townwin=3 | |||
|townloss=5 | |||
|towndraw=0 | |||
|mafiawin=12 | |||
|mafialoss=3 | |||
|mafiadraw=1 | |||
|skawin=12 | |||
|skloss=3 | |||
|skdraw=1 | |||
|cultwin=12 | |||
|cultloss=3 | |||
|cultdraw=1 | |||
|otherwin=8 | |||
|otherloss=6 | |||
|otherdraw=3}} | |||
</pre></noinclude> | </pre></noinclude> |
Revision as of 03:22, 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
35–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
{{{skwin}}}–3–1 as SK — Expression error: Unrecognized punctuation character "{".% Win rate
8–6–3 as Other — 47.06% Win rate
The Code
{{TotalWinRatio |townwin=3 |townloss=5 |towndraw=0 |mafiawin=12 |mafialoss=3 |mafiadraw=1 |skawin=12 |skloss=3 |skdraw=1 |cultwin=12 |cultloss=3 |cultdraw=1 |otherwin=8 |otherloss=6 |otherdraw=3}}