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

User:Derangement/Templates/SummaryRow: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(Created simple row template.)
 
(New parameters: icon, faction, won, lost, tied. (played and win% are calculated automatically))
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
!style="border-right:none;"|{{{1}}}
!style="border-right:none;"|{{{icon|}}}
!style="border-left:none;"|{{{2}}}
!style="border-left:none;"|{{{faction|}}}
!{{{3}}}
!{{#expr: {{{won|0}}}+{{{lost|0}}}+{{{tied|0}}} }}
!{{{4}}}
!{{#ifexpr: ({{{won|0}}}+{{{lost|0}}}+{{{tied|0}}}) = 0 | - | {{#expr: {{{won|0}}} / ({{{won|0}}}+{{{lost|0}}}+{{{tied|0}}}) }}% }}
|{{{5}}}
|{{{won|0}}}
|{{{6}}}
|{{{lost|0}}}
|{{{7}}}</includeonly><noinclude>
|{{{tied|0}}}</includeonly><noinclude>
This is a template for a single row in [[Derangement]]'s games summary table.
This is a template for a single row in [[Derangement]]'s games summary table.
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 13:13, 4 February 2015

This is a template for a single row in Derangement's games summary table.