Difference between revisions of "Template:Infobox Player"

From PCBWiki
Jump to navigation Jump to search
(Downsized head)
(Added documentation and conditional display)
Line 1: Line 1:
{{infobox
{{infobox
| title = {{{name}}}
| title = {{{name|{{{name|}}}}}}
| image    = {{#if:{{{head|}}}|[[File:{{{head}}}|128px|center|alt={{{head_alt}}}]]}}
| image    = {{#if:{{{head|}}}|[[File:{{{head}}}|128px|center|alt={{{head_alt}}}]]}}
| caption  = {{{Caption|{{{caption|}}}}}}
| caption  = {{{Caption|{{{caption|}}}}}}
| label1 = Rank
| label1 = Rank
| data1 = {{{rank}}}
| data1 = {{{rank|{{{rank|}}}}}}
| label2 = Joined
| data2 = {{{joined|{{{joined|}}}}}}
}}
}}
<noinclude>
{{Documentation}}
</noinclude>

Revision as of 14:46, 11 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