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) (Added documentation and conditional display) |
TheOctopus (talk | contribs) (Shrunk image further) |
||
Line 1: | Line 1: | ||
{{infobox | {{infobox | ||
| title = {{{name|{{{name|}}}}}} | | title = {{{name|{{{name|}}}}}} | ||
| image = {{#if:{{{head|}}}|[[File:{{{head}}}| | | image = {{#if:{{{head|}}}|[[File:{{{head}}}|64px|center|alt={{{head_alt}}}]]}} | ||
| caption = {{{Caption|{{{caption|}}}}}} | | caption = {{{Caption|{{{caption|}}}}}} | ||
| label1 = Rank | | label1 = Rank |
Revision as of 19:59, 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. |