Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
m
m
Line 46: Line 46:
 
{{!}}- class="playerinfobox-info"
 
{{!}}- class="playerinfobox-info"
 
{{!}} class="playerinfobox-subheader" {{!}} '''Name:'''
 
{{!}} class="playerinfobox-subheader" {{!}} '''Name:'''
{{!}} class="playerinfobox-body" {{!}} {{{name}}}{{#if:{{{romanized_name|}}}<br>{{{romanized_name|}}}
+
{{!}} class="playerinfobox-body" {{!}} {{{name}}}{{#if:{{{romanized_name|}}}<br>{{{romanized_name|}}}|}}
 
|}}<!--
 
|}}<!--
  
Line 104: Line 104:
 
-->
 
-->
 
|- class="playerinfobox-info"
 
|- class="playerinfobox-info"
| class="playerinfobox-subheader" | '''Role{{#if:{{{role2|}}}|s|}}'''
+
| class="playerinfobox-subheader" | '''Role{{#if:{{{role2|}}}|s|}}:'''
 
| class="playerinfobox-body" |{{#switch: {{lc: {{{role|}}} }}
 
| class="playerinfobox-body" |{{#switch: {{lc: {{{role|}}} }}
 
   | scout =  {{Icon | scout | | Scout}} [[:Category:Scouts|Scout]]
 
   | scout =  {{Icon | scout | | Scout}} [[:Category:Scouts|Scout]]
Line 144: Line 144:
 
{{#if:{{{career_winnings|}}}|
 
{{#if:{{{career_winnings|}}}|
 
{{!}}- class="playerinfobox-info"
 
{{!}}- class="playerinfobox-info"
{{!}} class="playerinfobox-subheader" {{!}} '''Total Winnings'''
+
{{!}} class="playerinfobox-subheader" {{!}} '''Total 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}}}}}}}} {{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 153: Line 153:
 
{{#if:{{{other_aliases|}}}|
 
{{#if:{{{other_aliases|}}}|
 
{{!}}- class="playerinfobox-info"
 
{{!}}- class="playerinfobox-info"
{{!}} class="playerinfobox-subheader" {{!}} '''Other Aliases'''
+
{{!}} class="playerinfobox-subheader" {{!}} '''Other Aliases:'''
 
{{!}} class="playerinfobox-body" {{!}} ''{{{other_alias|}}}''{{#if: {{{other_alias2|}}} |, ''{{{other_alias2|}}}'' |}}
 
{{!}} class="playerinfobox-body" {{!}} ''{{{other_alias|}}}''{{#if: {{{other_alias2|}}} |, ''{{{other_alias2|}}}'' |}}
 
|}}<!--
 
|}}<!--

Revision as of 01:17, 11 December 2019