Difference between revisions of "Template:Infobox Player"

From PCBWiki
Jump to navigation Jump to search
(Added documentation and conditional display)
(Added previous names param)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{infobox
{{infobox
| title =  {{{name|{{{name|}}}}}}
| title =  {{{name|{{{name|}}}}}}
| image    = {{#if:{{{head|}}}|[[File:{{{head}}}|128px|center|alt={{{head_alt}}}]]}}
| image    = {{#if:{{{head|}}}|[[File:{{{head}}}|64px|center|alt={{{head_alt}}}]]}}
| caption  = {{{Caption|{{{caption|}}}}}}
| caption  = {{{Caption|{{{caption|}}}}}}
| label1 = Rank
| label1 = Rank
Line 7: Line 7:
| label2 = Joined
| label2 = Joined
| data2 = {{{joined|{{{joined|}}}}}}
| data2 = {{{joined|{{{joined|}}}}}}
| label3 = Previous Names
| data3 = {{{names|{{{names|}}}}}}
}}
}}
<noinclude>
<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 09:56, 15 May 2017

Template documentation[view] [edit] [history] [purge]

An Infobox for a player

Template parameters

ParameterDescriptionTypeStatus
Player's Namename

no description

Stringrequired
Head Imagehead

no description

Filerequired
Rankrank

no description

Stringrequired
Date Joinedjoined

no description

Stringsuggested
Past Namesnames

Past names separated by br tag

Stringsuggested