Template:CDInfobox: Difference between revisions

m
setting the subtitle to only show if it's filled.
m (slight fix)
m (setting the subtitle to only show if it's filled.)
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: #FFE600; width: 30%; max-width: 30%; margin-left: 10px; margin-bottom: 10px; -moz-border-radius: 10px; border: 2px solid #FFFF7E;"
|- colspan="2" style="background: #FFFF7E; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px;" align="center  
|- colspan="2" style="background: #FFFF7E; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px;" align="center  
! colspan="2" | '''{{{name}}}'''<br>''{{{subtitled}}}''
! colspan="2" | '''{{{name}}}'''{{#if: {{{subtitled|}}} |<br>''{{{subtitled}}}''|}}
|- align="center" style="background: #fff;"
|- align="center" style="background: #fff;"
| colspan="2" | [[File:{{{image}}}{{#if: {{{image_size|}}}|{{!}}{{{image_size|}}}px}}]]<br><small>''{{{caption}}}''</small>
| colspan="2" | [[File:{{{image}}}{{#if: {{{image_size|}}}|{{!}}{{{image_size|}}}px}}]]<br><small>''{{{caption}}}''</small>
2,743

edits