Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
m
 
(183 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="playerinfobox"<!--
+
<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:{{{alias|{{PAGENAME}}}}}}}}}
 +
{| class="comptf-infobox" cellpadding="2"
 +
<!--
  
  
  
  
HEADER
+
TITLE
  
  
  
  
-->
+
-->! class="comptf-infobox-title" colspan=2 | {{#if: {{{nationality|}}} | {{#if: {{{nationality2|}}} | | {{flag | {{{nationality|}}} }} }} |}} {{{alias}}}
! class="playerinfobox-header" colspan=2 | {{#if: {{{nationality|}}} | {{#if: {{{nationality2|}}} | | {{flag | {{{nationality|}}} }} }} |}} {{{alias}}}<!--
+
|-
 +
<!--
  
 
IMAGE
 
IMAGE
  
-->
+
-->{{#if:{{{image|}}}|
|- style="{{#if: {{{image|}}} | | display: none}}"
+
{{!}} style="padding:0" colspan="2" {{!}} [[File: {{{image}}} | 294px | center ]]
| colspan="2" | [[File: {{{image}}} | 296px | center ]]<!--
+
{{!}}-
 +
|}}
 +
<!--
  
 
CAPTION
 
CAPTION
  
-->
+
-->{{#if:{{{caption|}}}|
|- style="{{#if: {{{caption|}}} | | display: none}}"
+
{{!}} colspan="2" style="font-size:11px; line-height:1.3; text-align:center" {{!}} {{{caption}}}
| class="playerinfobox-caption" colspan="2" style="text-align: center" | {{{caption}}}<!--
+
{{!}}-
 +
|}}
 +
<!--
  
  
Line 32: Line 39:
  
  
-->
+
-->! class="comptf-infobox-subtitle" colspan="2" | Player Information
|-
+
|- class="comptf-infobox-info"
! class="playerinfobox-header" colspan="2" | Player Information<!---
+
<!---
  
 
NAME
 
NAME
  
-->
+
-->{{#if:{{{name|}}}|
|- style="{{#if: {{{name|}}} | | display: none}}"
+
{{!}} class="comptf-infobox-header" {{!}} '''Name'''
| class="playerinfobox-subheader" | '''Name'''
+
{{!}} class="comptf-infobox-body" {{!}} {{{name}}}{{#if:{{{romanized_name|}}}|<br>{{{romanized_name|}}}|}}
| class="playerinfobox-body" | {{{name}}}<!--
+
{{!}}- class="comptf-infobox-info"
 
+
|}}
ROMANIZED NAME
+
<!--
 
 
-->
 
|- style="{{#if: {{{romanized_name|}}} | | display: none}}"
 
| class="playerinfobox-subheader" | '''Romanized Name'''
 
| class="playerinfobox-body" | {{{romanized_name|}}}<!--
 
  
 
BORN
 
BORN
  
-->
+
-->{{#if:{{{birth_year|}}}|
|- style="{{#if: {{{birth_year|}}} | | display: none}}"
+
{{!}} class="comptf-infobox-header" {{!}} '''Born'''
| class="playerinfobox-subheader" | '''Born'''
+
{{!}} class="comptf-infobox-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-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="comptf-infobox-info"
 +
|}}
 +
<!--
  
 
DIED
 
DIED
  
-->
+
-->{{#if:{{{death_year|}}}|
|- style="{{#if: {{{death_year|}}} | | display: none}}"
+
{{!}} class="comptf-infobox-header" {{!}} '''Died'''
| class="playerinfobox-subheader" | '''Died'''
+
{{!}} class="comptf-infobox-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-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="comptf-infobox-info"
 +
|}}
 +
<!--
  
 
NATIONALITY
 
NATIONALITY
  
-->
+
-->{{#if:{{{nationality|}}}|
|- style="{{#if: {{{nationality|}}} | | display: none}}"
+
{{!}} class="comptf-infobox-header" {{!}} '''Nationalit{{#if:{{{nationality2|}}}|ies|y}}'''
| class="playerinfobox-subheader" | '''Nationality'''
+
{{!}} class="comptf-infobox-body" {{!}} {{flag | {{{nationality}}} }} [[:Category:{{localisation | {{{nationality|}}} }}_Players | {{{nationality|}}}]] {{#if: {{{nationality2|}}} | <br>{{flag | {{{nationality2}}} }} [[:Category:{{localisation | {{{nationality2|}}} }}_Players | {{{nationality2|}}} ]] |}}
| class="playerinfobox-body" | {{flag | {{{nationality}}} }} [[:Category:{{localisation | {{{nationality|}}} }}_Players | {{{nationality|}}}]] {{#if: {{{nationality2|}}} | <br>{{flag | {{{nationality2}}} }} [[:Category:{{localisation | {{{nationality2|}}} }}_Players | {{{nationality2|}}} ]] |}}<!--
+
{{!}}- class="comptf-infobox-info"
 +
|}}
 +
<!--
  
 
STATUS
 
STATUS
  
-->
+
-->| class="comptf-infobox-header" | '''Status'''
|-
+
| class="comptf-infobox-body" |<!--
| class="playerinfobox-subheader" | '''Status'''
+
-->{{#if:{{{status|}}}|{{{status|}}}|<!--
| class="playerinfobox-body" | {{#if: {{{active_endyear|}}} | [[:Category:Inactive_Players | Inactive]] ({{{active_startyear|}}} - {{{active_endyear|}}}) | [[:Category:Active_Players | Active]] (since {{{active_startyear|}}}) }}<!--
+
-->{{#if:{{{active_startyear2|}}}|{{#if:{{{active_endyear2|}}}|[[:Category:Inactive Players|Inactive]]<br>({{#ifeq:{{{active_startyear|}}}|{{{active_endyear|}}}|{{{active_startyear|}}}|{{{active_startyear|}}} - {{{active_endyear|}}}}}, {{#ifeq:{{{active_startyear2|}}}|{{{active_endyear2|}}}|{{{active_startyear2|}}}|{{{active_startyear2|}}} - {{{active_endyear2|}}}}})|[[:Category:Active Players|Active]]<br>({{{active_startyear|}}} - {{{active_endyear|}}}, {{{active_startyear2|}}} - )}}<!--
 +
 
 +
-->|{{#if:{{{active_endyear|}}}|[[:Category:Inactive Players|Inactive]] ({{#ifeq:{{{active_startyear|}}}|{{{active_endyear|}}}|{{{active_startyear|}}}|{{{active_startyear|}}} - {{{active_endyear|}}}}})|[[:Category:Active Players|Active]] (since {{{active_startyear|}}})}}}}}}
 +
|- class="comptf-infobox-info"
 +
<!--
  
 
FORMAT
 
FORMAT
  
-->
+
-->{{#if: {{{format|}}} | {{#switch: {{lc: {{{format|}}} }} |6 |6s |6v6 |sixes=|#default=
|- style="{{#if: {{{format|}}} | {{#switch: {{lc: {{{format|}}} }} |6 |6s |6v6 |sixes=display:none}} | display:none}}"
+
{{!}} class="comptf-infobox-header" {{!}} '''Format'''
| class="playerinfobox-subheader" | '''Format'''
+
{{!}} class="comptf-infobox-body" {{!}} [[{{{format|}}}]]
| class="playerinfobox-body" | [[{{{format|}}}]]<!--
+
{{!}}- class="comptf-infobox-info"
 +
}}
 +
|}}
 +
<!--
  
 
TEAM
 
TEAM
  
-->
+
-->{{#if: {{{team|}}} |
|-
+
{{!}} class="comptf-infobox-header" {{!}} '''Team'''
| class="playerinfobox-subheader" | '''Team'''
+
{{!}} class="comptf-infobox-body" {{!}} [[File:{{{team|}}} Icon.png|x18px|link={{{team|}}}]] [[{{{team|}}}]]
| class="playerinfobox-body" | {{Team/{{{team|}}} }}<!--
+
{{!}}- class="comptf-infobox-info"
 +
}}
 +
<!--
 +
 
 +
CLASS
 +
 
 +
-->| class="comptf-infobox-header" | '''{{#if:{{{active_endyear|}}}|Main{{#if:{{{other_main1|}}}|s|}}|Class}}'''
 +
| class="comptf-infobox-body" |{{#switch: {{lc: {{{class|}}} }}
 +
  | scout =  {{Icon | scout | | Scout | x18px}} [[Scout]]
 +
  | pocket
 +
  | pocket soldier = {{Icon | pocket | | Pocket Soldier | x18px}} [[Pocket Soldier]]
 +
  | roamer
 +
  | roaming soldier = {{Icon | roamer | | Roaming Soldier | x18px}} [[Roaming Soldier]]
 +
  | pyro = {{Icon | pyro | | Pyro | x18px}} [[Pyro]]
 +
  | demo
 +
  | demoman = {{Icon | demoman | | Demoman | x18px}} [[Demoman]]
 +
  | heavy
 +
  | heavyweapons = {{Icon | heavy | | Heavy | x18px}} [[Heavy]]
 +
  | engi
 +
  | engie
 +
  | engineer = {{Icon | engineer | | Engineer | x18px}} [[Engineer]]
 +
  | medic = {{Icon | medic | | Medic | x18px}} [[Medic]]
 +
  | sniper = {{Icon | sniper | | Sniper | x18px}} [[Sniper]]
 +
  | spy = {{Icon | spy | | Spy | x18px}} [[Spy]]
 +
}}{{#if:{{{active_endyear|}}}|{{#if:{{{other_main1|}}}|<br>{{#switch: {{lc: {{{other_main1|}}} }}
 +
  | scout =  {{Icon | scout | | Scout | x18px}} [[Scout]]
 +
  | pocket
 +
  | pocket soldier = {{Icon | pocket | | Pocket Soldier | x18px}} [[Pocket Soldier]]
 +
  | roamer
 +
  | roaming soldier = {{Icon | roamer | | Roaming Soldier | x18px}} [[Roaming Soldier]]
 +
  | pyro = {{Icon | pyro | | Pyro | x18px}} [[Pyro]]
 +
  | demo
 +
  | demoman = {{Icon | demoman | | Demoman | x18px}} [[Demoman]]
 +
  | heavy
 +
  | heavyweapons = {{Icon | heavy | | Heavy | x18px}} [[Heavy]]
 +
  | engi
 +
  | engie
 +
  | engineer = {{Icon | engineer | | Engineer | x18px}} [[Engineer]]
 +
  | medic = {{Icon | medic | | Medic | x18px}} [[Medic]]
 +
  | sniper = {{Icon | sniper | | Sniper | x18px}} [[Sniper]]
 +
  | spy = {{Icon | spy | | Spy | x18px}} [[Spy]]
 +
}}}}{{#if:{{{other_main2|}}}|<br>{{#switch: {{lc: {{{other_main1|}}} }}
 +
  | scout =  {{Icon | scout | | Scout | x18px}} [[Scout]]
 +
  | pocket
 +
  | pocket soldier = {{Icon | pocket | | Pocket Soldier | x18px}} [[Pocket Soldier]]
 +
  | roamer
 +
  | roaming soldier = {{Icon | roamer | | Roaming Soldier | x18px}} [[Roaming Soldier]]
 +
  | pyro = {{Icon | pyro | | Pyro | x18px}} [[Pyro]]
 +
  | demo
 +
  | demoman = {{Icon | demoman | | Demoman | x18px}} [[Demoman]]
 +
  | heavy
 +
  | heavyweapons = {{Icon | heavy | | Heavy | x18px}} [[Heavy]]
 +
  | engi
 +
  | engie
 +
  | engineer = {{Icon | engineer | | Engineer | x18px}} [[Engineer]]
 +
  | medic = {{Icon | medic | | Medic | x18px}} [[Medic]]
 +
  | sniper = {{Icon | sniper | | Sniper | x18px}} [[Sniper]]
 +
  | spy = {{Icon | spy | | Spy | x18px}} [[Spy]]
 +
}}}}{{#if:{{{other_main3|}}}|<br>{{#switch: {{lc: {{{other_main1|}}} }}
 +
  | scout =  {{Icon | scout | | Scout | x18px}} [[Scout]]
 +
  | pocket
 +
  | pocket soldier = {{Icon | pocket | | Pocket Soldier | x18px}} [[Pocket Soldier]]
 +
  | roamer
 +
  | roaming soldier = {{Icon | roamer | | Roaming Soldier | x18px}} [[Roaming Soldier]]
 +
  | pyro = {{Icon | pyro | | Pyro | x18px}} [[Pyro]]
 +
  | demo
 +
  | demoman = {{Icon | demoman | | Demoman | x18px}} [[Demoman]]
 +
  | heavy
 +
  | heavyweapons = {{Icon | heavy | | Heavy | x18px}} [[Heavy]]
 +
  | engi
 +
  | engie
 +
  | engineer = {{Icon | engineer | | Engineer | x18px}} [[Engineer]]
 +
  | medic = {{Icon | medic | | Medic | x18px}} [[Medic]]
 +
  | sniper = {{Icon | sniper | | Sniper | x18px}} [[Sniper]]
 +
  | spy = {{Icon | spy | | Spy | x18px}} [[Spy]]
 +
}}}}}}
 +
|- {{#if:{{{other_main1|}}}{{{career_winnings|}}}{{{other_aliases|}}}|class="comptf-infobox-info"}}
 +
<!--
  
ROLE
+
OTHER MAINS
  
-->
+
-->{{#if:{{{active_endyear|}}}||{{#if:{{{other_main1|}}}|
|-
+
{{!}} class="comptf-infobox-header" {{!}} '''Other Mains'''
| class="playerinfobox-subheader" | '''Role'''
+
{{!}} class="comptf-infobox-body" {{!}}{{#switch: {{lc: {{{other_main1|}}} }}
| class="playerinfobox-body" |{{#switch: {{lc: {{{role|}}} }}
+
   | scout =  [[Scout]]
   | scout =  {{Icon | scout | | Scout}} [[:Category:Scouts|Scout]]
+
  | pocket
   | pocket = {{Icon | pocket | | Pocket Soldier}} [[:Category:Pocket Soldiers|Pocket]]
+
  | pocket soldier = [[Pocket]]
   | roamer = {{Icon | roamer | | Roaming Soldier}} [[:Category:Roaming Soldiers|Roamer]]
+
  | roamer
   | soldier ={{Icon | soldier | | Soldier}}  [[:Category:Soldiers|Soldier]]
+
  | roaming soldier = [[Roamer]]
   | pyro = {{Icon | pyro | | Pyro}} [[:Category:Pyros|Pyro]]
+
  | pyro = [[Pyro]]
 +
  | demo
 +
  | demoman = [[Demoman]]
 +
  | heavy
 +
  | heavyweapons = [[Heavy]]
 +
  | engi
 +
  | engie
 +
  | engineer = [[Engineer]]
 +
  | medic = [[Medic]]
 +
  | sniper = [[Sniper]]
 +
   | spy = [[Spy]]
 +
}}{{#if:{{{other_main2|}}}|, {{#switch: {{lc: {{{other_main2|}}} }}
 +
  | scout =  [[Scout]]
 +
  | pocket
 +
  | pocket soldier = [[Pocket]]
 +
   | roamer
 +
  | roaming soldier = [[Roamer]]
 +
  | pyro = [[Pyro]]
 +
  | demo
 +
  | demoman = [[Demoman]]
 +
  | heavy
 +
  | heavyweapons = [[Heavy]]
 +
  | engi
 +
  | engie
 +
  | engineer = [[Engineer]]
 +
  | medic = [[Medic]]
 +
  | sniper = [[Sniper]]
 +
   | spy = [[Spy]]
 +
}}|}}{{#if:{{{other_main3|}}}|, {{#switch: {{lc: {{{other_main3|}}} }}
 +
  | scout = [[Scout]]
 +
  | pocket
 +
  | pocket soldier = [[Pocket]]
 +
   | roamer
 +
  | roaming soldier = [[Roamer]]
 +
  | pyro = [[Pyro]]
 
   | demo
 
   | demo
   | demoman = {{Icon | demoman | | Demoman}} [[:Category:Demomen|Demoman]]
+
   | demoman = [[Demoman]]
 
   | heavy
 
   | heavy
   | heavyweapons = {{Icon | heavy | | Heavy}} [[:Category:Heavies|Heavy]]
+
   | heavyweapons = [[Heavy]]
 
   | engi
 
   | engi
 
   | engie
 
   | engie
   | engineer = {{Icon | engineer | | Engineer}} [[:Category:Engineers|Engineer]]
+
   | engineer = [[Engineer]]
   | medic = {{Icon | medic | | Medic}} [[:Category:Medics|Medic]]
+
   | medic = [[Medic]]
   | sniper = {{Icon | sniper | | Sniper}} [[:Category:Snipers|Sniper]]
+
   | sniper = [[Sniper]]
   | spy = {{Icon | spy | | Spy}} [[:Category:Spies|Spy]]
+
   | spy = [[Spy]]
}}<!--
+
}}|}}
 +
{{!}}- {{#if:{{{career_winnings|}}}{{{other_aliases|}}}|class="comptf-infobox-info"}}
 +
}}}}
 +
<!--
  
 
CAREER WINNINGS
 
CAREER WINNINGS
  
-->
+
-->{{#if:{{{career_winnings|}}}|
|- style="{{#if: {{{career_winnings|}}} | | display: none}}"
+
{{!}} class="comptf-infobox-header" {{!}} '''{{abbr|Career Winnings|Approx. total career winnings (USD)}}'''
| class="playerinfobox-subheader" | '''Total Winnings'''
+
{{!}} class="comptf-infobox-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}} (approx.)<!--
+
{{!}}- {{#if:{{{other_alias|}}}|class="comptf-infobox-info"}}
 +
|}}
 +
<!--
  
 
OTHER ALIASES
 
OTHER ALIASES
  
-->
+
-->{{#if:{{{other_alias|}}}|
|- style="{{#if: {{{other_alias|}}} | | display: none}}"
+
{{!}} class="comptf-infobox-header" {{!}} '''Other Aliases'''
| class="playerinfobox-subheader" | '''Other Aliases'''
+
{{!}} class="comptf-infobox-body" {{!}} ''{{{other_alias|}}}''{{#if: {{{other_alias2|}}} |, ''{{{other_alias2|}}}'' |}}
| class="playerinfobox-body" | ''{{{other_alias|}}}''{{#if: {{{other_alias2|}}} |, ''{{{other_alias2|}}}'' |}}<!--
+
{{!}}-
 +
|}}
 +
<!--
  
  
  
  
MAJOR HONORS
+
ACHIEVEMENTS
  
  
  
  
-->
+
-->{{#if:{{{achievements|}}}|
|- style="{{#if: {{{major_honors|}}} | | display: none}}"
+
! class="comptf-infobox-subtitle" colspan="2" style="position:relative" {{!}} Achievements<span style="font-size:10px;position:absolute;right:3px;top:3px;line-height:1;font-weight:300">[[#Tournament_history|[see all]]]</span><!--
! class="playerinfobox-header" colspan="2" | Major Honors
+
{{!}}- style="background-color:#fff"
|- style="{{#if: {{{major_honors|}}} | | display: none}}"
+
{{!}} colspan="2" {{!}} <div style="font-size:11px; overflow: hidden; padding:0 2px; text-align:center"><div style="float:left;width:25%;">'''Place'''</div><div style="float:left;width:50%;text-align:center;">'''Tournament'''</div><div style="float:right;width:25%;">'''Team'''</div></div>-->
| colspan="2" | {{{major_honors|}}}<!--
+
{{!}}-
 +
{{!}} colspan="2" {{!}} {{{achievements|}}}
 +
{{!}}-
 +
|}}
 +
<!--
  
  
Line 152: Line 289:
  
  
-->
+
-->{{#if:{{{team_history|}}}|
|- style="{{#if: {{{team_history|}}} | | display: none}}"
+
! class="comptf-infobox-subtitle" colspan="2" <!--style="position:relative" -->{{!}} Team History<!--<span style="font-size:10px;position:absolute;right:3px;top:3px;line-height:1;font-weight:300">[[#Team history|[see all]]]</span>-->
! class="playerinfobox-header" colspan="2" | Team History
+
{{!}}-
|- style="{{#if: {{{team_history|}}} | | display: none}}"
+
{{!}} 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" | {{{team_history|}}}<!--
+
<!--
  
  
Line 168: Line 305:
  
  
-->
+
-->{{#if: {{{tftv|}}}{{{logs|}}}{{{rgl|}}}{{{esea|}}}{{{etf2l|}}}{{{ozf|}}}{{{ozfold|}}}{{{site|}}}{{{steam|}}}{{{twitch|}}}{{{youtube|}}}{{{twitter|}}}{{{misc_links|}}}|
|- style="{{#if: {{{tftv|}}}{{{rgl|}}}{{{etf2l|}}}{{{ozf|}}}{{{site|}}}{{{steam|}}}{{{twitch|}}}{{{youtube|}}}{{{twitter|}}} | | display: none}}"
+
! class="comptf-infobox-subtitle" colspan="2" {{!}} Links
! class="playerinfobox-header" colspan="2" | Links
+
{{!}}-
|-
+
{{!}} class="comptf-infobox-icons" colspan="2" style="text-align:center; height:36px" {{!}}<!--
| 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:{{{esportsearnings|}}}|[[Image:Esportsearnings Logo.png|x24px|Esports Earnings Page|link=https://www.esportsearnings.com/players/{{{esportsearnings|}}}]]}}<!--
--> {{#if:{{{logs|}}}|[[Image:Logs.tf Icon.png|32px|Logs.tf Page|link=http://logs.tf/profile/{{{logs|}}}]]}}<!--
+
--> {{#if:{{{esea|}}}|[[Image:EseaLogo.png|x24px|ESEA Player Page|link=https://play.esea.net/users/{{{esea}}}]]}}<!--
--> {{#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|x24px|RGL Player Page|link=https://rgl.gg/Public/PlayerProfile.aspx?p={{{rgl|}}}]]}}<!--
--> {{#if:{{{etf2l|}}}|[[Image:ETF2L-Icon.png|x32px|ETF2L Player Page|link=http://etf2l.org/forum/user/{{{etf2l}}}]]}}<!--
+
--> {{#if:{{{etf2l|}}}|[[Image:ETF2L-Icon.png|x24px|ETF2L Player Page|link=http://etf2l.org/forum/user/{{{etf2l}}}]]}}<!--
--> {{#if:{{{ozf|}}}|[[Image:Ozfortress_Icon.png|32px|ozfortress Player Page|link=https://warzone.ozfortress.com/users/{{{ozf}}}]]}}<!--
+
--> {{#if:{{{ozf|}}}|[[Image:Ozfortress_Icon.png|x24px|ozfortress Player Page|link=https://warzone.ozfortress.com/users/{{{ozf}}}]]}}<!--
--> {{#if:{{{oldozf|}}}|[[Image:Ozfortress_icon.png|32px|ozfortress Player Page|link=http://ozfortress.com/member.php?u={{{oldozf}}}]]}}<!--
+
--> {{#if:{{{oldozf|}}}|[[Image:Ozfortress_icon.png|x24px|ozfortress Player Page|link=http://ozfortress.com/member.php?u={{{oldozf}}}]]}}<!--
--> {{#if:{{{ugc|}}}|[[Image:UGC-Icon2.png.png|32px|UGC Player Page|link=https://www.ugcleague.com/players_page.cfm?player_id={{{ugc|}}}]]}}<!--
+
--> {{#if:{{{ugc|}}}|[[Image:UGC-Icon2.png.png|x24px|UGC Player Page|link=https://www.ugcleague.com/players_page.cfm?player_id={{{ugc|}}}]]}}<!--
--> {{#if:{{{site|}}}|[[Image:Website Icon.png|32px|Website|link={{{site}}}]]}}<!--
+
--> {{#if:{{{logs|}}}|[[Image:Logs.tf Icon.png|x24px|Logs.tf Page|link=http://logs.tf/profile/{{{logs|}}}]]}}<!--
--> {{#if:{{{steam|}}}|[[Image:Steam Logo.png|32px|Steam Profile|link=http://steamcommunity.com/profiles/{{{steam}}}]]}}<!--
+
--> {{#if:{{{site|}}}|[[Image:Website Icon.png|x24px|Website|link={{{site}}}]]}}<!--
--> {{#if:{{{twitch|}}}|[[Image:Twitch Logo.png|32px|Twitch Stream|link=http://www.twitch.tv/{{{twitch}}}]]}}<!--
+
--> {{#if:{{{twitch|}}}|[[Image:Twitch Logo.png|x24px|Twitch Stream|link=http://www.twitch.tv/{{{twitch}}}]]}}<!--
--> {{#if:{{{youtube|}}}|[[Image:Youtube_Logo.png|32px|YouTube Channel|link=http://www.youtube.com/{{{youtube}}}]]}}<!--
+
--> {{#if:{{{youtube|}}}|[[Image:Youtube_Logo.png|24px|YouTube Channel|link=http://www.youtube.com/{{{youtube}}}]]}}<!--
--> {{#if:{{{twitter|}}}|[[Image:File:Twitter logo.png|32px|Twitter|link=http://twitter.com/{{{twitter}}}]]}}<!--
+
--> {{#if:{{{twitter|}}}|[[Image:Twitter logo.png|24px|Twitter|link=http://twitter.com/{{{twitter}}}]]}}<!--
 
-->{{#if:{{{misc_links|}}}|{{{misc_links|}}}|}}
 
-->{{#if:{{{misc_links|}}}|{{{misc_links|}}}|}}
|}<!--
+
|}}
 +
|}
 +
<!--
  
  
Line 200: Line 339:
 
-->{{#if:{{{name|}}}||[[Category:Players with unknown name]]}}<!--
 
-->{{#if:{{{name|}}}||[[Category:Players with unknown name]]}}<!--
 
-->{{#if:{{{birth_year|}}}||[[Category:People with an unknown birth date]]}}<!--
 
-->{{#if:{{{birth_year|}}}||[[Category:People with an unknown birth date]]}}<!--
-->{{#if:{{{death_year|}}}||[[Category:Deceased players]]}}<!--
+
-->{{#if:{{{death_year|}}}|[[Category:Deceased players]]}}<!--
-->{{#if:{{{country|}}}|{{#ifeq:{{localisation|{{{country}}}}}|error
+
-->{{#ifeq:{{{format|}}}|highlander||{{#if:{{{nationality|}}}|{{#ifeq:{{localisation|{{{nationality}}}}}|error
|[[Category:Unrecognised Country{{!}}{{{country}}}]]
+
|[[Category:Unrecognised Country{{!}}{{{nationality}}}]]
|[[Category:{{localisation|{{{country}}}}} Players]]|}}}}<!--
+
|[[Category:{{localisation|{{{nationality}}}}} Players]]}}|[[Category:Players with unknown nationality]]}}<!--
-->{{#if:{{{country2|}}}|{{#ifeq:{{localisation|{{{country2}}}}}|error
+
 
|[[Category:Unrecognised Country{{!}}{{{country2}}}]]
+
-->{{#if:{{{nationality2|}}}|{{#ifeq:{{localisation|{{{nationality2}}}}}|error
|[[Category:{{localisation|{{{country2}}}}} Players]]|}}}}<!--
+
|[[Category:Unrecognised Country{{!}}{{{nationality2}}}]]
-->{{#if:{{{active_endyear|}}}|[[Category:Inactive Players]]|[[Category:Active Players]]}}<!--
+
|[[Category:{{localisation|{{{nationality2}}}}} Players]]|}}}}<!--
-->{{#if:{{{role|}}}|{{#switch:{{lc: {{{role|}}} }}
+
 
  | scout = [[Category:Scouts]]
+
-->{{#if:{{{nationality|}}}|{{#switch:{{lc:{{{nationality|}}}}}|abkhazia|aland|albania|alderney|andorra|austria|denmark|georgia|germany|gibraltar|greece|greenland|guernsey|jersey|macedonia|malta|moldova|monaco|montenegro|poland|portugal|sark|scotland|serbia|slovakia|slovenia|south ossetia|spain|sweden|switzerland|vatican city|belarus|belgium|bosnia and herzegovina|bulgaria|england|estonia|europe|herm|hungary|kosovo|netherlands|northern cyprus|northern ireland|norway|turkey|wales|croatia|cyrenaica|czech republic|faroe islands|finland|france|iceland|ireland|isle of man|italy|latvia|liechtenstein|lithuania|luxembourg|romania|ukraine|united kingdom|san marino|russia|israel=[[Category:European Players]]
  | pocket = [[Category:Pocket Soldiers]][[Category:Soldiers]]
+
|antigua and barbuda|dominica|dominican republic|grenada|guam|guatemala|jamaica|mexico|montserrat|panama|puerto rico|saint kitts and nevis|saint lucia|saint martin|saint vincent and the grenadines|sao tome and principe|sint maarten|british virgin islands|united states virgin islands|cape verde|canada|cayman islands|costa rica|cuba|united states|north america=[[Category:North American Players]]
  | roamer = [[Category:Roaming Soldiers]][[Category:Soldiers]]
+
|argentina||bolivia|brazil|chile|colombia|ecuador|guyana|paraguay|peru|suriname|urguguay|venezuela=[[Category:South American Players]]
  | soldier = [[Category:Soldiers]]
+
|australia|new zealand=[[Category:Oceania Players]]
  | pyro  = [[Category:Pyros]]
+
|singapore|japan|south korea|china|india|macau|hong kong|malaysia|philippines|bangladesh|pakistan|kazakhstan|iran|mongolia|vietnam|indonesia=[[Category:Asian Players]]
  | demo
+
|#default=[[Category:Unrecognised continent]]}}|[[Category:Unrecognised continent]]}}<!--
  | demoman = [[Category:Demomen]]
+
-->{{#if:{{{active_startyear2|}}}|{{#if:{{{active_endyear2|}}}|[[Category:Inactive Players]]|[[Category:Active Players]]}}|{{#if:{{{active_endyear|}}}|[[Category:Inactive Players]]|[[Category:Active Players]]}}}}<!--
  | heavy
+
 
  | heavyweapons = [[Category:Heavies]]
+
-->{{#if:{{{format|}}}|{{#switch:{{lc:{{{format|}}}}}|6|6s|6v6|sixes=[[Category:6v6 Players]]|#default=[[Category:{{{format|}}} Players]]}}|[[Category:6v6 Players]]}}<!--
  | engi
+
-->{{#if:{{{class|}}}|{{#switch:{{lc: {{{class|}}} }}
  | engie
 
  | engineer = [[Category:Engineers]]
 
  | medic = [[Category:Medics]]
 
  | sniper = [[Category:Snipers]]
 
  | spy = [[Category:Spies]]
 
}}}}<!--
 
-->{{#if:{{{role2|}}}|{{#switch:{{lc: {{{role2|}}} }}
 
 
   | scout = [[Category:Scouts]]
 
   | scout = [[Category:Scouts]]
 +
  | pocket soldier
 
   | pocket = [[Category:Pocket Soldiers]][[Category:Soldiers]]
 
   | pocket = [[Category:Pocket Soldiers]][[Category:Soldiers]]
 +
  | roaming soldier
 
   | roamer = [[Category:Roaming Soldiers]][[Category:Soldiers]]
 
   | roamer = [[Category:Roaming Soldiers]][[Category:Soldiers]]
  | soldier = [[Category:Soldiers]]
 
 
   | pyro  = [[Category:Pyros]]
 
   | pyro  = [[Category:Pyros]]
 
   | demo
 
   | demo
Line 241: Line 374:
 
   | sniper = [[Category:Snipers]]
 
   | sniper = [[Category:Snipers]]
 
   | spy = [[Category:Spies]]
 
   | spy = [[Category:Spies]]
}}}}<!--
+
}}}}}}<!--
 
-->{{#if:{{{career_winnings|}}}||[[Category:Players with unknown career winnings]]}}<!--
 
-->{{#if:{{{career_winnings|}}}||[[Category:Players with unknown career winnings]]}}<!--
 
-->{{#if:{{{team_history|}}}||[[Category:Players with no team histories]]}}<!--
 
-->{{#if:{{{team_history|}}}||[[Category:Players with no team histories]]}}<!--
Line 257: Line 390:
 
-->{{#set:
 
-->{{#set:
 
|has id={{{alias|{{PAGENAME}}}}}
 
|has id={{{alias|{{PAGENAME}}}}}
 +
|has )id=){{{alias|{{PAGENAME}}}}}
 
|has name={{#if:{{{romanized_name|}}}|{{{romanized_name|}}}|{{{name|}}}}}
 
|has name={{#if:{{{romanized_name|}}}|{{{romanized_name|}}}|{{{name|}}}}}
|has image={{#if:{{{image|}}}|File:{{{image}}}}}
+
<!--|has image={{#if:{{{image|}}}|File:{{{image}}}}}-->
 
<!--|has image caption={{{caption|}}}-->
 
<!--|has image caption={{{caption|}}}-->
 
|has nationality={{{nationality|}}}
 
|has nationality={{{nationality|}}}
 +
|has )nationality=){{{nationality|}}}
  
 
|has team={{{teamlink|{{{team|}}}}}}
 
|has team={{{teamlink|{{{team|}}}}}}
  
|has site={{{site|}}}
+
<!--|has site={{{site|}}}-->
|has stream={{{stream|}}}
+
<!--|has stream={{{stream|}}}-->
  
|has twitch stream={{#if:{{{twitch|}}}|http://www.twitch.tv/{{{twitch}}} }}
+
<!--|has twitch stream={{#if:{{{twitch|}}}|http://www.twitch.tv/{{{twitch}}} }}-->
|has youtube channel={{#if:{{{youtube|}}}|http://www.youtube.com/{{{youtube}}}}}
+
<!--|has youtube channel={{#if:{{{youtube|}}}|http://www.youtube.com/{{{youtube}}}}}-->
|has twitter={{#if:{{{twitter|}}}|http://twitter.com/{{{twitter}}}}}
+
<!--|has twitter={{#if:{{{twitter|}}}|http://twitter.com/{{{twitter}}}}}-->
  
|has non-romanized name={{#if:{{{romanized_name|}}}|{{{name|}}}|}}
+
<!--|has non-romanized name={{#if:{{{romanized_name|}}}|{{{name|}}}|}}-->
|has dual-citizenship={{#if:{{{nationality2|}}}|{{#if:{{{nationality|}}}|true|false}}|}}
+
<!--|has dual-citizenship={{#if:{{{nationality2|}}}|{{#if:{{{nationality|}}}|true|false}}|}}-->
|has second nationality={{{nationality2|}}}
+
<!--|has second nationality={{{nationality2|}}}-->
  
|has role={{{role|}}}
+
|has class={{{class|}}}
 +
<!--|has other_main1={{{other_main1|}}}-->
 +
<!--|has other_main2={{{other_main2|}}}-->
 +
<!--|has other_main3={{{other_main3|}}}-->
 
|has status={{{status|}}}
 
|has status={{{status|}}}
|has format={{{format|}}}
+
<!--|has format={{{format|}}}-->
 
|has continent={{#switch:{{lc:{{{nationality|}}}}}|abkhazia|aland|albania|alderney|andorra|austria|denmark|georgia|germany|gibraltar|greece|greenland|guernsey|jersey|macedonia|malta|moldova|monaco|montenegro|poland|portugal|sark|scotland|serbia|slovakia|slovenia|south ossetia|spain|sweden|switzerland|vatican city|belarus|belgium|bosnia and herzegovina|bulgaria|england|estonia|europe|herm|hungary|kosovo|netherlands|northern cyprus|northern ireland|norway|turkey|wales|croatia|cyrenaica|czech republic|faroe islands|finland|france|iceland|ireland|isle of man|italy|latvia|liechtenstein|lithuania|luxembourg|romania|ukraine|united kingdom|san marino|russia|israel=Europe
 
|has continent={{#switch:{{lc:{{{nationality|}}}}}|abkhazia|aland|albania|alderney|andorra|austria|denmark|georgia|germany|gibraltar|greece|greenland|guernsey|jersey|macedonia|malta|moldova|monaco|montenegro|poland|portugal|sark|scotland|serbia|slovakia|slovenia|south ossetia|spain|sweden|switzerland|vatican city|belarus|belgium|bosnia and herzegovina|bulgaria|england|estonia|europe|herm|hungary|kosovo|netherlands|northern cyprus|northern ireland|norway|turkey|wales|croatia|cyrenaica|czech republic|faroe islands|finland|france|iceland|ireland|isle of man|italy|latvia|liechtenstein|lithuania|luxembourg|romania|ukraine|united kingdom|san marino|russia|israel=Europe
 
|antigua and barbuda|dominica|dominican republic|grenada|guam|guatemala|jamaica|mexico|montserrat|panama|puerto rico|saint kitts and nevis|saint lucia|saint martin|saint vincent and the grenadines|sao tome and principe|sint maarten|british virgin islands|united states virgin islands|cape verde|canada|cayman islands|costa rica|cuba|united states|north america=North America
 
|antigua and barbuda|dominica|dominican republic|grenada|guam|guatemala|jamaica|mexico|montserrat|panama|puerto rico|saint kitts and nevis|saint lucia|saint martin|saint vincent and the grenadines|sao tome and principe|sint maarten|british virgin islands|united states virgin islands|cape verde|canada|cayman islands|costa rica|cuba|united states|north america=North America
 
|argentina||bolivia|brazil|chile|colombia|ecuador|guyana|paraguay|peru|suriname|urguguay|venezuela=South America
 
|argentina||bolivia|brazil|chile|colombia|ecuador|guyana|paraguay|peru|suriname|urguguay|venezuela=South America
 
|australia|new zealand=Oceania
 
|australia|new zealand=Oceania
|singapore|japan|south korea|china|india|macau|hong kong|malaysia|philippines|bangladesh|pakistan|kazakhstan|iran|mongolia|vietnam|indonesia=Asia}}
+
|singapore|japan|south korea|china|india|macau|hong kong|malaysia|philippines|bangladesh|pakistan|kazakhstan|iran|mongolia|vietnam|indonesia=Asia
}}<!--
+
|#default=Unknown Continent}}
 
+
}}</includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude>
Variable
 
 
 
 
 
{{#vardefine:id|{{{id|{{PAGENAME}}}}}}}
 
 
 
 
 
{{#ifeq:{{NAMESPACE}}||{{#vardefine:birthday|{{#show: {{PAGENAME}}|?has birth day  }}}}
 
{{#if:{{#var:birthday|}}|
 
{{#set_recurring_event: Birthday
 
|property=Has yearly birthday
 
|start={{#var:birthday}}
 
|end={{{death_date|}}}
 
|unit=month
 
|period=12
 
|has original birthday={{#var:birthday|}}
 
|has player={{{id|{{PAGENAME}}}}}
 
|has flag={{lc:{{{nationality|}}}}}
 
}} }} }}
 
}}
 
 
 
--></includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude>
 

Latest revision as of 21:23, 16 April 2020