Template:InfoboxPlayer: Difference between revisions

From comp.tf
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:


-->
-->
! colspan=2 | {{#switch: {{lc: {{{class|}}} }}
! colspan=2 | {{#if: {{{nationality|}}} | {{#if: {{{nationality2|}}} | | {{flag | {{{nationality|}}} }} }} |}} {{{alias}}}<!--
  | scout = [[File:Scouticon.png|25px|link=Scout]]
  | pocket = [[File:Pocketicon.png|25px|link=Soldier]]
  | roamer = [[File:Soldiericon.png|25px|link=Soldier]]
  | soldier = [[File:Soldiericon.png|25px|link=Soldier]]
  | pyro = [[File:Pyroicon.png|25px|link=Pyro]]
  | demo
  | demoman = [[File:Demomanicon.png|25px|link=Demoman]]
  | heavy
  | heavyweapons = [[File:Heavyicon.png|25px|link=Heavy]]
  | engi
  | engie
  | engineer = [[File:Engineericon.png|25px|link=Engineer]]
  | medic = [[File:Medicicon.png|25px|link=Medic]]
  | sniper = [[File:Snipericon.png|25px|link=Sniper]]
  | spy = [[File:Spyicon.png|25px|link=Spy]]
}}{{{alias}}}<!--


IMAGE
IMAGE
Line 32: Line 16:
-->
-->
|- style="{{#if: {{{caption|}}} | | display: none}}"
|- style="{{#if: {{{caption|}}} | | display: none}}"
| colspan="2" style="text-align: center"| {{{caption}}}<!---
| colspan="2" style="text-align: center" | {{{caption}}}<!--
 
PERSONAL INFORMATION
 
-->
|- style="{{#if: {{{name|}}} {{{birth_year|}}} {{{death_year|}}} {{{nationality|}}} | | display: none}}"
! colspan="2" | Personal Information
<!---


FULL NAME
FULL NAME
Line 51: Line 42:


-->
-->
|- style="{{#if: {{{birthday|}}} | | display: none}}"
|- style="{{#if: {{{birth_year|}}} | | display: none}}"
! Born
! Born
| {{{birthday|}}}<!--
| {{#if: {{{birth_month|}}} | {{#if: {{{birth_day|}}} | {{#if: {{{death_year|}}} | {{birth_date | {{{birth_year|}}} | {{{birth_month|}}} | {{{birth_day|}}} }} | {{birth_date_and_age | {{{birth_year|}}} | {{{birth_month|}}} | {{{birth_day|}}} }} |}} |}} | {{{birth_year|}}} }}<!--


DEATH DATE
DEATH DATE


-->
-->
|- style="{{#if: {{{deathdate|}}} | | display: none}}"
|- style="{{#if: {{{death_year|}}} | | display: none}}"
! Death
! Death
| {{{deathdate|}}}<!--
| {{#if: {{{death_month|}}} | {{#if: {{{death_day|}}} | {{death_date_and_year | {{{death_year|}}} | {{{death_month|}}} | {{{death_day|}}} }} |}} | {{{death_year|}}} }}<!--


NATIONALITY
NATIONALITY


-->
-->
|-
|- style="{{#if: {{{nationality|}}} | | display: none}}"
! Nationality
! Nationality
| {{flag | {{{nationality}}} }} {{localisation | {{{nationality|}}} }}<!--
| {{flag | {{{nationality}}} }} [[:Category:{{localisation | {{{nationality|}}} }}_Players|{{localisation | {{{nationality|}}} }}]]
| style="{{#if: {{{nationality2|}}} | | dislpay: none}} | {{flag | {{{nationality}}} }} {{localisation | {{{nationality|}}} }}<!--


TEAM
TEAM

Revision as of 13:32, 9 December 2019

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