Difference between revisions of "Template:Collectible"
From Detective Conan Wiki
m |
m |
||
| Line 6: | Line 6: | ||
! {{{box1-title|}}} {{#if:{{{box2-title|}}}|!! {{{box2-title|}}}}} {{#if:{{{box3-title|}}}|!! {{{box3-title|}}}}} {{#if:{{{box4-title|}}}|!! {{{box4-title|}}}}} | ! {{{box1-title|}}} {{#if:{{{box2-title|}}}|!! {{{box2-title|}}}}} {{#if:{{{box3-title|}}}|!! {{{box3-title|}}}}} {{#if:{{{box4-title|}}}|!! {{{box4-title|}}}}} | ||
|- | |- | ||
| − | | class="{{#if:{{{type|}}}|collectible-{{{type|}}}}}" style="vertical-align: top" | | + | | class="{{#if:{{{type|}}}|collectible-{{{type|}}}}}" style="vertical-align: top;" | |
{{{box1-content|}}} | {{{box1-content|}}} | ||
{{#if:{{{box2-title|}}} | {{#if:{{{box2-title|}}} | ||
| − | |{{!}} class="{{#if:{{{type|}}}|collectible-{{{type|}}}}}" style="vertical-align: top; padding: 0px 4px 0px 3px; width: {{{box2-width|100%}}};" {{!}} | + | |{{!}} class="{{#if:{{{type|}}}|collectible-{{{type|}}}}}" style="vertical-align: top; padding: 0px 4px 0px 3px; width: {{{box2-width|100%}}}; {{#if:{{{box2-fontsize|}}}|font-size: {{{box2-fontsize|}}};}}" {{!}} |
{{{box2-content|}}}}} | {{{box2-content|}}}}} | ||
{{#if:{{{box3-title|}}} | {{#if:{{{box3-title|}}} | ||
| − | |{{!}} class="{{#if:{{{type|}}}|collectible-{{{type|}}}}}" style="vertical-align: top; padding: 0px 4px 0px 3px; {{#if:{{{box3-width|}}}|width: {{{box3-width|}}};}}" {{!}} | + | |{{!}} class="{{#if:{{{type|}}}|collectible-{{{type|}}}}}" style="vertical-align: top; padding: 0px 4px 0px 3px; {{#if:{{{box3-width|}}}|width: {{{box3-width|}}};}} {{#if:{{{box3-fontsize|}}}|font-size: {{{box3-fontsize|}}};}}" {{!}} |
{{{box3-content|}}}}} | {{{box3-content|}}}}} | ||
{{#if:{{{box4-title|}}} | {{#if:{{{box4-title|}}} | ||
| − | |{{!}} class="{{#if:{{{type|}}}|collectible-{{{type|}}}}}" style="vertical-align: top; padding: 0px 4px 0px 3px; {{#if:{{{box4-width|}}}|width: {{{box4-width|}}};}}" {{!}} | + | |{{!}} class="{{#if:{{{type|}}}|collectible-{{{type|}}}}}" style="vertical-align: top; padding: 0px 4px 0px 3px; {{#if:{{{box4-width|}}}|width: {{{box4-width|}}};}} {{#if:{{{box4-fontsize|}}}|font-size: {{{box4-fontsize|}}};}}" {{!}} |
{{{box4-content|}}}}}|} | {{{box4-content|}}}}}|} | ||
{{#if:{{{release-date|}}}| | {{#if:{{{release-date|}}}| | ||
| Line 60: | Line 60: | ||
| box2-content = (Optional) Content of the second box | | box2-content = (Optional) Content of the second box | ||
| box2-width = (Optional) Width of the second box (defaults to "100%") | | box2-width = (Optional) Width of the second box (defaults to "100%") | ||
| + | | box2-fontsize = (Optional) Font size of the second box | ||
| box3-title = (Optional) Title of the third box | | box3-title = (Optional) Title of the third box | ||
| box3-content = (Optional) Content of the third box | | box3-content = (Optional) Content of the third box | ||
| box3-width = (Optional) Width of the third box | | box3-width = (Optional) Width of the third box | ||
| + | | box3-fontsize = (Optional) Font size of the third box | ||
| box4-title = (Optional) Title of the fourth box | | box4-title = (Optional) Title of the fourth box | ||
| box4-content = (Optional) Content of the fourth box | | box4-content = (Optional) Content of the fourth box | ||
| box4-width = (Optional) Width of the fourth box | | box4-width = (Optional) Width of the fourth box | ||
| + | | box4-fontsize = (Optional) Font size of the fourth box | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> | ||
Revision as of 20:52, 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
| type = (Optional) Collectible type (i.e. blu-ray, dvd, vhs, manga, magic-kaito-manga, book)
| 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)
| isbn = (Optional) ISBN number (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%")
| box2-fontsize = (Optional) Font size of the second box
| box3-title = (Optional) Title of the third box
| box3-content = (Optional) Content of the third box
| box3-width = (Optional) Width of the third box
| box3-fontsize = (Optional) Font size 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
| box4-fontsize = (Optional) Font size of the fourth box
}}