Template:InfoboxPlayer: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 15: | Line 15: | ||
--> | --> | ||
{{#if:{{{image|}}}| | |||
{{!}}- | |||
{{!}} style="padding:0" colspan="2" {{!}} [[File: {{{image}}} | 294px | center ]] | |||
|}}<!-- | |||
CAPTION | CAPTION | ||
--> | --> | ||
{{#if:{{{image|}}}| | |||
{{!}}- | |||
{{!}} class="playerinfobox-caption" colspan="2" style="text-align: center" {{!}} {{{caption}}} | |||
|}}<!-- | |||
Line 39: | Line 43: | ||
--> | --> | ||
{{#if:{{{name|}}}| | |||
{{!}}- | |||
{{!}} class="playerinfobox-subheader" {{!}} '''Name''' | |||
{{!}} class="playerinfobox-body" {{!}} {{{name}}} | |||
|}}<!-- | |||
ROMANIZED NAME | ROMANIZED NAME | ||
--> | --> | ||
{{#if:{{{romanized_name|}}}| | |||
{{!}}- | |||
{{!}} class="playerinfobox-subheader" {{!}} '''Romanized Name''' | |||
{{!}} class="playerinfobox-body" {{!}} {{{romanized_name|}}} | |||
|}}<!-- | |||
BORN | BORN | ||
--> | --> | ||
{{#if:{{{birth_year|}}}| | |||
{{!}}- | |||
{{!}} class="playerinfobox-subheader" {{!}} '''Born''' | |||
{{!}} class="playerinfobox-body" {{!}} {{#if: {{{birth_month|}}} | {{#if: {{{birth_day|}}} | {{#if: {{{death_year|}}} | {{birth_date | {{{birth_year|}}} | {{{birth_month|}}} | {{{birth_day|}}} }} | {{#if: {{{death_year|}}} | {{birth_date | {{{birth_year|}}} | {{{birth_month|}}} | {{{birth_day|}}} }} | {{birth_date_and_age | {{{birth_year|}}} | {{{birth_month|}}} | {{{birth_day|}}} }} }} |}} |}} | {{{birth_year|}}} }} | |||
|}}<!-- | |||
DIED | DIED | ||
--> | --> | ||
{{#if:{{{death_year|}}}| | |||
{{!}}- | |||
{{!}} class="playerinfobox-subheader" {{!}} '''Died''' | |||
{{!}} class="playerinfobox-body" {{!}} {{#if: {{{death_month|}}} | {{#if: {{{death_day|}}} | {{#if: {{{death_day|}}} | {{death_date_and_age | {{{birth_year|}}} | {{{birth_month|}}} | {{{birth_day|}}} | {{{death_year|}}} | {{{death_month|}}} | {{{death_day|}}} }} | {{death_date | {{{death_year|}}} | {{{death_month|}}} | {{{death_day|}}} }} }} |}} | {{{death_year|}}} }} | |||
|}}<!-- | |||
NATIONALITY | NATIONALITY | ||
--> | --> | ||
{{#if:{{{nationality|}}}| | |||
{{!}}- | |||
{{!}} class="playerinfobox-subheader" {{!}} '''Nationality''' | |||
{{!}} class="playerinfobox-body" {{!}} {{flag | {{{nationality}}} }} [[:Category:{{localisation | {{{nationality|}}} }}_Players | {{{nationality|}}}]] {{#if: {{{nationality2|}}} | <br>{{flag | {{{nationality2}}} }} [[:Category:{{localisation | {{{nationality2|}}} }}_Players | {{{nationality2|}}} ]] |}} | |||
|}}<!-- | |||
STATUS | STATUS | ||
Line 81: | Line 95: | ||
--> | --> | ||
{{#if: {{{format|}}} | {{#switch: {{lc: {{{format|}}} }} |6 |6s |6v6 |sixes=|#default= | |||
{{!}}- | |||
{{!}} class="playerinfobox-subheader" {{!}} '''Format''' | |||
{{!}} class="playerinfobox-body" {{!}} [[{{{format|}}}]] | |||
}} | |||
|}}"<!-- | |||
TEAM | TEAM | ||
Line 118: | Line 135: | ||
--> | --> | ||
{{#if:{{{career_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.) | |||
|}}<!-- | |||
OTHER ALIASES | OTHER ALIASES | ||
--> | --> | ||
{{#if:{{{other_aliases|}}}| | |||
{{!}}- | |||
{{!}} class="playerinfobox-subheader" {{!}} '''Other Aliases''' | |||
{{!}} class="playerinfobox-body" {{!}} ''{{{other_alias|}}}''{{#if: {{{other_alias2|}}} |, ''{{{other_alias2|}}}'' |}} | |||
|}}<!-- | |||
Line 138: | Line 159: | ||
--> | --> | ||
{{#if:{{{major_honors|}}}| | |||
! class="playerinfobox-header" colspan="2" | {{!}}- | ||
! class="playerinfobox-header" colspan="2" {{!}} Major Honors | |||
{{!}}- | |||
{{!}} colspan="2" {{!}} {{{major_honors|}}} | |||
|}}<!-- | |||
Line 153: | Line 176: | ||
--> | --> | ||
{{#if:{{{team_history|}}}| | |||
! class="playerinfobox-header" colspan="2" | {{!}}- | ||
! class="playerinfobox-header" colspan="2" {{!}} Team History | |||
{{!}}- | |||
{{!}} colspan="2" {{!}} <div style="font-size:100%; line-height:-10px; overflow: hidden;"><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;">Winnings</div></div> | |||
{{!}}- | |||
{{!}} colspan="2" {{!}} {{{team_history|}}} | |||
|}}<!-- | |||
Line 169: | Line 194: | ||
--> | --> | ||
{{#if: {{{tftv|}}}{{{rgl|}}}{{{etf2l|}}}{{{ozf|}}}{{{site|}}}{{{steam|}}}{{{twitch|}}}{{{youtube|}}}{{{twitter|}}}| | |||
! class="playerinfobox-header" colspan="2" | {{!}}- | ||
! class="playerinfobox-header" colspan="2" {{!}} Links | |||
{{!}}- | |||
{{!}} class="playerinfobox-icons" colspan="2" style="text-align:center" {{!}} {{#if:{{{tftv|}}}|[[Image:TeamfortressTV icon2.png|32px|teamfortress.tv User Page|link=http://www.teamfortress.tv/user/{{{tftv}}}]]}}<!-- | |||
--> {{#if:{{{logs|}}}|[[Image:Logs.tf Icon.png|32px|Logs.tf Page|link=http://logs.tf/profile/{{{logs|}}}]]}}<!-- | --> {{#if:{{{logs|}}}|[[Image:Logs.tf Icon.png|32px|Logs.tf Page|link=http://logs.tf/profile/{{{logs|}}}]]}}<!-- | ||
--> {{#if:{{{rgl|}}}|[[Image:RGL Icon.png|32px|RGL Player Page|link=https://rgl.gg/Public/PlayerProfile.aspx?p={{{rgl|}}}]]}}<!-- | --> {{#if:{{{rgl|}}}|[[Image:RGL Icon.png|32px|RGL Player Page|link=https://rgl.gg/Public/PlayerProfile.aspx?p={{{rgl|}}}]]}}<!-- | ||
Line 185: | Line 211: | ||
--> {{#if:{{{twitter|}}}|[[Image:File:Twitter logo.png|32px|Twitter|link=http://twitter.com/{{{twitter}}}]]}}<!-- | --> {{#if:{{{twitter|}}}|[[Image:File:Twitter logo.png|32px|Twitter|link=http://twitter.com/{{{twitter}}}]]}}<!-- | ||
-->{{#if:{{{misc_links|}}}|{{{misc_links|}}}|}} | -->{{#if:{{{misc_links|}}}|{{{misc_links|}}}|}} | ||
|}} | |||
|}<!-- | |}<!-- | ||