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}}} }}
!{{#ifexpr: ({{{won|0}}}+{{{lost|0}}} = 0 | - | {{#expr: 100 * {{{won|0}}} / ({{{won|0}}}+{{{lost|0}}} round 2 }}% }}
!{{#ifexpr: ({{{won|0}}}+{{{lost|0}}}) = 0 | - | {{#expr: 100 * {{{won|0}}} / ({{{won|0}}}+{{{lost|0}}}) round 2 }}% }}
{{#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 19:56, 27 March 2019

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