Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
Line 343: Line 343:
 
-->{{#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:Unrecognised Country]]}}<!--
+
|[[Category:{{localisation|{{{nationality}}}}} Players]]}}|[[Category:Players with unknown nationality]]}}<!--
  
 
-->{{#if:{{{nationality2|}}}|{{#ifeq:{{localisation|{{{nationality2}}}}}|error
 
-->{{#if:{{{nationality2|}}}|{{#ifeq:{{localisation|{{{nationality2}}}}}|error
Line 349: Line 349:
 
|[[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]]}}}}<!--
  

Revision as of 16:58, 12 April 2020