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 4: Line 4:
!style="border-left:none;"{{!}}{{{faction|}}}
!style="border-left:none;"{{!}}{{{faction|}}}
}}
}}
!{{#expr: {{{won|0}}}+{{{lost|0}}}+{{{tied|0}}} }}
!{{#expr: {{{won|0}}}+{{{lost|0}}} }}
!{{#ifexpr: ({{{won|0}}}+{{{lost|0}}}+{{{tied|0}}}) = 0 | - | {{#expr: 100 * {{{won|0}}} / ({{{won|0}}}+{{{lost|0}}}+{{{tied|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}}}
{{#ifeq: {{{faction|total}}} | total | ! | {{!}} }}{{{tied|0}}}
{{#ifeq: {{{faction|total}}} | total | |
{{#ifeq: {{{faction|total}}} | total | |
!style="border-right:none;"{{!}}{{{icon|}}}
!style="border-right:none;"{{!}}{{{icon|}}}

Revision as of 19:55, 27 March 2019

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