Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
Line 252: Line 252:
 
{{!}} class="comptf-infobox-header" {{!}} '''{{abbr|Career Winnings|Approx. total career winnings (USD)}}'''
 
{{!}} class="comptf-infobox-header" {{!}} '''{{abbr|Career Winnings|Approx. total career winnings (USD)}}'''
 
{{!}} class="comptf-infobox-body" {{!}} ${{Thousands_separator|{{#ifexpr:{{#len:{{{career_winnings|}}}}}>4|{{#expr:{{{career_winnings|}}} round -3}}|{{#ifeq:{{#len:{{{career_winnings|}}}}}|1|{{{career_winnings|}}}|{{#expr:{{{career_winnings|}}} round {{#len:{{{career_winnings|}}}}}*-1+2}}}}}}}}
 
{{!}} class="comptf-infobox-body" {{!}} ${{Thousands_separator|{{#ifexpr:{{#len:{{{career_winnings|}}}}}>4|{{#expr:{{{career_winnings|}}} round -3}}|{{#ifeq:{{#len:{{{career_winnings|}}}}}|1|{{{career_winnings|}}}|{{#expr:{{{career_winnings|}}} round {{#len:{{{career_winnings|}}}}}*-1+2}}}}}}}}
{{!}}- {{#if:{{{other_aliases|}}}|class="comptf-infobox-info"}}
+
{{!}}- {{#if:{{{other_alias|}}}|class="comptf-infobox-info"}}
 
|}}
 
|}}
 
<!--
 
<!--

Revision as of 11:30, 4 February 2020