Difference between revisions of "Template:Collectible"

From Detective Conan Wiki
m
 
(74 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable"
+
<includeonly>{| class="collectible wikitable headerlink left" style="margin-left: 1px; {{#if:{{{width|}}}|width: {{{width|}}};}}"
! style="color: {{{color|#FFFFFF}}}; background: {{{background|#5BBD53}}}" | {{{title|Title}}}
+
! style="color: {{{color|#FFFFFF}}}; background: #{{#ifeq:{{{type|}}}|manga|647DD1|{{{background|5BBD53}}}}}" | {{{title|Title}}}
 
|-
 
|-
| style="padding: 3px" |
+
| style="vertical-align:top; padding: 3px; {{#if:{{{height|}}}|height: {{{height|}}};}}" |
 
{| class="wikitable" style="margin: 0"
 
{| class="wikitable" style="margin: 0"
! {{{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|}}}}} {{#if:{{{box5-title|}}}|!! {{{box5-title|}}}}} {{#if:{{{box6-title|}}}|!! {{{box6-title|}}}}}
 
|-
 
|-
| {{{box1-content|}}} {{#if:{{{box2-title|}}}|{{!}}{{!}} {{{box2-content|}}}}} {{#if:{{{box3-title|}}}|{{!}}{{!}} {{{box3-content|}}}}} {{#if:{{{box4-title|}}}|{{!}}{{!}} {{{box4-content|}}}}}
+
| style="vertical-align: top;" |
|}
+
{{{box1-content|}}}
{| class="wikitable" style="width: 100%; margin: 4px 0px 0px"
+
{{#if:{{{box2-title|}}}|{{!}} 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|}}};}}" {{!}}
| '''Released date:'''
+
{{{box2-content|}}}
|}
+
{{#if:{{{box3-title|}}}|{{!}} 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|}}};}}" {{!}}
{| class="wikitable" style="width: 100%; margin: 4px 0px 0px"
+
{{{box3-content|}}}
| '''Original cost:'''
+
{{#if:{{{box4-title|}}}|{{!}} 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|}}}
 +
{{#if:{{{box5-title|}}}|{{!}} class="{{#if:{{{type|}}}|collectible-{{{type|}}}}}" style="vertical-align: top; padding: 0px 4px 0px 3px; {{#if:{{{box5-width|}}}|width: {{{box5-width|}}};}} {{#if:{{{box5-fontsize|}}}|font-size: {{{box5-fontsize|}}};}}" {{!}}
 +
{{{box5-content|}}}
 +
{{#if:{{{box6-title|}}}|{{!}} class="{{#if:{{{type|}}}|collectible-{{{type|}}}}}" style="vertical-align: top; padding: 0px 4px 0px 3px; {{#if:{{{box6-width|}}}|width: {{{box6-width|}}};}} {{#if:{{{box6-fontsize|}}}|font-size: {{{box6-fontsize|}}};}}" {{!}}
 +
{{{box6-content|}}}}}}}}}}}}}
 
|}
 
|}
 +
{{#if:{{{release-date|}}}|
 +
{{{!}} class="wikitable" style="width: 100%; margin: 4px 0px 0px"
 +
{{!}} '''Released date:''' {{{release-date|}}}
 +
{{!}}}
 +
}}
 +
{{#if:{{{original-cost|}}}|
 +
{{{!}} class="wikitable" style="width: 100%; margin: 4px 0px 0px"
 +
{{!}} '''Original cost:''' {{{original-cost|}}}
 +
{{!}}}
 +
}}
 +
{{#if:{{{dvd-number|}}}|
 +
{{{!}} class="wikitable" style="width: 100%; margin: 4px 0px 0px"
 +
{{!}} '''DVD number:''' {{{dvd-number|}}}
 +
{{!}}}
 +
}}
 +
{{#if:{{{isbn|}}}|
 +
{{{!}} class="wikitable" style="width: 100%; margin: 4px 0px 0px"
 +
{{!}} '''ISBN number:''' {{{isbn|}}}
 +
{{!}}}
 +
}}
 
|}</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
 +
| 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
 +
| box5-title          =    (Optional) Title of the fifth box
 +
| box5-content        =    (Optional) Content of the fifth box
 +
| box5-width          =    (Optional) Width of the fifth box
 +
| box5-fontsize      =    (Optional) Font size of the fifth box
 +
| box6-title          =    (Optional) Title of the sixth box
 +
| box6-content        =    (Optional) Content of the sixth box
 +
| box6-width          =    (Optional) Width of the sixth box
 +
| box6-fontsize      =    (Optional) Font size of the sixth box
 +
}}
 +
</pre>
 +
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 04:26, 31 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
| box5-title          =    (Optional) Title of the fifth box
| box5-content        =    (Optional) Content of the fifth box
| box5-width          =    (Optional) Width of the fifth box
| box5-fontsize       =    (Optional) Font size of the fifth box
| box6-title          =    (Optional) Title of the sixth box
| box6-content        =    (Optional) Content of the sixth box
| box6-width          =    (Optional) Width of the sixth box
| box6-fontsize       =    (Optional) Font size of the sixth box
}}