Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
m
m
Line 127: Line 127:
  
 
-->
 
-->
{{#if:{{{other_mains1|}}}|
+
{{#if:{{{other_main1|}}}|
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- class="comptf-infobox-info"
{{!}} class="comptf-infobox-header" {{!}} '''Other Main{{#if:{{{other_mains2}}}|s}}'''
+
{{!}} class="comptf-infobox-header" {{!}} '''Other Main{{#if:{{{other_mains}}}|s}}'''
| class="comptf-infobox-body" |{{#if:{{{other_mains1|}}}|{{#switch: {{lc: {{{other_mains1|}}} }}
+
| class="comptf-infobox-body" |{{#if:{{{other_main1|}}}|{{#switch: {{lc: {{{other_main1|}}} }}
 
   | scout =  {{Icon | scout | | Scout | x18px}} [[:Category:Scouts|Scout]]
 
   | scout =  {{Icon | scout | | Scout | x18px}} [[:Category:Scouts|Scout]]
 
   | pocket = {{Icon | pocket | | Pocket Soldier | x18px}} [[:Category:Pocket Soldiers|Pocket]]
 
   | pocket = {{Icon | pocket | | Pocket Soldier | x18px}} [[:Category:Pocket Soldiers|Pocket]]
Line 146: Line 146:
 
   | sniper = {{Icon | sniper | | Sniper | x18px}} [[:Category:Snipers|Sniper]]
 
   | sniper = {{Icon | sniper | | Sniper | x18px}} [[:Category:Snipers|Sniper]]
 
   | spy = {{Icon | spy | | Spy | x18px}} [[:Category:Spies|Spy]]
 
   | spy = {{Icon | spy | | Spy | x18px}} [[:Category:Spies|Spy]]
}}{{#if:{{{other_mains2|}}}|{{#switch: {{lc: {{{other_mains2|}}} }}
+
}}{{#if:{{{other_mains|}}}|{{#switch: {{lc: {{{other_mains|}}} }}
 
   | scout =  {{Icon | scout | | Scout | x18px}} [[:Category:Scouts|Scout]]
 
   | scout =  {{Icon | scout | | Scout | x18px}} [[:Category:Scouts|Scout]]
 
   | pocket = {{Icon | pocket | | Pocket Soldier | x18px}} [[:Category:Pocket Soldiers|Pocket]]
 
   | pocket = {{Icon | pocket | | Pocket Soldier | x18px}} [[:Category:Pocket Soldiers|Pocket]]
Line 163: Line 163:
 
   | spy = {{Icon | spy | | Spy | x18px}} [[:Category:Spies|Spy]]
 
   | spy = {{Icon | spy | | Spy | x18px}} [[:Category:Spies|Spy]]
 
}}|}}
 
}}|}}
|}}
+
|}}<!--
  
 
CAREER WINNINGS
 
CAREER WINNINGS

Revision as of 13:21, 13 December 2019