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
m (Deleted stray newline.)
m (More newlines nixed.)
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
{{#ifeq: {{{faction|total}}} | total | | !style="border-right:none;"{{!}}{{{icon|}}} }}
{{#ifeq: {{{faction|total}}} | total | |
{{#ifeq: {{{faction|total}}} | total | | !style="border-left:none;"{{!}}{{{faction|}}} }}
!style="border-right:none;"{{!}}{{{icon|}}}
!style="border-left:none;"{{!}}{{{faction|}}}
}}
!{{#expr: {{{won|0}}}+{{{lost|0}}}+{{{tied|0}}} }}
!{{#expr: {{{won|0}}}+{{{lost|0}}}+{{{tied|0}}} }}
!{{#ifexpr: ({{{won|0}}}+{{{lost|0}}}+{{{tied|0}}}) = 0 | - | {{#expr: {{{won|0}}} / ({{{won|0}}}+{{{lost|0}}}+{{{tied|0}}}) }}% }}
!{{#ifexpr: ({{{won|0}}}+{{{lost|0}}}+{{{tied|0}}}) = 0 | - | {{#expr: {{{won|0}}} / ({{{won|0}}}+{{{lost|0}}}+{{{tied|0}}}) }}% }}
Line 7: Line 9:
{{#ifeq: {{{faction|total}}} | total | ! | {{!}} }}{{{lost|0}}}
{{#ifeq: {{{faction|total}}} | total | ! | {{!}} }}{{{lost|0}}}
{{#ifeq: {{{faction|total}}} | total | ! | {{!}} }}{{{tied|0}}}
{{#ifeq: {{{faction|total}}} | total | ! | {{!}} }}{{{tied|0}}}
{{#ifeq: {{{faction|total}}} | total | | !style="border-right:none;"{{!}}{{{icon|}}} }}
{{#ifeq: {{{faction|total}}} | total | |
{{#ifeq: {{{faction|total}}} | total | | !style="border-left:none;"{{!}}{{{faction|}}} }}
!style="border-right:none;"{{!}}{{{icon|}}}
!style="border-left:none;"{{!}}{{{faction|}}}
}}
{{#ifeq: {{{faction|total}}} | total | ! | {{!}} }}{{{survived|0}}}
{{#ifeq: {{{faction|total}}} | total | ! | {{!}} }}{{{survived|0}}}
{{#ifeq: {{{faction|total}}} | total | ! | {{!}} }}{{{lynched|0}}}
{{#ifeq: {{{faction|total}}} | total | ! | {{!}} }}{{{lynched|0}}}
{{#ifeq: {{{faction|total}}} | total | ! | {{!}} }}{{{killed|0}}}
{{#ifeq: {{{faction|total}}} | total | ! | {{!}} }}{{{killed|0}}}</includeonly><noinclude>
</includeonly><noinclude>
This is a template for a single row in [[Derangement]]'s [[User:Derangement/Templates/SummaryTable|games summary table]].
This is a template for a single row in [[Derangement]]'s [[User:Derangement/Templates/SummaryTable|games summary table]].
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 14:01, 4 February 2015

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