Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
m
m
Line 32: Line 32:
 
-->
 
-->
 
|- style="{{#if: {{{caption|}}} | | display: none}}"
 
|- style="{{#if: {{{caption|}}} | | display: none}}"
| colspan="2" | {{{caption}}}<!---
+
| colspan="2" style="text-align: center"| {{{caption}}}<!---
  
 
FULL NAME
 
FULL NAME
Line 40: Line 40:
 
! Full Name
 
! Full Name
 
| {{{name}}}<!--
 
| {{{name}}}<!--
 +
 +
ROMANIZED NAME
 +
 +
-->
 +
|- style="{{#if: {{{romanized_name|}}} | | display: none}}"
 +
! Romanized Name
 +
| {{{romanized_name|}}}<!--
  
 
BIRTHDAY
 
BIRTHDAY
Line 47: Line 54:
 
! Born
 
! Born
 
| {{{birthday|}}}<!--
 
| {{{birthday|}}}<!--
 +
 +
DEATH DATE
 +
 +
-->
 +
|- style="{{#if: {{{deathdate|}}} | | display: none}}"
 +
! Death
 +
| {{{deathdate|}}}<!--
  
 
NATIONALITY
 
NATIONALITY
Line 62: Line 76:
 
| {{{team|}}}<!--
 
| {{{team|}}}<!--
  
CLASS
+
ROLE
  
 
-->
 
-->
 
|-
 
|-
! Class
+
! Role
|{{#switch: {{lc: {{{class|}}} }}
+
|{{#switch: {{lc: {{{role|}}} }}
 
   | scout = [[File:Scouticon.png|25px|link=Scout]]
 
   | scout = [[File:Scouticon.png|25px|link=Scout]]
 
   | pocket = [[File:Pocketicon.png|25px|link=Soldier]]
 
   | pocket = [[File:Pocketicon.png|25px|link=Soldier]]
Line 83: Line 97:
 
   | sniper = [[File:Snipericon.png|25px|link=Sniper]]
 
   | sniper = [[File:Snipericon.png|25px|link=Sniper]]
 
   | spy = [[File:Spyicon.png|25px|link=Spy]]
 
   | spy = [[File:Spyicon.png|25px|link=Spy]]
}} {{{class|}}}
+
}} {{{role|}}}
  
 
|}
 
|}

Revision as of 12:22, 9 December 2019

{{{alias}}}
[[File: {{{image}}} | 200px | center ]]
{{{caption}}}
Full Name {{{name}}}
Romanized Name
Born
Death
Nationality {{Flag/{{{nationality}}}}} error
Current Team
Role