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

Template:Winratiofaction

From MafiaWiki
Revision as of 14:31, 6 April 2012 by Tierce (talk | contribs) (escaping dividing by zero)
Jump to navigation Jump to search

Summary

This template generates win-loss-draw records.

Syntax

{{winratiofaction
|faction=
|win=
|loss=
|draw=}}

Parameters

faction

Town, Mafia, Anything Else. Defaults to Total.

win

Number of games won.

loss

Number of games lost.

draw

Number of games drawn.

Example

2-1-3 (Mafia - {{#ifeq: 2 | 0 | 0 | 66.67)%)