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
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
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}}}

Latest revision as of 04:00, 5 June 2019

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