Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
m
m
Line 106: Line 106:
 
| class="playerinfobox-subheader" | '''Role{{#if:{{{role2|}}}|s|}}'''
 
| class="playerinfobox-subheader" | '''Role{{#if:{{{role2|}}}|s|}}'''
 
| class="playerinfobox-body" |{{#switch: {{lc: {{{role|}}} }}
 
| class="playerinfobox-body" |{{#switch: {{lc: {{{role|}}} }}
   | scout =  {{Icon | scout | | Scout}} [[:Category:Scouts|Scout]]
+
   | scout =  {{Icon | scout | | Scout | x19px}} [[:Category:Scouts|Scout]]
   | pocket = {{Icon | pocket | | Pocket Soldier}} [[:Category:Pocket Soldiers|Pocket]]
+
   | pocket = {{Icon | pocket | | Pocket Soldier | x19px}} [[:Category:Pocket Soldiers|Pocket]]
   | roamer = {{Icon | roamer | | Roaming Soldier}} [[:Category:Roaming Soldiers|Roamer]]
+
   | roamer = {{Icon | roamer | | Roaming Soldier | x19px}} [[:Category:Roaming Soldiers|Roamer]]
   | soldier ={{Icon | soldier | | Soldier}}  [[:Category:Soldiers|Soldier]]
+
   | soldier ={{Icon | soldier | | Soldier | x19px}}  [[:Category:Soldiers|Soldier]]
   | pyro = {{Icon | pyro | | Pyro}} [[:Category:Pyros|Pyro]]
+
   | pyro = {{Icon | pyro | | Pyro | x19px}} [[:Category:Pyros|Pyro]]
 
   | demo
 
   | demo
   | demoman = {{Icon | demoman | | Demoman}} [[:Category:Demomen|Demoman]]
+
   | demoman = {{Icon | demoman | | Demoman | x19px}} [[:Category:Demomen|Demoman]]
 
   | heavy
 
   | heavy
   | heavyweapons = {{Icon | heavy | | Heavy}} [[:Category:Heavies|Heavy]]
+
   | heavyweapons = {{Icon | heavy | | Heavy | x19px}} [[:Category:Heavies|Heavy]]
 
   | engi
 
   | engi
 
   | engie
 
   | engie
   | engineer = {{Icon | engineer | | Engineer}} [[:Category:Engineers|Engineer]]
+
   | engineer = {{Icon | engineer | | Engineer | x19px}} [[:Category:Engineers|Engineer]]
   | medic = {{Icon | medic | | Medic}} [[:Category:Medics|Medic]]
+
   | medic = {{Icon | medic | | Medic | x19px}} [[:Category:Medics|Medic]]
   | sniper = {{Icon | sniper | | Sniper}} [[:Category:Snipers|Sniper]]
+
   | sniper = {{Icon | sniper | | Sniper | x19px}} [[:Category:Snipers|Sniper]]
   | spy = {{Icon | spy | | Spy}} [[:Category:Spies|Spy]]
+
   | spy = {{Icon | spy | | Spy | x19px}} [[:Category:Spies|Spy]]
 
}}{{#if:{{{role2|}}}|<br>{{#switch: {{lc: {{{role2|}}} }}
 
}}{{#if:{{{role2|}}}|<br>{{#switch: {{lc: {{{role2|}}} }}
   | scout =  {{Icon | scout | | Scout}} [[:Category:Scouts|Scout]]
+
   | scout =  {{Icon | scout | | Scout | x19px}} [[:Category:Scouts|Scout]]
   | pocket = {{Icon | pocket | | Pocket Soldier}} [[:Category:Pocket Soldiers|Pocket]]
+
   | pocket = {{Icon | pocket | | Pocket Soldier | x19px}} [[:Category:Pocket Soldiers|Pocket]]
   | roamer = {{Icon | roamer | | Roaming Soldier}} [[:Category:Roaming Soldiers|Roamer]]
+
   | roamer = {{Icon | roamer | | Roaming Soldier | x19px}} [[:Category:Roaming Soldiers|Roamer]]
   | soldier ={{Icon | soldier | | Soldier}}  [[:Category:Soldiers|Soldier]]
+
   | soldier ={{Icon | soldier | | Soldier | x19px}}  [[:Category:Soldiers|Soldier]]
   | pyro = {{Icon | pyro | | Pyro}} [[:Category:Pyros|Pyro]]
+
   | pyro = {{Icon | pyro | | Pyro | x19px}} [[:Category:Pyros|Pyro]]
 
   | demo
 
   | demo
   | demoman = {{Icon | demoman | | Demoman}} [[:Category:Demomen|Demoman]]
+
   | demoman = {{Icon | demoman | | Demoman | x19px}} [[:Category:Demomen|Demoman]]
 
   | heavy
 
   | heavy
   | heavyweapons = {{Icon | heavy | | Heavy}} [[:Category:Heavies|Heavy]]
+
   | heavyweapons = {{Icon | heavy | | Heavy | x19px}} [[:Category:Heavies|Heavy]]
 
   | engi
 
   | engi
 
   | engie
 
   | engie
   | engineer = {{Icon | engineer | | Engineer}} [[:Category:Engineers|Engineer]]
+
   | engineer = {{Icon | engineer | | Engineer | x19px}} [[:Category:Engineers|Engineer]]
   | medic = {{Icon | medic | | Medic}} [[:Category:Medics|Medic]]
+
   | medic = {{Icon | medic | | Medic | x19px}} [[:Category:Medics|Medic]]
   | sniper = {{Icon | sniper | | Sniper}} [[:Category:Snipers|Sniper]]
+
   | sniper = {{Icon | sniper | | Sniper | x19px}} [[:Category:Snipers|Sniper]]
   | spy = {{Icon | spy | | Spy}} [[:Category:Spies|Spy]]
+
   | spy = {{Icon | spy | | Spy | x19px}} [[:Category:Spies|Spy]]
 
}}|}}<!--
 
}}|}}<!--
  

Revision as of 07:22, 11 December 2019