Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
m
m
Line 144: Line 144:
 
{{#if:{{{career_winnings|}}}|
 
{{#if:{{{career_winnings|}}}|
 
{{!}}- class="playerinfobox-info"
 
{{!}}- class="playerinfobox-info"
{{!}} class="playerinfobox-subheader" {{!}} '''{{Abbr|Total Winnings|Approx. total winnings (USD)}}'''
+
{{!}} class="playerinfobox-subheader" {{!}} '''Career Winnings'''
{{!}} class="playerinfobox-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="playerinfobox-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}}}}}}}} {{abbr|USD|United States Dollar}}
 
|}}<!--
 
|}}<!--
  

Revision as of 07:09, 11 December 2019