Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
m
m
Line 70: Line 70:
 
|-
 
|-
 
! Role
 
! Role
|{{Icon | {{lc: {{{role|}}} }} | | {{{role|}}} }} [[:Category:{{{role|}}}s|{{{role|}}}]]
+
|{{#switch: {{lc: {{{role|}}} }}
 +
  | scout =  {{Icon | scout | | Scout}} [[:Category:Scouts|Scout]]
 +
  | pocket = {{Icon | pocket | | Pocket Soldier}} [[:Category:Pocket Soldiers|Pocket]]
 +
  | roamer = {{Icon | roamer | | Roaming Soldier}} [[:Category:Roaming Soldiers|Roamer]]
 +
  | soldier ={{Icon | soldier | | Soldier}} [[:Category:Soldiers|Soldier]]
 +
  | pyro = {{Icon | pyro | | Pyro}} [[:Category:Pyros|Pyro]]
 +
  | demo
 +
  | demoman = {{Icon | demoman | | Demoman}} [[:Category:Demomen|Demoman]]
 +
  | heavy
 +
  | heavyweapons = {{Icon | heavy | | Heavy}} [[:Category:Heavies|Heavy]]
 +
  | engi
 +
  | engie
 +
  | engineer = {{Icon | engineer | | Engineer}} [[:Category:Engineers|Engineer]]
 +
  | medic = {{Icon | medic | | Medic}} [[:Category:Medics|Medic]]
 +
  | sniper = {{Icon | sniper | | Sniper}} [[:Category:Snipers|Sniper]]
 +
  | spy = {{Icon | spy | | Spy}} [[:Category:Spies|Spy]]
 
<!--
 
<!--
  

Revision as of 14:08, 9 December 2019

{{{alias}}}
[[File: {{{image}}} | 200px | center ]]
{{{caption}}}
Personal Information
Full Name {{{name}}}
Romanized Name
Born
Death
Nationality {{Flag/{{{nationality}}}}} error
Player Information
Role {{#switch: scout = Scout Scout pocket = Pocket Soldier Pocket roamer = Roaming Soldier Roamer soldier =Soldier Soldier pyro = Pyro Pyro demo demoman = Demoman Demoman heavy heavyweapons = Heavy Heavy engi engie engineer = Engineer Engineer medic = Medic Medic sniper = Sniper Sniper spy = Spy Spy
Team Template:Team/
Total Winnings ~$Expression error: Unexpected round operator. USD
Other Aliases