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" {{!}} '''Total Winnings'''
+
{{!}} class="playerinfobox-subheader" {{!}} '''{{Abbr|Total Winnings|Approx. total winnings (USD)}}'''
 
{{!}} 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}} (approx.)
 
{{!}} 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}} (approx.)
 
|}}<!--
 
|}}<!--
Line 189: Line 189:
 
! class="playerinfobox-header" colspan="2" {{!}} Team History
 
! class="playerinfobox-header" colspan="2" {{!}} Team History
 
{{!}}- style="background-color:#f5f5f5"
 
{{!}}- style="background-color:#f5f5f5"
{{!}} colspan="2" {{!}} <div style="font-size:11px; line-height:-10px; overflow: hidden; text-align:center"><div style="float:left;width:35%;text-align:left">'''Year'''</div><div style="float:left;width:30%;text-align:center;">'''Team'''</div><div style="float:right;width:35%;text-align:right">'''Winnings (USD)'''</div></div>
+
{{!}} colspan="2" {{!}} <div style="font-size:11px; line-height:-10px; overflow: hidden; text-align:center"><div style="float:left;width:25%;text-align:left">'''Year'''</div><div style="float:left;width:50%;text-align:center;">'''Team'''</div><div style="float:right;width:25%;text-align:right">'''{{Abbr|Winnings|Approx. total winnings (USD)}}'''</div></div>
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="2" {{!}} {{{team_history|}}}
 
{{!}} colspan="2" {{!}} {{{team_history|}}}

Revision as of 04:28, 11 December 2019