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:{{{country|}}}|{{#ifeq:{{localisation|{{{country}}}}}|error
+
-->{{#if:{{{format|}}}{{#switch:{{lc:{{{format|}}}}}|6|6s|6v6|sixes=false}}|{{#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 293: Line 317:
 
|[[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]]}}<!--
-->{{#if:{{{format|}}}|{{#switch:{{lc:{{{format|}}}}}|6|6s|6v6|sixes=[[Category:6v6 Players]]|#default=[[Category:{{{format|}}} Players]]}}|[[Category:6v6 Players]]}}<!--
+
-->[[6v6 Players]]<!--
 
-->{{#if:{{{class|}}}|{{#switch:{{lc: {{{class|}}} }}
 
-->{{#if:{{{class|}}}|{{#switch:{{lc: {{{class|}}} }}
 
   | scout = [[Category:Scouts]]
 
   | scout = [[Category:Scouts]]
Line 310: Line 334:
 
   | 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]]}}<!--

Revision as of 13:15, 15 December 2019