You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Winratiofaction: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{{win|0}}}-{{{loss|0}}}-{{{draw|0}}} ({{{faction|Total}}} - {{#ifeq: {{{win|0}}} | 0 | 0 | {{#expr: (({{{win|0}}}/({{{win|0}}}+{{{loss|0}}}))*100)round1}}}}%)</includeonly><noinclude> | ||
{{{win|0}}}-{{{loss|0}}}-{{{draw|0}}} ({{{faction|Total}}} - {{#ifeq: {{{win|0}}} | 0 | 0 | {{#expr: (({{{win|0}}}/({{{win|0}}}+{{{loss|0}}}))*100)round1}}}}%)</ | == Summary == | ||
<pre>{{ | This template generates win-loss-draw records. | ||
== Syntax == | |||
<pre>{{winratiofaction | |||
|faction= | |||
|win= | |||
|loss= | |||
|draw=}}</pre> | |||
== 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 == | |||
{{winratiofaction | |||
|faction=Mafia | |||
|win=2 | |||
|loss=1 | |||
|draw=3}} | |||
[[Category:Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 02:40, 30 July 2012
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 - 66.7%)