Difference between revisions of "Template:NavboxClass"

From comp.tf
Jump to navigation Jump to search
m
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
| templatename = NavboxClass
 
| templatename = NavboxClass
 
| collapsed = true
 
| collapsed = true
| title = {{Icon|{{#switch:{{lc:{{{1|}}}}}
+
| title = {{#switch: {{lc: {{{1|}}} }}
   | scout = Scout
+
   | scout =  {{Icon | scout | | Scout | x20px |middle=true}} [[:Category:Scouts|Scouts]]
  | pocket
+
   | pocket  
  | pocket soldier = Pocket Soldier
+
   | pocket soldier = {{Icon | pocket | | Pocket Soldier | x20px |middle=true}} [[:Category:Pocket Soldiers|Pocket Soldiers]]
  | roamer
+
   | roamer  
  | roaming soldier = Roaming Soldier
+
   | roaming soldier = {{Icon | roamer | | Roaming Soldier | x20px |middle=true}} [[:Category:Roaming Soldiers|Roaming Soldiers]]
  | soldier = Soldier
+
   | soldier ={{Icon | soldier | | Soldier | x20px |middle=true}} [[:Category:Soldiers|Soldiers]]
  | pyro = Pyro
+
   | pyro = {{Icon | pyro | | Pyro | x20px |middle=true}} [[:Category:Pyros|Pyros]]
  | demo
 
  | demoman = Demoman
 
  | heavy
 
  | heavyweapons = Heavy
 
  | engi
 
  | engie
 
  | engineer = Engineer
 
  | medic = Medic
 
  | sniper = Sniper
 
  | spy = Spy
 
}}||{{#switch:{{lc:{{{1|}}}}}
 
  | scout = Scout
 
   | pocket
 
   | pocket soldier = Pocket Soldier
 
  | roamer
 
  | roaming soldier = Roaming Soldier
 
  | soldier = Soldier
 
  | pyro  = Pyro
 
  | demo
 
  | demoman = Demoman
 
  | heavy
 
  | heavyweapons = Heavy
 
  | engi
 
  | engie
 
  | engineer = Engineer
 
  | medic = Medic
 
  | sniper = Sniper
 
  | spy = Spy
 
}}|x20px}} [[:Category:{{#switch:{{lc:{{{1|}}}}}
 
  | scout = Scouts
 
  | pocket
 
  | pocket soldier = Pocket Soldiers
 
   | roamer
 
   | roaming soldier = Roaming Soldiers
 
  | soldier = Soldiers
 
  | pyro  = Pyros
 
  | demo
 
  | demoman = Demomen
 
  | heavy
 
   | heavyweapons = Heavies
 
  | engi
 
  | engie
 
  | engineer = Engineers
 
  | medic = Medics
 
  | sniper = Snipers
 
  | spy = Spies
 
}}|{{#switch:{{lc:{{{1|}}}}}
 
   | scout = Scouts
 
  | pocket
 
  | pocket soldier = Pocket Soldiers
 
  | roamer
 
  | roaming soldier = Roaming Soldiers
 
  | soldier = Soldiers
 
  | pyro  = Pyros
 
 
   | demo
 
   | demo
   | demoman = Demomen
+
   | demoman = {{Icon | demoman | | Demoman | x20px |middle=true}} [[:Category:Demomen|Demomen]]
 
   | heavy
 
   | heavy
   | heavyweapons = Heavies
+
   | heavyweapons = {{Icon | heavy | | Heavy | x20px |middle=true}} [[:Category:Heavies|Heavies]]
 
   | engi
 
   | engi
 
   | engie
 
   | engie
   | engineer = Engineers
+
   | engineer = {{Icon | engineer | | Engineer | x20px |middle=true}} [[:Category:Engineers|Engineers]]
   | medic = Medics
+
   | medic = {{Icon | medic | | Medic | x20px |middle=true}} [[:Category:Medics|Medics]]
   | sniper = Snipers
+
   | sniper = {{Icon | sniper | | Sniper | x20px |middle=true}} [[:Category:Snipers|Snipers]]
   | spy = Spies
+
   | spy = {{Icon | spy | | Spy | x20px |middle=true}} [[:Category:Spies|Spies]]
}}]]
+
}}
 
| group1 = [[:Category:Active Players|Active]]
 
| group1 = [[:Category:Active Players|Active]]
 
| list1 = {{#ask:[[Category:Active Players]][[Category:6v6 Players]][[Category:{{#switch:{{lc:{{{1|}}}}}
 
| list1 = {{#ask:[[Category:Active Players]][[Category:6v6 Players]][[Category:{{#switch:{{lc:{{{1|}}}}}
Line 94: Line 40:
 
   | sniper = Snipers
 
   | sniper = Snipers
 
   | spy = Spies
 
   | spy = Spies
}}]]|?has aid|mainlabel=-|format=list|headers=hide|sep= · |template=SMWDeleteFirstChar}}
+
}}]]|?has )id|mainlabel=-|format=list|headers=hide|sep= · |template=SMWDeleteFirstChar}}
 
| group2 = [[:Category:Inactive Players|Inactive]]
 
| group2 = [[:Category:Inactive Players|Inactive]]
 
| list2 = {{#ask:[[Category:Inactive Players]][[Category:6v6 Players]][[Category:{{#switch:{{lc:{{{1|}}}}}
 
| list2 = {{#ask:[[Category:Inactive Players]][[Category:6v6 Players]][[Category:{{#switch:{{lc:{{{1|}}}}}
Line 114: Line 60:
 
   | sniper = Snipers
 
   | sniper = Snipers
 
   | spy = Spies
 
   | spy = Spies
}}]]|?has -id|mainlabel=-|format=list|headers=hide|sep= · |template=SMWDeleteFirstChar}}
+
}}]]|?has )id|mainlabel=-|format=list|headers=hide|sep= · |template=SMWDeleteFirstChar}}
 
}}
 
}}

Latest revision as of 03:07, 25 April 2020