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

User:RAS/Templates/SummaryRow: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
}}
}}
!{{#expr: {{{won|0}}}+{{{lost|0}}} }}
!{{#expr: {{{won|0}}}+{{{lost|0}}} }}
!{{round{{#ifexpr: ({{{won|0}}}+{{{lost|0}}}) = 0 | - | {{#expr: 100 * {{{won|0}}} / ({{{won|0}}}+{{{lost|0}}})}}}}|2}}
!{{#ifexpr: ({{{won|0}}}+{{{lost|0}}}) = 0 | - | {{#expr: 100 * {{{won|0}}} / ({{{won|0}}}+{{{lost|0}}})}}}}
{{#ifeq: {{{faction|total}}} | total | ! | {{!}} }}{{{won|0}}}
{{#ifeq: {{{faction|total}}} | total | ! | {{!}} }}{{{won|0}}}
{{#ifeq: {{{faction|total}}} | total | ! | {{!}} }}{{{lost|0}}}
{{#ifeq: {{{faction|total}}} | total | ! | {{!}} }}{{{lost|0}}}

Revision as of 07:14, 3 June 2019

This is an edited template from Derangement for a single row in RAS's games summary table.