Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
m
Line 287: Line 287:
 
-->{{#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]]}}<!--
-->{{#ifeq:{{{format|}}}|highlander||{{#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]]|}}}}<!--
-->{{#if:{{{country2|}}}|{{#ifeq:{{localisation|{{{country2}}}}}|error
+
-->{{#if:{{{nationality2|}}}|{{#ifeq:{{localisation|{{{nationality2}}}}}|error
|[[Category:Unrecognised Country{{!}}{{{country2}}}]]
+
|[[Category:Unrecognised Country{{!}}{{{nationality2}}}]]
|[[Category:{{localisation|{{{country2}}}}} Players]]|}}}}<!--
+
|[[Category:{{localisation|{{{nationality2}}}}} Players]]|}}}}<!--
 
-->{{#if:{{{active_endyear|}}}|[[Category:Inactive Players]]|[[Category:Active Players]]}}<!--
 
-->{{#if:{{{active_endyear|}}}|[[Category:Inactive Players]]|[[Category:Active Players]]}}<!--
 
-->{{#if:{{{format|}}}|{{#switch:{{lc:{{{format|}}}}}|6|6s|6v6|sixes=[[Category:6v6 Players]]|#default=[[Category:{{{format|}}} Players]]}}|[[Category:6v6 Players]]}}<!--
 
-->{{#if:{{{format|}}}|{{#switch:{{lc:{{{format|}}}}}|6|6s|6v6|sixes=[[Category:6v6 Players]]|#default=[[Category:{{{format|}}} Players]]}}|[[Category:6v6 Players]]}}<!--

Revision as of 10:17, 17 December 2019