You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:TotalWinRatio: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 22: Line 22:
  {{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|otherwin=8|otherloss=6|otherdraw=3}}
===The Code===
===The Code===
  <pre>{{WinsAsFaction|faction=Cult|wins=16|losses=2|draws=1}}</pre></noinclude>
  <pre> {{TotalWinRatio|townwin=3|townloss=5|towndraw=0|mafiawin=12|mafialoss=3|mafiadraw=1|otherwin=8|otherloss=6|otherdraw=3}}
</pre></noinclude>

Revision as of 03:15, 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

23144 as All Alignments  56.1% Win rate

350 as Town 37.5% Win rate
1231 as Mafia 75% Win rate
863 as Other 47.06% Win rate

The Code

 {{TotalWinRatio|townwin=3|townloss=5|towndraw=0|mafiawin=12|mafialoss=3|mafiadraw=1|otherwin=8|otherloss=6|otherdraw=3}}