You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:TotalWinRatio: Difference between revisions
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
===How it Looks=== | ===How it Looks=== | ||
{{TotalWinRatio | {{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}} | ||
===The Code=== | ===The Code=== | ||
<pre style='font-size:130%;font-weight:bold;'>{{TotalWinRatio | <pre style='font-size:130%;font-weight:bold;'>{{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}} | ||
</pre></noinclude> | </pre></noinclude> |
Revision as of 03:26, 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
0–Expression error: Unrecognized punctuation character "{".–0 as All Alignments — 0% Win rate
{{{townwin}}}–{{{townloss}}}–{{{towndraw}}} as Town — Expression error: Unrecognized punctuation character "{".% Win rate
{{{mafiawin}}}–{{{mafialoss}}}–{{{mafiadraw}}} as Mafia — Expression error: Unrecognized punctuation character "{".% Win rate
{{{cultwin}}}–{{{cultloss}}}–{{{cultdraw}}} as Cult — Expression error: Unrecognized punctuation character "{".% Win rate
{{{skwin}}}–{{{skloss}}}–{{{skdraw}}} as SK — Expression error: Unrecognized punctuation character "{".% Win rate
{{{otherwin}}}–{{{otherloss}}}–{{{otherdraw}}} as Other — Expression error: Unrecognized punctuation character "{".% 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}}