Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
m
m
Line 286: Line 286:
 
-->{{#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:{{{format|}}}{{#switch:{{lc:{{{format|}}}}}|6|6s|6v6|sixes=false}}|
+
-->{{#ifeq:{{{format|}}}|highlander||{{#if:{{{country|}}}|{{#ifeq:{{localisation|{{{country}}}}}|error
{{#ifeq:{{#switch:{{lc:{{{fomat|}}}}}|9|9s|9v9|highlander=highlander}}|highlander|<!-- HIGHLANDER/OTHER
 
-->{{#ifeq:{{localisation|{{{country}}}}}|error
 
|[[Category:Unrecognised Country{{!}}{{{country}}}]]
 
|[[Category:{{localisation|{{{country}}}}} Highlander Players]]|}}}}<!--
 
-->{{#if:{{{country2|}}}|{{#ifeq:{{localisation|{{{country2}}}}}|error
 
|[[Category:Unrecognised Country{{!}}{{{country2}}}]]
 
|[[Category:{{localisation|{{{country2}}}}} Highlander Players]]|}}}}<!--
 
-->{{#if:{{{active_endyear|}}}|[[Category:Inactive Highlander Players]]|[[Category:Active Highlander Players]]}}<!--
 
-->[[Category:Highlander Players]]<!--
 
-->{{#if:{{{class|}}}|{{#switch:{{lc: {{{class|}}} }}
 
  | scout = [[Category:Highlander Scouts]]
 
  | soldier = [[Category:Highlander Soldiers]]
 
  | pyro  = [[Category:Highlander Pyros]]
 
  | demo
 
  | demoman = [[Category:Highlander Demomen]]
 
  | heavy
 
  | heavyweapons = [[Category:Highlander Heavies]]
 
  | engi
 
  | engie
 
  | engineer = [[Category:Highlander Engineers]]
 
  | medic = [[Category:Highlander Medics]]
 
  | sniper = [[Category:Highlander Snipers]]
 
  | spy = [[Category:Highlander Spies]]
 
}}}}|}}<!-- SIXES
 
-->|{{#ifeq:{{localisation|{{{country}}}}}|error
 
 
|[[Category:Unrecognised Country{{!}}{{{country}}}]]
 
|[[Category:Unrecognised Country{{!}}{{{country}}}]]
 
|[[Category:{{localisation|{{{country}}}}} Players]]|}}}}<!--
 
|[[Category:{{localisation|{{{country}}}}} Players]]|}}}}<!--
Line 318: Line 293:
 
|[[Category:{{localisation|{{{country2}}}}} Players]]|}}}}<!--
 
|[[Category:{{localisation|{{{country2}}}}} Players]]|}}}}<!--
 
-->{{#if:{{{active_endyear|}}}|[[Category:Inactive Players]]|[[Category:Active Players]]}}<!--
 
-->{{#if:{{{active_endyear|}}}|[[Category:Inactive Players]]|[[Category:Active Players]]}}<!--
-->[[Category:6v6 Players]]<!--
+
-->{{#if:{{{format|}}}|{{#switch:{{lc:{{{format|}}}}}|6|6s|6v6|sixes=[[Category:6v6 Players]]|#default=[[Category:{{{format|}}} Players]]}}|[[Category:6v6 Players]]}}<!--
 
-->{{#if:{{{class|}}}|{{#switch:{{lc: {{{class|}}} }}
 
-->{{#if:{{{class|}}}|{{#switch:{{lc: {{{class|}}} }}
 
   | scout = [[Category:Scouts]]
 
   | scout = [[Category:Scouts]]

Revision as of 13:21, 15 December 2019