Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 11: Line 11:
  
  
-->! class="comptf-infobox-title" style="padding-left:40px" colspan=2 | {{#if: {{{nationality|}}} | {{#if: {{{nationality2|}}} | | {{flag | {{{nationality|}}} }} }} |}} {{{alias}}}<div class="comptf-controls" style="vertical-align:top; float:right; margin:2px; width:40px">{{VDE|InfoboxPlayer|{{FULLPAGENAME}}}}</div>
+
-->! class="comptf-infobox-title" colspan=2 | {{#if: {{{nationality|}}} | {{#if: {{{nationality2|}}} | | {{flag | {{{nationality|}}} }} }} |}} {{{alias}}}
 
|-
 
|-
 
<!--
 
<!--
Line 84: Line 84:
 
| class="comptf-infobox-body" |<!--
 
| class="comptf-infobox-body" |<!--
 
-->{{#if:{{{status|}}}|{{{status|}}}|<!--
 
-->{{#if:{{{status|}}}|{{{status|}}}|<!--
-->{{#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_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_endyear|}}})''}}}}}}
+
-->|{{#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"
 
|- class="comptf-infobox-info"
 
<!--
 
<!--
Line 118: Line 118:
 
   | roamer  
 
   | roamer  
 
   | roaming soldier = {{Icon | roamer | | Roaming Soldier | x18px}} [[Roaming Soldier]]
 
   | roaming soldier = {{Icon | roamer | | Roaming Soldier | x18px}} [[Roaming Soldier]]
  | soldier ={{Icon | soldier | | Soldier | x18px}}  [[Soldier]]
 
 
   | pyro = {{Icon | pyro | | Pyro | x18px}} [[Pyro]]
 
   | pyro = {{Icon | pyro | | Pyro | x18px}} [[Pyro]]
 
   | demo
 
   | demo
Line 136: Line 135:
 
   | roamer  
 
   | roamer  
 
   | roaming soldier = {{Icon | roamer | | Roaming Soldier | x18px}} [[Roaming Soldier]]
 
   | roaming soldier = {{Icon | roamer | | Roaming Soldier | x18px}} [[Roaming Soldier]]
  | soldier ={{Icon | soldier | | Soldier | x18px}}  [[Soldier]]
 
 
   | pyro = {{Icon | pyro | | Pyro | x18px}} [[Pyro]]
 
   | pyro = {{Icon | pyro | | Pyro | x18px}} [[Pyro]]
 
   | demo
 
   | demo
Line 154: Line 152:
 
   | roamer  
 
   | roamer  
 
   | roaming soldier = {{Icon | roamer | | Roaming Soldier | x18px}} [[Roaming Soldier]]
 
   | roaming soldier = {{Icon | roamer | | Roaming Soldier | x18px}} [[Roaming Soldier]]
  | soldier ={{Icon | soldier | | Soldier | x18px}}  [[Soldier]]
 
 
   | pyro = {{Icon | pyro | | Pyro | x18px}} [[Pyro]]
 
   | pyro = {{Icon | pyro | | Pyro | x18px}} [[Pyro]]
 
   | demo
 
   | demo
Line 172: Line 169:
 
   | roamer  
 
   | roamer  
 
   | roaming soldier = {{Icon | roamer | | Roaming Soldier | x18px}} [[Roaming Soldier]]
 
   | roaming soldier = {{Icon | roamer | | Roaming Soldier | x18px}} [[Roaming Soldier]]
  | soldier ={{Icon | soldier | | Soldier | x18px}}  [[Soldier]]
 
 
   | pyro = {{Icon | pyro | | Pyro | x18px}} [[Pyro]]
 
   | pyro = {{Icon | pyro | | Pyro | x18px}} [[Pyro]]
 
   | demo
 
   | demo
Line 198: Line 194:
 
   | roamer
 
   | roamer
 
   | roaming soldier = [[Roamer]]
 
   | roaming soldier = [[Roamer]]
  | soldier = [[Soldier]]
 
 
   | pyro = [[Pyro]]
 
   | pyro = [[Pyro]]
 
   | demo
 
   | demo
Line 216: Line 211:
 
   | roamer
 
   | roamer
 
   | roaming soldier = [[Roamer]]
 
   | roaming soldier = [[Roamer]]
  | soldier = [[Soldier]]
 
 
   | pyro = [[Pyro]]
 
   | pyro = [[Pyro]]
 
   | demo
 
   | demo
Line 234: Line 228:
 
   | roamer
 
   | roamer
 
   | roaming soldier = [[Roamer]]
 
   | roaming soldier = [[Roamer]]
  | soldier = [[Soldier]]
 
 
   | pyro = [[Pyro]]
 
   | pyro = [[Pyro]]
 
   | demo
 
   | demo
Line 316: Line 309:
 
{{!}}-
 
{{!}}-
 
{{!}} class="comptf-infobox-icons" colspan="2" style="text-align:center; height:36px" {{!}}<!--
 
{{!}} class="comptf-infobox-icons" colspan="2" style="text-align:center; height:36px" {{!}}<!--
-->{{#if:{{{tftv|}}}|[[Image:TeamfortressTV icon2.png|x24px|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|x24px|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:{{{esea|}}}|[[Image:EseaLogo.png|x24px|ESEA Player Page|link=https://play.esea.net/users/{{{esea}}}]]}}<!--
 
--> {{#if:{{{rgl|}}}|[[Image:RGL Icon.png|x24px|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|}}}]]}}<!--
Line 324: Line 316:
 
--> {{#if:{{{oldozf|}}}|[[Image:Ozfortress_icon.png|x24px|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|x24px|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:{{{logs|}}}|[[Image:Logs.tf Icon.png|x24px|Logs.tf Page|link=http://logs.tf/profile/{{{logs|}}}]]}}<!--
 
--> {{#if:{{{site|}}}|[[Image:Website Icon.png|x24px|Website|link={{{site}}}]]}}<!--
 
--> {{#if:{{{site|}}}|[[Image:Website Icon.png|x24px|Website|link={{{site}}}]]}}<!--
--> {{#if:{{{steam|}}}|[[Image:Steam Logo.png|x24px|Steam Profile|link=http://steamcommunity.com/profiles/{{{steam}}}]]}}<!--
 
 
--> {{#if:{{{twitch|}}}|[[Image:Twitch Logo.png|x24px|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|24px|YouTube Channel|link=http://www.youtube.com/{{{youtube}}}]]}}<!--
 
--> {{#if:{{{youtube|}}}|[[Image:Youtube_Logo.png|24px|YouTube Channel|link=http://www.youtube.com/{{{youtube}}}]]}}<!--
Line 350: Line 342:
 
-->{{#ifeq:{{{format|}}}|highlander||{{#if:{{{nationality|}}}|{{#ifeq:{{localisation|{{{nationality}}}}}|error
 
-->{{#ifeq:{{{format|}}}|highlander||{{#if:{{{nationality|}}}|{{#ifeq:{{localisation|{{{nationality}}}}}|error
 
|[[Category:Unrecognised Country{{!}}{{{nationality}}}]]
 
|[[Category:Unrecognised Country{{!}}{{{nationality}}}]]
|[[Category:{{localisation|{{{nationality}}}}} Players]]|}}}}<!--
+
|[[Category:{{localisation|{{{nationality}}}}} Players]]}}|[[Category:Players with unknown nationality]]}}<!--
  
 
-->{{#if:{{{nationality2|}}}|{{#ifeq:{{localisation|{{{nationality2}}}}}|error
 
-->{{#if:{{{nationality2|}}}|{{#ifeq:{{localisation|{{{nationality2}}}}}|error
Line 356: Line 348:
 
|[[Category:{{localisation|{{{nationality2}}}}} Players]]|}}}}<!--
 
|[[Category:{{localisation|{{{nationality2}}}}} Players]]|}}}}<!--
  
-->{{#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]]
+
-->{{#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]]
 
|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]]
 
|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]]
 
|argentina||bolivia|brazil|chile|colombia|ecuador|guyana|paraguay|peru|suriname|urguguay|venezuela=[[Category:South American Players]]
 
|argentina||bolivia|brazil|chile|colombia|ecuador|guyana|paraguay|peru|suriname|urguguay|venezuela=[[Category:South American Players]]
 
|australia|new zealand=[[Category:Oceania Players]]
 
|australia|new zealand=[[Category:Oceania Players]]
 
|singapore|japan|south korea|china|india|macau|hong kong|malaysia|philippines|bangladesh|pakistan|kazakhstan|iran|mongolia|vietnam|indonesia=[[Category:Asian Players]]
 
|singapore|japan|south korea|china|india|macau|hong kong|malaysia|philippines|bangladesh|pakistan|kazakhstan|iran|mongolia|vietnam|indonesia=[[Category:Asian Players]]
|#default=[[Category:Unknown Continent]]}}<!--
+
|#default=[[Category:Unrecognised continent]]}}|[[Category:Unrecognised continent]]}}<!--
 
-->{{#if:{{{active_startyear2|}}}|{{#if:{{{active_endyear2|}}}|[[Category:Inactive Players]]|[[Category:Active Players]]}}|{{#if:{{{active_endyear|}}}|[[Category:Inactive Players]]|[[Category:Active Players]]}}}}<!--
 
-->{{#if:{{{active_startyear2|}}}|{{#if:{{{active_endyear2|}}}|[[Category:Inactive Players]]|[[Category:Active Players]]}}|{{#if:{{{active_endyear|}}}|[[Category:Inactive Players]]|[[Category:Active Players]]}}}}<!--
  
Line 371: Line 363:
 
   | roaming soldier
 
   | 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

Latest revision as of 21:23, 16 April 2020