Template:CDInfobox: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (setting the subtitle to only show if it's filled.)
No edit summary
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| align="right" style="background: #FFE600; width: 30%; max-width: 30%; margin-left: 10px; margin-bottom: 10px; -moz-border-radius: 10px; border: 2px solid #FFFF7E;"
{| style="float:right; background: #{{colorschemedark|{{{colorscheme}}}}}; margin-left: 10px; margin-bottom: 10px; {{roundy|10px}} border: 3px solid #{{colorschemethree|{{{colorscheme}}}}}; width: 30%"
|- colspan="2" style="background: #FFFF7E; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px;" align="center
|- style="text-align:center"
! colspan="2" | '''{{{name}}}'''{{#if: {{{subtitled|}}} |<br>''{{{subtitled}}}''|}}
| colspan="2" | <big>{{color|{{#switch:{{{colorscheme|}}}|Unova=C3C3C3|Unova2=E3CED0|000}}|'''{{{name}}}'''}}</big>{{#if: {{{subtitled|}}} |<br>{{color|{{#switch:{{{colorscheme|}}}|Unova=C3C3C3|Unova2=E3CED0|000}}|''{{{subtitled}}}''}}|}}
|- align="center" style="background: #fff;"
| colspan="2" | [[File:{{{image}}}{{#if: {{{image_size|}}}|{{!}}{{{image_size|}}}px}}]]<br><small>''{{{caption}}}''</small>
|-
|-
! align="right" style="background: #FFFF7E;" | Release&nbsp;date:
| style="text-align:center; background: #FFFFFF; {{roundy|10px}}" colspan="2" | [[File:{{{image}}}{{#if: {{{image_size|}}}|{{!}}{{{image_size|}}}px}}]]{{#if:{{{image2|}}}|<br>[[File:{{{image2}}}{{#if: {{{image_size2|}}}|{{!}}{{{image_size2|}}}px}}]]|}}<br><small>''{{{caption}}}''</small>
| style="background: #fff" width="210px" | {{{date}}}
|-
|-
! align="right" style="background: #FFFF7E;" | By:
! style="text-align:right; background: #{{colorschemelight|{{{colorscheme}}}}}; {{roundytl|10px}}" | Release date
| style="background: #fff" width="210px" | {{{by}}}
| style="background:#FFFFFF; {{roundytr|10px}}" | {{{date}}}
|-
|-
! align="right" style="background: #FFFF7E; -moz-border-radius-bottomleft: 10px;" | Number&nbsp;of&nbsp;tracks:
! style="text-align:right; background: #{{colorschemelight|{{{colorscheme}}}}}" | By
| style="background: #fff; -moz-border-radius-bottomright: 10px;" width="210px" | {{{tracks}}}
| style="background:#FFFFFF" | {{{by}}}
|}<noinclude>[[Category:Infobox templates]]</noinclude>
|-
! style="text-align:right; background: #{{colorschemelight|{{{colorscheme}}}}}" | Catalogue number
| style="background:#FFFFFF" | {{{catalogue_number}}}
|-
! style="text-align:right; background: #{{colorschemelight|{{{colorscheme}}}}}; {{roundybl|10px}}" | Number of tracks
| style="background:#FFFFFF; {{roundybr|10px}}" | {{{tracks}}}
|}<noinclude>[[Category:Infobox templates]]</noinclude><includeonly>{{#if:{{{catalogue_number|}}}||[[Category:CD articles missing catalogue numbers]]}}</includeonly>

Latest revision as of 14:00, 29 October 2013

{{{name}}}
[[File:{{{image}}}]]
{{{caption}}}
Release date {{{date}}}
By {{{by}}}
Catalogue number {{{catalogue_number}}}
Number of tracks {{{tracks}}}