-->{{#if:{{{height_metric|}}}{{{height_imperial|}}}{{{width_metric|}}}{{{width_imperial|}}}{{{length_metric|}}}{{{length_imperial|}}}|<!--Begin H×W×L metric data
-->|{{#if:{{{height_metric|}}}|{{{height_metric|}}} {{{metric_unit|cm}}}<!--if metric height is available, use it, otherwise:
-->|{{#if:{{isnumeric|{{{height_imperial|}}}}}<!--if imperial height is numeric, convert it:
-->|{{#ifeq:{{#if:{{isnumeric|{{{height_imperial|}}}}}|{{#if:{{isnumeric|{{{height_inch|}}}}}| {{#ifeq:{{{imperial_unit|in}}}|ft|SPECIAL|NORMAL}}|NORMAL}}|NORMAL}}|SPECIAL<!--if there's the special ft&in case, then use it:
-->|{{convert|{{{height_imperial}}}|ft|{{{height_inch}}}|in|{{{metric_unit|cm}}}|abbr=on|disp=output only}}<!--otherwise, use the normal conversion scheme:
-->{{#if:{{{height_metric|}}}{{isnumeric|{{{height_imperial|}}}}}|<!-- begin ×1; if height is present, then:
-->{{#if:{{{width_metric|}}}{{isnumeric|{{{width_imperial|}}}}}{{{length_metric|}}}{{isnumeric|{{{length_imperial|}}}}}| × }}}}<!-- if width or later is present, add spacing and ×
-->|{{#if:{{{width_metric|}}}|{{{width_metric|}}} {{{metric_unit|cm}}}<!--if metric width is available, use it, otherwise:
-->|{{#if:{{isnumeric|{{{width_imperial|}}}}}<!--if imperial width is numeric, convert it:
-->|{{#ifeq:{{#if:{{isnumeric|{{{width_imperial|}}}}}|{{#if:{{isnumeric|{{{width_inch|}}}}}| {{#ifeq:{{{imperial_unit|in}}}|ft|SPECIAL|NORMAL}}|NORMAL}}|NORMAL}}|SPECIAL<!--if there's the special ft&in case, then use it:
-->|{{convert|{{{width_imperial}}}|ft|{{{width_inch}}}|in|{{{metric_unit|cm}}}|abbr=on|disp=output only}}<!--otherwise, use the normal conversion scheme:
-->|{{#if:{{{length_metric|}}}|{{{length_metric|}}} {{{metric_unit|cm}}}<!--if metric length is available, use it, otherwise:
-->|{{#if:{{isnumeric|{{{length_imperial|}}}}}<!--if imperial length is numeric, convert it:
-->|{{#ifeq:{{#if:{{isnumeric|{{{length_imperial|}}}}}|{{#if:{{isnumeric|{{{length_inch|}}}}}| {{#ifeq:{{{imperial_unit|in}}}|ft|SPECIAL|NORMAL}}|NORMAL}}|NORMAL}}|SPECIAL<!--if there's the special ft&in case, then use it:
-->|{{convert|{{{length_imperial}}}|ft|{{{length_inch}}}|in|{{{metric_unit|cm}}}|abbr=on|disp=output only}}<!--otherwise, use the normal conversion scheme:
-->|{{#if:{{{height_imperial|}}}|<!--if imperial height is available, then…
-->{{#ifeq:{{#if:{{{height_imperial|}}}|{{#if:{{{height_inch|}}}| {{#ifeq:{{{imperial_unit|in}}}|ft|SPECIAL|NORMAL}}|NORMAL}}|NORMAL}}|SPECIAL|{{{height_imperial}}} ft {{{height_inch}}} in|{{{height_imperial|}}} {{{imperial_unit|in}}}}}<!--use appropriate formatting, including a check if ft&in format is appropriate. If it's not available, then:
-->|{{#if:{{isnumeric|{{{height_metric|}}}}}<!--if metric height is numeric, convert it:
-->|{{convert|{{formatnum:{{{height_metric|}}}|R}}|{{{metric_unit|cm}}}|{{{imperial_unit|in}}}<!--really ought to include a switch for ftin mode here in a later version; if other imperial ones have the special case, then apply the special case in conversion-->|disp=output only}}|<span class="error" style="white-space:nowrap; font-size:inherit;">??</span><!--close functions-->}}}}}}<!--end height, imperial section
-->{{#if:{{{height_imperial|}}}{{{height_metric|}}}|<!-- begin ×1; if height is present, then:
-->{{#if:{{{width_imperial|}}}{{{width_metric|}}}{{{length_imperial|}}}{{{length_metric|}}}| × }}}}<!-- if width or later is present, add spacing and ×
-->|{{#if:{{{width_imperial|}}}|<!--if imperial width is available, then…
-->{{#ifeq:{{#if:{{{width_imperial|}}}|{{#if:{{{width_inch|}}}| {{#ifeq:{{{imperial_unit|in}}}|ft|SPECIAL|NORMAL}}|NORMAL}}|NORMAL}}|SPECIAL|{{{width_imperial}}} ft {{{width_inch}}} in|{{{width_imperial|}}} {{{imperial_unit|in}}}}}<!--use appropriate formatting, including a check if ft&in format is appropriate. If it's not available, then:
-->|{{#if:{{isnumeric|{{{width_metric|}}}}}<!--if metric width is numeric, convert it:
-->|{{convert|{{formatnum:{{{width_metric|}}}|R}}|{{{metric_unit|cm}}}|{{{imperial_unit|in}}}<!--really ought to include a switch for ftin mode here in a later version; if other imperial ones have the special case, then apply the special case in conversion-->|disp=output only}}|<span class="error" style="white-space:nowrap; font-size:inherit;">??</span><!--close functions-->}}}}}}<!--end width, imperial section
-->{{#if:{{{width_imperial|}}}{{{width_metric|}}}|<!-- begin ×2; if width is present, then:
-->{{#if:{{{length_imperial|}}}{{{length_metric|}}}| × }}}}<!-- if length is present, add spacing and ×
-->|{{#if:{{{length_imperial|}}}|<!--if imperial length is available, then…
-->{{#ifeq:{{#if:{{{length_imperial|}}}|{{#if:{{{length_inch|}}}| {{#ifeq:{{{imperial_unit|in}}}|ft|SPECIAL|NORMAL}}|NORMAL}}|NORMAL}}|SPECIAL|{{{length_imperial}}} ft {{{length_inch}}} in|{{{length_imperial}}} {{{imperial_unit|in}}}}}<!--use appropriate formatting, including a check if ft&in format is appropriate. If it's not available, then:
-->|{{#if:{{isnumeric|{{{length_metric|}}}}}<!--if metric length is numeric, convert it:
-->|{{convert|{{formatnum:{{{length_metric|}}}|R}}|{{{metric_unit|cm}}}|{{{imperial_unit|in}}}<!--really ought to include a switch for ftin mode here in a later version; if other imperial ones have the special case, then apply the special case in conversion-->|disp=output only}}|<span class="error" style="white-space:nowrap; font-size:inherit;">??</span><!--close functions-->}}}}}}<!--end length, imperial section
-->)<!--end all H×W×L data
-->{{#if:{{{diameter_metric|}}}{{{diameter_imperial|}}}{{{dimensions|}}}|<nowiki>;</nowiki> }}<!-- if there's diameter or dimensions, add a semicolon divider and a space
-->|}}<!-- if no H×W×L data, then blank; end H×W×L section
-->|0c={{#if:{{isnumeric|{{{diameter_metric}}}}}|{{{diameter_metric}}} {{{metric_unit|cm}}} diameter ({{convert|{{formatnum:{{{diameter_metric}}}|R}}|{{{metric_unit|cm}}}|{{{imperial_unit|in}}}|disp=output only}})|{{{diameter_metric}}} {{{metric_unit|cm}}} diameter}}{{#if:{{{dimensions|}}}|<nowiki>;</nowiki> }}<!--if only cm available
-->|0i={{#if:{{isnumeric|{{{diameter_imperial}}}}}|{{convert|{{formatnum:{{{diameter_imperial}}}|R}}|{{{imperial_unit|in}}}|{{{metric_unit|cm}}}|disp=output only}} diameter ({{{diameter_imperial}}} {{{imperial_unit|in}}})|{{{diameter_imperial}}} {{{imperial_unit|in}}} diameter}}{{#if:{{{dimensions|}}}|<nowiki>;</nowiki> }}<!--if only in available
-->|0ci={{{diameter_metric}}} {{{metric_unit|cm}}} diameter ({{{diameter_imperial}}} {{{imperial_unit|in}}}){{#if:{{{dimensions|}}}|<nowiki>;</nowiki> }}<!--if both available
-->|0|#default=<!--nothing's available! no output then…-->}}<!--end diameter switch
-->{{{dimensions|}}}{{{dimensions_ref|}}}<!--additional or alternate dimensions, if applicable
-->}}<!--end if any dimensional data--><!--END DIMENSIONAL SECTION-->