Template:InfoboxPlayer: Difference between revisions

From comp.tf
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 15: Line 15:


-->
-->
|- {{#if: {{{image|}}} | | display: none}}"
{{#if:{{{image|}}}|
| style="padding:0" colspan="2" | [[File: {{{image}}} | 294px | center ]]<!--
{{!}}-
{{!}} style="padding:0" colspan="2" {{!}} [[File: {{{image}}} | 294px | center ]]
|}}<!--


CAPTION
CAPTION


-->
-->
|- style="{{#if: {{{caption|}}} | | display: none}}"
{{#if:{{{image|}}}|
| class="playerinfobox-caption" colspan="2" style="text-align: center" | {{{caption}}}<!--
{{!}}-
{{!}} class="playerinfobox-caption" colspan="2" style="text-align: center" {{!}} {{{caption}}}
|}}<!--




Line 39: Line 43:


-->
-->
|- style="{{#if: {{{name|}}} | | display: none}}"
{{#if:{{{name|}}}|
| class="playerinfobox-subheader" | '''Name'''
{{!}}-
| class="playerinfobox-body" | {{{name}}}<!--
{{!}} class="playerinfobox-subheader" {{!}} '''Name'''
{{!}} class="playerinfobox-body" {{!}} {{{name}}}
|}}<!--


ROMANIZED NAME
ROMANIZED NAME


-->
-->
|- style="{{#if: {{{romanized_name|}}} | | display: none}}"
{{#if:{{{romanized_name|}}}|
| class="playerinfobox-subheader" | '''Romanized Name'''
{{!}}-
| class="playerinfobox-body" | {{{romanized_name|}}}<!--
{{!}} class="playerinfobox-subheader" {{!}} '''Romanized Name'''
{{!}} class="playerinfobox-body" {{!}} {{{romanized_name|}}}
|}}<!--


BORN
BORN


-->
-->
|- style="{{#if: {{{birth_year|}}} | | display: none}}"
{{#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|}}} }}<!--
{{!}} 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


-->
-->
|- style="{{#if: {{{death_year|}}} | | display: none}}"
{{#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|}}} }}<!--
{{!}} 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


-->
-->
|- style="{{#if: {{{nationality|}}} | | display: none}}"
{{#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|}}} ]] |}}<!--
{{!}} 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:


-->
-->
|- style="{{#if: {{{format|}}} | {{#switch: {{lc: {{{format|}}} }} |6 |6s |6v6 |sixes=display:none}} | display:none}}"
{{#if: {{{format|}}} | {{#switch: {{lc: {{{format|}}} }} |6 |6s |6v6 |sixes=|#default=
| class="playerinfobox-subheader" | '''Format'''
{{!}}-
| class="playerinfobox-body" | [[{{{format|}}}]]<!--
{{!}} class="playerinfobox-subheader" {{!}} '''Format'''
{{!}} class="playerinfobox-body" {{!}} [[{{{format|}}}]]
}}
|}}"<!--


TEAM
TEAM
Line 118: Line 135:


-->
-->
|- style="{{#if: {{{career_winnings|}}} | | display: none}}"
{{#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.)<!--
{{!}} 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


-->
-->
|- style="{{#if: {{{other_alias|}}} | | display: none}}"
{{#if:{{{other_aliases|}}}|
| class="playerinfobox-subheader" | '''Other Aliases'''
{{!}}-
| class="playerinfobox-body" | ''{{{other_alias|}}}''{{#if: {{{other_alias2|}}} |, ''{{{other_alias2|}}}'' |}}<!--
{{!}} class="playerinfobox-subheader" {{!}} '''Other Aliases'''
{{!}} class="playerinfobox-body" {{!}} ''{{{other_alias|}}}''{{#if: {{{other_alias2|}}} |, ''{{{other_alias2|}}}'' |}}
|}}<!--




Line 138: Line 159:


-->
-->
|- style="{{#if: {{{major_honors|}}} | | display: none}}"
{{#if:{{{major_honors|}}}|
! class="playerinfobox-header" colspan="2" | Major Honors
{{!}}-
|- style="{{#if: {{{major_honors|}}} | | display: none}}"
! class="playerinfobox-header" colspan="2" {{!}} Major Honors
| colspan="2" | {{{major_honors|}}}<!--
{{!}}-
{{!}} colspan="2" {{!}} {{{major_honors|}}}
|}}<!--




Line 153: Line 176:


-->
-->
|- style="{{#if: {{{team_history|}}} | | display: none}}"
{{#if:{{{team_history|}}}|
! class="playerinfobox-header" colspan="2" | Team History
{{!}}-
|- style="{{#if: {{{team_history|}}} | | display: none}}"
! 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>
{{!}}-
|- style="{{#if: {{{team_history|}}} | | display: none}}"
{{!}} 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|}}}<!--
{{!}}-
{{!}} colspan="2" {{!}} {{{team_history|}}}
|}}<!--




Line 169: Line 194:


-->
-->
|- style="{{#if: {{{tftv|}}}{{{rgl|}}}{{{etf2l|}}}{{{ozf|}}}{{{site|}}}{{{steam|}}}{{{twitch|}}}{{{youtube|}}}{{{twitter|}}} | | display: none}}"
{{#if: {{{tftv|}}}{{{rgl|}}}{{{etf2l|}}}{{{ozf|}}}{{{site|}}}{{{steam|}}}{{{twitch|}}}{{{youtube|}}}{{{twitter|}}}|
! class="playerinfobox-header" colspan="2" | Links
{{!}}-
|-
! 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}}}]]}}<!--
{{!}}-
{{!}} 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|}}}|}}
|}}
|}<!--
|}<!--



Revision as of 00:17, 11 December 2019