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.)
(new style)
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;"
{| align="right" style="background: #{{{color|FFE600}}}; margin-left: 10px; margin-bottom: 10px; -moz-border-radius: 10px; border: 3px solid #{{{bordercolor|FFFF7E}}}; width: 30%"
|- colspan="2" style="background: #FFFF7E; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px;" align="center  
|- align="center"
! colspan="2" | '''{{{name}}}'''{{#if: {{{subtitled|}}} |<br>''{{{subtitled}}}''|}}
| colspan="2" | <big>'''{{{name}}}'''</big>{{#if: {{{subtitled|}}} |<br>''{{{subtitled}}}''|}}
|- align="center" style="background: #fff;"
|- align="center"
| colspan="2" | [[File:{{{image}}}{{#if: {{{image_size|}}}|{{!}}{{{image_size|}}}px}}]]<br><small>''{{{caption}}}''</small>
| style="background: #FFFFFF; -moz-border-radius: 10px;" colspan="2" | [[File:{{{image}}}{{#if: {{{image_size|}}}|{{!}}{{{image_size|}}}px}}]]<br><small>''{{{caption}}}''</small>
|-
|-
! align="right" style="background: #FFFF7E;" | Release&nbsp;date:
! style="background: #{{{bordercolor|FFFF7E}}}; -moz-border-radius-topleft: 10px;" align="right" | Release date
| style="background: #fff" width="210px" | {{{date}}}
| style="background:#FFFFFF; -moz-border-radius-topright: 10px;" align="left" | {{{date}}}
|-
|-
! align="right" style="background: #FFFF7E;" | By:
! style="background: #{{{bordercolor|FFFF7E}}};" align="right" | By
| style="background: #fff" width="210px" | {{{by}}}
| style="background:#FFFFFF;" align="left" | {{{by}}}
|-
|-
! align="right" style="background: #FFFF7E; -moz-border-radius-bottomleft: 10px;" | Number&nbsp;of&nbsp;tracks:
! style="background: #{{{bordercolor|FFFF7E}}}; -moz-border-radius-bottomleft: 10px;" align="right" | Number of tracks
| style="background: #fff; -moz-border-radius-bottomright: 10px;" width="210px" | {{{tracks}}}
| style="background:#FFFFFF; -moz-border-radius-bottomright: 10px;" align="left" | {{{tracks}}}
|}<noinclude>[[Category:Infobox templates]]</noinclude>
|}<noinclude>[[Category:Infobox templates]]</noinclude>

Revision as of 12:54, 26 October 2009

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