Template:Collectible: Difference between revisions
Appearance
mNo edit summary |
More parameters need to be added later for other types of items such as VHS and books |
||
| Line 11: | Line 11: | ||
|{{!}} style="vertical-align: top; padding: 1px 4px 1px 3px; width: {{{box2-width|100%}}};" {{!}} | |{{!}} style="vertical-align: top; padding: 1px 4px 1px 3px; width: {{{box2-width|100%}}};" {{!}} | ||
{{{box2-content|}}}}} | {{{box2-content|}}}}} | ||
{{#if:{{{box3-title|}}}|{{!}} style="vertical-align: top; padding: 1px 4px 1px 3px; {{#if:{{{box3-width|}}}|width: {{{box3-width|}}};}}" {{!}} | {{#if:{{{box3-title|}}} | ||
|{{!}} style="vertical-align: top; padding: 1px 4px 1px 3px; {{#if:{{{box3-width|}}}|width: {{{box3-width|}}};}}" {{!}} | |||
{{{box3-content|}}}}} | {{{box3-content|}}}}} | ||
{{#if:{{{box4-title|}}}|{{!}} style="vertical-align: top; padding: 1px 4px 1px 3px; {{#if:{{{box4-width|}}}|width: {{{box4-width|}}};}}" {{!}} | {{#if:{{{box4-title|}}} | ||
|{{!}} style="vertical-align: top; padding: 1px 4px 1px 3px; {{#if:{{{box4-width|}}}|width: {{{box4-width|}}};}}" {{!}} | |||
{{{box4-content|}}}}}|} | {{{box4-content|}}}}}|} | ||
{{#if:{{{release-date|}}}| | {{#if:{{{release-date|}}}| | ||
| Line 32: | Line 34: | ||
|}</includeonly> | |}</includeonly> | ||
<noinclude>Displays a profile box for a given collectible item. | <noinclude>Displays a profile box for a given collectible item. | ||
== Usage == | |||
The following is a list of required or optional parameters for any of the items: | |||
<pre> | |||
{{Collectible | |||
| title = Title of the main box | |||
| release-date = (Optional) Release date of the item | |||
| original-cost = (Optional) Original cost of the item | |||
| dvd-number = (Optional) DVD number of the item (if applicable) | |||
| color = (Optional) Text color for the title (defaults to #FFFFFF) | |||
| background = (Optional) Background color of the title header (defaults to #5BBD53) | |||
| width = (Optional) Width of the box | |||
| height = (Optional) Height of the box | |||
| box1-title = Title of the first box | |||
| box1-content = Content of the first box (usually used for the cover image of the item) | |||
| box2-title = (Optional) Title of the second box | |||
| box2-content = (Optional) Content of the second box | |||
| box2-width = (Optional) Width of the second box (defaults to "100%") | |||
| box3-title = (Optional) Title of the third box | |||
| box3-content = (Optional) Content of the third box | |||
| box3-width = (Optional) Width of the third box | |||
| box4-title = (Optional) Title of the fourth box | |||
| box4-content = (Optional) Content of the fourth box | |||
| box4-width = (Optional) Width of the fourth box | |||
}} | |||
</pre> | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> | ||
Revision as of 04:09, 29 December 2010
Displays a profile box for a given collectible item.
Usage
The following is a list of required or optional parameters for any of the items:
{{Collectible
| title = Title of the main box
| release-date = (Optional) Release date of the item
| original-cost = (Optional) Original cost of the item
| dvd-number = (Optional) DVD number of the item (if applicable)
| color = (Optional) Text color for the title (defaults to #FFFFFF)
| background = (Optional) Background color of the title header (defaults to #5BBD53)
| width = (Optional) Width of the box
| height = (Optional) Height of the box
| box1-title = Title of the first box
| box1-content = Content of the first box (usually used for the cover image of the item)
| box2-title = (Optional) Title of the second box
| box2-content = (Optional) Content of the second box
| box2-width = (Optional) Width of the second box (defaults to "100%")
| box3-title = (Optional) Title of the third box
| box3-content = (Optional) Content of the third box
| box3-width = (Optional) Width of the third box
| box4-title = (Optional) Title of the fourth box
| box4-content = (Optional) Content of the fourth box
| box4-width = (Optional) Width of the fourth box
}}