Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
m
m
Line 98: Line 98:
 
|- class="playerinfobox-info"
 
|- class="playerinfobox-info"
 
| class="playerinfobox-subheader" | '''Team'''
 
| class="playerinfobox-subheader" | '''Team'''
| class="playerinfobox-body" | [[File:{{{team|}}} Icon.png|x19px|link={{{team|}}}]] [[{{{team|}}}]]<!--
+
| class="playerinfobox-body" | [[File:{{{team|}}} Icon.png|x18px|link={{{team|}}}]] [[{{{team|}}}]]<!--
  
 
ROLE
 
ROLE
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 | x19px}} [[:Category:Scouts|Scout]]
+
   | scout =  {{Icon | scout | | Scout | x18px}} [[:Category:Scouts|Scout]]
   | pocket = {{Icon | pocket | | Pocket Soldier | x19px}} [[:Category:Pocket Soldiers|Pocket]]
+
   | pocket = {{Icon | pocket | | Pocket Soldier | x18px}} [[:Category:Pocket Soldiers|Pocket]]
   | roamer = {{Icon | roamer | | Roaming Soldier | x19px}} [[:Category:Roaming Soldiers|Roamer]]
+
   | roamer = {{Icon | roamer | | Roaming Soldier | x18px}} [[:Category:Roaming Soldiers|Roamer]]
   | soldier ={{Icon | soldier | | Soldier | x19px}}  [[:Category:Soldiers|Soldier]]
+
   | soldier ={{Icon | soldier | | Soldier | x18px}}  [[:Category:Soldiers|Soldier]]
   | pyro = {{Icon | pyro | | Pyro | x19px}} [[:Category:Pyros|Pyro]]
+
   | pyro = {{Icon | pyro | | Pyro | x18px}} [[:Category:Pyros|Pyro]]
 
   | demo
 
   | demo
   | demoman = {{Icon | demoman | | Demoman | x19px}} [[:Category:Demomen|Demoman]]
+
   | demoman = {{Icon | demoman | | Demoman | x18px}} [[:Category:Demomen|Demoman]]
 
   | heavy
 
   | heavy
   | heavyweapons = {{Icon | heavy | | Heavy | x19px}} [[:Category:Heavies|Heavy]]
+
   | heavyweapons = {{Icon | heavy | | Heavy | x18px}} [[:Category:Heavies|Heavy]]
 
   | engi
 
   | engi
 
   | engie
 
   | engie
   | engineer = {{Icon | engineer | | Engineer | x19px}} [[:Category:Engineers|Engineer]]
+
   | engineer = {{Icon | engineer | | Engineer | x18px}} [[:Category:Engineers|Engineer]]
   | medic = {{Icon | medic | | Medic | x19px}} [[:Category:Medics|Medic]]
+
   | medic = {{Icon | medic | | Medic | x18px}} [[:Category:Medics|Medic]]
   | sniper = {{Icon | sniper | | Sniper | x19px}} [[:Category:Snipers|Sniper]]
+
   | sniper = {{Icon | sniper | | Sniper | x18px}} [[:Category:Snipers|Sniper]]
   | spy = {{Icon | spy | | Spy | x19px}} [[:Category:Spies|Spy]]
+
   | spy = {{Icon | spy | | Spy | x18px}} [[:Category:Spies|Spy]]
 
}}{{#if:{{{role2|}}}|<br>{{#switch: {{lc: {{{role2|}}} }}
 
}}{{#if:{{{role2|}}}|<br>{{#switch: {{lc: {{{role2|}}} }}
   | scout =  {{Icon | scout | | Scout | x19px}} [[:Category:Scouts|Scout]]
+
   | scout =  {{Icon | scout | | Scout | x18px}} [[:Category:Scouts|Scout]]
   | pocket = {{Icon | pocket | | Pocket Soldier | x19px}} [[:Category:Pocket Soldiers|Pocket]]
+
   | pocket = {{Icon | pocket | | Pocket Soldier | x18px}} [[:Category:Pocket Soldiers|Pocket]]
   | roamer = {{Icon | roamer | | Roaming Soldier | x19px}} [[:Category:Roaming Soldiers|Roamer]]
+
   | roamer = {{Icon | roamer | | Roaming Soldier | x18px}} [[:Category:Roaming Soldiers|Roamer]]
   | soldier ={{Icon | soldier | | Soldier | x19px}}  [[:Category:Soldiers|Soldier]]
+
   | soldier ={{Icon | soldier | | Soldier | x18px}}  [[:Category:Soldiers|Soldier]]
   | pyro = {{Icon | pyro | | Pyro | x19px}} [[:Category:Pyros|Pyro]]
+
   | pyro = {{Icon | pyro | | Pyro | x18px}} [[:Category:Pyros|Pyro]]
 
   | demo
 
   | demo
   | demoman = {{Icon | demoman | | Demoman | x19px}} [[:Category:Demomen|Demoman]]
+
   | demoman = {{Icon | demoman | | Demoman | x18px}} [[:Category:Demomen|Demoman]]
 
   | heavy
 
   | heavy
   | heavyweapons = {{Icon | heavy | | Heavy | x19px}} [[:Category:Heavies|Heavy]]
+
   | heavyweapons = {{Icon | heavy | | Heavy | x18px}} [[:Category:Heavies|Heavy]]
 
   | engi
 
   | engi
 
   | engie
 
   | engie
   | engineer = {{Icon | engineer | | Engineer | x19px}} [[:Category:Engineers|Engineer]]
+
   | engineer = {{Icon | engineer | | Engineer | x18px}} [[:Category:Engineers|Engineer]]
   | medic = {{Icon | medic | | Medic | x19px}} [[:Category:Medics|Medic]]
+
   | medic = {{Icon | medic | | Medic | x18px}} [[:Category:Medics|Medic]]
   | sniper = {{Icon | sniper | | Sniper | x19px}} [[:Category:Snipers|Sniper]]
+
   | sniper = {{Icon | sniper | | Sniper | x18px}} [[:Category:Snipers|Sniper]]
   | spy = {{Icon | spy | | Spy | x19px}} [[:Category:Spies|Spy]]
+
   | spy = {{Icon | spy | | Spy | x18px}} [[:Category:Spies|Spy]]
 
}}|}}<!--
 
}}|}}<!--
  
Line 187: Line 187:
 
! class="playerinfobox-header" colspan="2" {{!}} Team History
 
! class="playerinfobox-header" colspan="2" {{!}} Team History
 
{{!}}- style="background-color:#f5f5f5"
 
{{!}}- style="background-color:#f5f5f5"
{{!}} colspan="2" {{!}} <div style="font-size:11px; line-height:-10px; overflow: hidden; text-align:center"><div style="float:left;width:25%;">'''Year'''</div><div style="float:left;width:50%;">'''Team'''</div><div style="float:right;width:25%;">'''Winnings'''</div></div>
+
{{!}} colspan="2" {{!}} <div style="font-size:11px; line-height:-10px; overflow: hidden; text-align:center; padding:0 2px"><div style="float:left;width:25%;text-align:left">'''Year'''</div><div style="float:left;width:50%;">'''Team'''</div><div style="float:right;width:25%;text-align:right">'''Winnings'''</div></div>
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="2" {{!}} {{{team_history|}}}
 
{{!}} colspan="2" {{!}} {{{team_history|}}}

Revision as of 07:37, 11 December 2019