Difference between revisions of "Template:Collectible"

From Detective Conan Wiki
m
m
Line 1: Line 1:
<includeonly>{| class="wikitable left" style="{{#if:{{{width|}}}|width: {{{width|}}};}}"
+
<includeonly>{| class="wikitable left" style="{{#if:{{{width|}}}|width: {{{width|}}};}} {{#if:{{{height|}}}|height: {{{height|}}};}}"
 
! style="color: {{{color|#FFFFFF}}}; background: {{{background|#5BBD53}}}" | {{{title|Title}}}
 
! style="color: {{{color|#FFFFFF}}}; background: {{{background|#5BBD53}}}" | {{{title|Title}}}
 
|-
 
|-
Line 8: Line 8:
 
| style="vertical-align: top" |
 
| style="vertical-align: top" |
 
{{{box1-content|}}}
 
{{{box1-content|}}}
{{#if:{{{box2-title|}}}|{{!}} style="vertical-align: top; padding: 1px 4px 1px 3px; {{#if:{{{box2-width|}}}|width: {{{box2-width|}}};}}" {{!}}
+
{{#if:{{{box2-title|}}}|{{!}} 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|}}};}}" {{!}}

Revision as of 03:50, 29 December 2010

Displays a profile box for a given collectible item.