Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
m
m
Line 4: Line 4:
  
 
-->
 
-->
!{{#switch: {{lc: {{{class|}}} }}
+
! colspan=2 | {{#switch: {{lc: {{{class|}}} }}
 
   | 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 25: Line 25:
  
 
-->
 
-->
|-
+
|- style="{{#if: {{{image|}}} | | display: none}}"
| colspan=2 | [[Image:{{{image}}}|200px|center]]<!--
+
| [[File: {{{image}}} | 200px | center ]]<!--
  
 
CAPTION
 
CAPTION
  
 
-->
 
-->
{{#if: {{{caption|}}} |  
+
|- style="{{#if: {{{caption|}}} | | display: none}}"
{{!}}-
+
| colspan="2" | {{{caption}}}<!---
{{!}} colspan=2 {{!}} {{{caption}}}
 
|}}<!---
 
  
 
FULL NAME
 
FULL NAME
  
 
-->
 
-->
|-
+
|- style="{{#if: {{{name|}}} | | display: none}}"
|full name
+
! Full Name
|{{{name}}}<!--
+
| {{{name}}}<!--
  
 
BIRTHDAY
 
BIRTHDAY
  
 
-->
 
-->
|-
+
|- style="{{#if: {{{birthday|}}} | | display: none}}"
|born
+
! Born
|{{{birthday|}}}<!--
+
| {{{birthday|}}}<!--
  
 
COUNTRY
 
COUNTRY
Line 54: Line 52:
 
-->
 
-->
 
|-
 
|-
|nationality
+
| Nationality
|{{flag | {{lc: {{{nationality}}} }} }} {{{nationality|}}}<!--
+
| {{flag | {{lc: {{{nationality}}} }} }} {{{nationality|}}}<!--
  
 
TEAM
 
TEAM
Line 61: Line 59:
 
-->
 
-->
 
|-
 
|-
|current team
+
| Current Team
|{{{team|}}}<!--
+
| {{{team|}}}<!--
  
 
CLASS
 
CLASS

Revision as of 11:51, 9 December 2019

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