Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
m
m (Undo revision 59911 by Garlic (talk))
Line 186: Line 186:
 
-->{{#if:{{{misc_links|}}}|{{{misc_links|}}}|}}
 
-->{{#if:{{{misc_links|}}}|{{{misc_links|}}}|}}
 
|}<!--
 
|}<!--
 +
 +
 +
 +
 +
CATEGORIES
 +
 +
 +
 +
 +
-->{{#ifeq:{{NAMESPACE}}||<!--
 +
-->{{#if:{{{image|}}}||[[Category:Players with no infobox picture]]}}<!--
 +
-->{{#if:{{{caption|}}}||[[Category:Players with no infobox picture caption]]}}<!--
 +
-->{{#if:{{{name|}}}||[[Category:Players with unknown name]]}}<!--
 +
-->{{#if:{{{birth_year|}}}||[[Category:People with an unknown birth date]]}}<!--
 +
-->{{#if:{{{death_year|}}}||[[Category:Deceased players]]}}<!--
 +
-->{{#if:{{{country|}}}|{{#ifeq:{{localisation|{{{country}}}}}|error
 +
|[[Category:Unrecognised Country{{!}}{{{country}}}]]
 +
|[[Category:{{localisation|{{{country}}}}} Players]]}}|}}}}<!--
 +
-->{{#if:{{{country2|}}}|{{#ifeq:{{localisation|{{{country2}}}}}|error
 +
|[[Category:Unrecognised Country{{!}}{{{country2}}}]]
 +
|[[Category:{{localisation|{{{country2}}}}} Players]]|}}}}<!--
 +
-->{{#if:{{{active_endyear|}}}|[[Category:Inactive Players]]|[[Category:Active Players]]}}<!--
 +
-->{{#if:{{{role|}}}|{{#switch:{{lc: {{{role|}}} }}
 +
  | scout = [[Category:Scouts]]
 +
  | pocket = [[Category:Pocket Soldiers]][[Category:Soldiers]]
 +
  | roamer = [[Category:Roaming Soldiers]][[Category:Soldiers]]
 +
  | soldier = [[Category:Soldiers]]
 +
  | pyro  = [[Category:Pyros]]
 +
  | demo
 +
  | demoman = [[Category:Demomen]]
 +
  | heavy
 +
  | heavyweapons = [[Category:Heavies]]
 +
  | engi
 +
  | engie
 +
  | engineer = [[Category:Engineers]]
 +
  | medic = [[Category:Medics]]
 +
  | sniper = [[Category:Snipers]]
 +
  | spy = [[Category:Spies]]
 +
}}}}<!--
 +
-->{{#if:{{{role2|}}}|{{#switch:{{lc: {{{role2|}}} }}
 +
  | scout = [[Category:Scouts]]
 +
  | pocket = [[Category:Pocket Soldiers]][[Category:Soldiers]]
 +
  | roamer = [[Category:Roaming Soldiers]][[Category:Soldiers]]
 +
  | soldier = [[Category:Soldiers]]
 +
  | pyro  = [[Category:Pyros]]
 +
  | demo
 +
  | demoman = [[Category:Demomen]]
 +
  | heavy
 +
  | heavyweapons = [[Category:Heavies]]
 +
  | engi
 +
  | engie
 +
  | engineer = [[Category:Engineers]]
 +
  | medic = [[Category:Medics]]
 +
  | sniper = [[Category:Snipers]]
 +
  | spy = [[Category:Spies]]
 +
}}}}<!--
 +
-->{{#if:{{{career_winnings|}}}||[[Category:Players with unknown career winnings]]}}<!--
 +
-->{{#if:{{{team_history|}}}||[[Category:Players with no team histories]]}}<!--
 +
-->{{#if:{{{tftv|}}}{{{rgl|}}}{{{etf2l|}}}{{{ozf|}}}{{{site|}}}{{{steam|}}}{{{twitch|}}}{{{youtube|}}}{{{twitter|}}}||[[Category:Players with no links]]}}<!--
 +
-->[[Category:Players]]|}}<!--
  
  

Revision as of 11:45, 10 December 2019