Difference between revisions of "Template:InfoboxPlayer"

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

Revision as of 13:32, 13 December 2019