Difference between revisions of "Template:Infobox packaging"

From cdHistory
Jump to navigation Jump to search
Line 1: Line 1:
{|class="infobox" style="width: 28em; font-size: 88%; line-height: 1.5em; text-align:left;"
{|class="infobox" style="width: 28em; font-size: 88%; line-height: 1.5em; text-align:left;"
! style="text-align:center; font-size:125%; background: #b0c4de; padding:0.2em;" colspan="2" {{!}} {{{Name|{{BASEPAGENAME}}}}}
! style="text-align:center; font-size:125%; background: #b0c4de; padding:0.2em;" colspan="2" {{!}} {{{Name|{{BASEPAGENAME}}}}}
|-
{{#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|}}}|
{{!}}-
{{!}}-
}}
{{#if:{{{Img|}}}|
! style="text-align:center; line-height:1.5em; background: #b0c4de;" colspan="2" {{!}} Background information
! style="text-align:center; line-height:1.5em; background: #b0c4de;" colspan="2" {{!}} Background information
}}{{#if:{{{Creator|}}}|
{{!}}-
{{!}}- style="vertical-align: top;"  
}}
! Creator
{{#if:{{{Creator|}}}|
{{!}} {{{Creator}}}
! style="vertical-align: top;" {{!}} Creator
}}{{#if:{{{Capacity|}}}|
{{!}} style="vertical-align: top;" {{!}} {{{Creator}}}
{{!}}- style="vertical-align: top;"  
{{!}}-
! Capacity
}}
{{!}} {{{Capacity}}}
{{#if:{{{Capacity|}}}|
}}{{#if:{{{PrimaryUsers|}}}|
{{!}} style="vertical-align: top;" {{!}} Capacity
{{!}} style="vertical-align: top;" {{!}} {{{Capacity}}}
{{!}}-
}}
{{#if:{{{PrimaryUsers|}}}|
{{!}}- style="vertical-align: top;"  
{{!}}- style="vertical-align: top;"  
! Primary Users
! Primary Users
{{!}} {{{PrimaryUsers}}}
{{!}} {{{PrimaryUsers}}}
}}{{#if:{{{PrimaryUse|}}}|
}}
{{#if:{{{PrimaryUse|}}}|
{{!}}- style="vertical-align: top;"  
{{!}}- style="vertical-align: top;"  
! Primary Use
! Primary Use
{{!}} {{{PrimaryUse}}}
{{!}} {{{PrimaryUse}}}
}}{{#if:{{{Patents|}}}|
}}
{{#if:{{{Patents|}}}|
{{!}}- style="vertical-align: top;"  
{{!}}- style="vertical-align: top;"  
! Patents
! Patents
{{!}} {{{Patents}}}
{{!}} {{{Patents}}}
}}{{#if:{{{Trademarks|}}}|
}}
{{#if:{{{Trademarks|}}}|
{{!}}- style="vertical-align: top;"  
{{!}}- style="vertical-align: top;"  
! Trademarks
! Trademarks

Revision as of 16:02, 19 June 2010

Infobox packaging