Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
m (Garlic moved page Template:Infobox Player to Template:InfoboxPlayer without leaving a redirect)
m
Line 122: Line 122:
 
   | 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:{{{role2|}}}|<br>{{#switch: {{lc: {{{role2|}}} }}
+
}}<!--
 +
 
 +
OTHER MAINS
 +
 
 +
-->
 +
{{#if:{{{other_mains1|}}}|
 +
{{!}}- class="comptf-infobox-info"
 +
{{!}} class="comptf-infobox-header" {{!}} '''Other Main{{#if:{{{other_mains2}}}|s}}'''
 +
| class="comptf-infobox-body" |{{#if:{{{other_mains1|}}}|{{#switch: {{lc: {{{other_mains1|}}} }}
 +
  | scout =  {{Icon | scout | | Scout | x18px}} [[:Category:Scouts|Scout]]
 +
  | pocket = {{Icon | pocket | | Pocket Soldier | x18px}} [[:Category:Pocket Soldiers|Pocket]]
 +
  | roamer = {{Icon | roamer | | Roaming Soldier | x18px}} [[:Category:Roaming Soldiers|Roamer]]
 +
  | soldier ={{Icon | soldier | | Soldier | x18px}}  [[:Category:Soldiers|Soldier]]
 +
  | pyro = {{Icon | pyro | | Pyro | x18px}} [[:Category:Pyros|Pyro]]
 +
  | demo
 +
  | demoman = {{Icon | demoman | | Demoman | x18px}} [[:Category:Demomen|Demoman]]
 +
  | heavy
 +
  | heavyweapons = {{Icon | heavy | | Heavy | x18px}} [[:Category:Heavies|Heavy]]
 +
  | engi
 +
  | engie
 +
  | engineer = {{Icon | engineer | | Engineer | x18px}} [[:Category:Engineers|Engineer]]
 +
  | medic = {{Icon | medic | | Medic | x18px}} [[:Category:Medics|Medic]]
 +
  | sniper = {{Icon | sniper | | Sniper | x18px}} [[:Category:Snipers|Sniper]]
 +
  | spy = {{Icon | spy | | Spy | x18px}} [[:Category:Spies|Spy]]
 +
}}{{#if:{{{other_mains2|}}}|{{#switch: {{lc: {{{other_mains2|}}} }}
 
   | 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 138: Line 162:
 
   | 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]]
}}|}}<!--
+
}}|}}
 +
|}}
  
 
CAREER WINNINGS
 
CAREER WINNINGS
Line 190: Line 215:
 
! class="comptf-infobox-subtitle" colspan="2" {{!}} Team History
 
! class="comptf-infobox-subtitle" colspan="2" {{!}} Team History
 
{{!}}- style="background-color:#fff"
 
{{!}}- style="background-color:#fff"
{{!}} colspan="2" {{!}} <div style="font-size:11px; overflow: hidden; padding:0 2px; text-align:center;"><div style="float:left;width:25%;">'''Years'''</div><div style="float:left;width:50%;;">'''Team'''</div><div style="float:right;width:25%;">'''{{abbr|Winnings|Approx. total winnings (USD)}}'''</div></div>
+
{{!}} colspan="2" {{!}} <div style="font-size:11px; overflow: hidden; padding:0 2px; text-align:center;"><div style="float:left;width:50%;">'''Years'''</div><div style="float:left;width:50%;;">'''Team'''</div></div>
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="2" {{!}} {{{team_history|}}}
 
{{!}} colspan="2" {{!}} {{{team_history|}}}

Revision as of 13:19, 13 December 2019