Difference between revisions of "Template:Infobox label design"

From cdHistory
Jump to navigation Jump to search
Line 4: Line 4:
{{#if:{{{Img|}}}|
{{#if:{{{Img|}}}|
{{!}} style="text-align:center;" {{image class|{{{Img}}}}} colspan="2" {{!}} [[Image:{{{Img}}}|{{#ifeq:{{lc:{{{Landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{Img_size}}}}}|300|{{{Img_size}}}}}}}x200|{{min|220|{{#if:{{#ifexpr:{{{Img_size}}}}}|300|{{{Img_size}}}}}}}}}px|alt={{{Img_alt|}}}|{{{Img_capt|}}}]]<br /><div><small>{{{Img_capt|}}}</small></div>
{{!}} style="text-align:center;" {{image class|{{{Img}}}}} colspan="2" {{!}} [[Image:{{{Img}}}|{{#ifeq:{{lc:{{{Landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{Img_size}}}}}|300|{{{Img_size}}}}}}}x200|{{min|220|{{#if:{{#ifexpr:{{{Img_size}}}}}|300|{{{Img_size}}}}}}}}}px|alt={{{Img_alt|}}}|{{{Img_capt|}}}]]<br /><div><small>{{{Img_capt|}}}</small></div>
{{!}}-
}}
{{#if:{{{Img|}}}|
! style="text-align:center; line-height:1.5em; background:#b0c4de;" colspan="2" {{!}} Background information
{{!}}-
{{!}}-
}}
}}

Revision as of 21:28, 16 June 2010

Infobox label design