Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
m
m (removing icons from other mains)
Line 131: Line 131:
 
{{!}} class="comptf-infobox-header" {{!}} '''Other Main{{#if:{{{other_mains}}}|s}}'''
 
{{!}} class="comptf-infobox-header" {{!}} '''Other Main{{#if:{{{other_mains}}}|s}}'''
 
{{!}} class="comptf-infobox-body" {{!}}{{#switch: {{lc: {{{other_main1|}}} }}
 
{{!}} class="comptf-infobox-body" {{!}}{{#switch: {{lc: {{{other_main1|}}} }}
   | scout =  {{Icon | scout | | Scout | x18px}} [[:Category:Scouts|Scout]]
+
   | scout =  [[:Category:Scouts|Scout]]
   | pocket = {{Icon | pocket | | Pocket Soldier | x18px}} [[:Category:Pocket Soldiers|Pocket]]
+
   | pocket = [[:Category:Pocket Soldiers|Pocket]]
   | roamer = {{Icon | roamer | | Roaming Soldier | x18px}} [[:Category:Roaming Soldiers|Roamer]]
+
   | roamer = [[:Category:Roaming Soldiers|Roamer]]
   | soldier ={{Icon | soldier | | Soldier | x18px}}  [[:Category:Soldiers|Soldier]]
+
   | soldier = [[:Category:Soldiers|Soldier]]
   | pyro = {{Icon | pyro | | Pyro | x18px}} [[:Category:Pyros|Pyro]]
+
   | pyro = [[:Category:Pyros|Pyro]]
 
   | demo
 
   | demo
   | demoman = {{Icon | demoman | | Demoman | x18px}} [[:Category:Demomen|Demoman]]
+
   | demoman = [[:Category:Demomen|Demoman]]
 
   | heavy
 
   | heavy
   | heavyweapons = {{Icon | heavy | | Heavy | x18px}} [[:Category:Heavies|Heavy]]
+
   | heavyweapons = [[:Category:Heavies|Heavy]]
 
   | engi
 
   | engi
 
   | engie
 
   | engie
   | engineer = {{Icon | engineer | | Engineer | x18px}} [[:Category:Engineers|Engineer]]
+
   | engineer = [[:Category:Engineers|Engineer]]
   | medic = {{Icon | medic | | Medic | x18px}} [[:Category:Medics|Medic]]
+
   | medic = [[:Category:Medics|Medic]]
   | sniper = {{Icon | sniper | | Sniper | x18px}} [[:Category:Snipers|Sniper]]
+
   | sniper = [[:Category:Snipers|Sniper]]
   | spy = {{Icon | spy | | Spy | x18px}} [[:Category:Spies|Spy]]
+
   | spy = [[:Category:Spies|Spy]]
}}{{#if:{{{other_main2|}}}|<br>{{#switch: {{lc: {{{other_main2|}}} }}
+
}}{{#if:{{{other_main2|}}}|, {{#switch: {{lc: {{{other_main2|}}} }}
   | scout =  {{Icon | scout | | Scout | x18px}} [[:Category:Scouts|Scout]]
+
   | scout =  [[:Category:Scouts|Scout]]
   | pocket = {{Icon | pocket | | Pocket Soldier | x18px}} [[:Category:Pocket Soldiers|Pocket]]
+
   | pocket = [[:Category:Pocket Soldiers|Pocket]]
   | roamer = {{Icon | roamer | | Roaming Soldier | x18px}} [[:Category:Roaming Soldiers|Roamer]]
+
   | roamer = [[:Category:Roaming Soldiers|Roamer]]
   | soldier ={{Icon | soldier | | Soldier | x18px}}  [[:Category:Soldiers|Soldier]]
+
   | soldier = [[:Category:Soldiers|Soldier]]
   | pyro = {{Icon | pyro | | Pyro | x18px}} [[:Category:Pyros|Pyro]]
+
   | pyro = [[:Category:Pyros|Pyro]]
 
   | demo
 
   | demo
   | demoman = {{Icon | demoman | | Demoman | x18px}} [[:Category:Demomen|Demoman]]
+
   | demoman = [[:Category:Demomen|Demoman]]
 
   | heavy
 
   | heavy
   | heavyweapons = {{Icon | heavy | | Heavy | x18px}} [[:Category:Heavies|Heavy]]
+
   | heavyweapons = [[:Category:Heavies|Heavy]]
 
   | engi
 
   | engi
 
   | engie
 
   | engie
   | engineer = {{Icon | engineer | | Engineer | x18px}} [[:Category:Engineers|Engineer]]
+
   | engineer = [[:Category:Engineers|Engineer]]
   | medic = {{Icon | medic | | Medic | x18px}} [[:Category:Medics|Medic]]
+
   | medic = [[:Category:Medics|Medic]]
   | sniper = {{Icon | sniper | | Sniper | x18px}} [[:Category:Snipers|Sniper]]
+
   | sniper = [[:Category:Snipers|Sniper]]
   | spy = {{Icon | spy | | Spy | x18px}} [[:Category:Spies|Spy]]
+
   | spy = [[:Category:Spies|Spy]]
 
}}|}}
 
}}|}}
 
|}}<!--
 
|}}<!--

Revision as of 13:24, 13 December 2019