The PCB wiki has now been archived and is read-only. |
Difference between revisions of "Template:Infobox Player"
Jump to navigation
Jump to search
TheOctopus (talk | contribs) (Downsized head) |
TheOctopus (talk | contribs) (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
An Infobox for a player
Parameter | Description | Type | Status | |
---|---|---|---|---|
Player's Name | name | no description | String | required |
Head Image | head | no description | File | required |
Rank | rank | no description | String | required |
Date Joined | joined | no description | String | suggested |
Past Names | names | Past names separated by br tag | String | suggested |
The above documentation is transcluded from Template:Infobox Player/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |