टेम्पलेट:Infobox artwork: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
minor code fix
minor fixes
लाइन 4:
{{#if:{{{other_language_1|}}}{{{other_language_2|}}}|
{{!}} colspan="2" style="text-align:center;" {{!}} {{#if:{{{other_language_1|}}}|{{{other_language_1|}}}: ''{{{other_title_1|}}}'' }}{{#if:{{{other_language_2|}}}|, {{{other_language_2|}}}: ''{{{other_title_2|}}}'' }}
{{!}}-
}}
|-
{{#if:{{{image|}}}{{{image_file|}}}|
{{!}} colspan="2" style="text-align:center;" {{!}} {{#if:{{{image|}}}|{{{image}}}|[[File:{{{image_file|}}}|{{{image_size|300px}}}|alt={{{alt|}}}]]}}
लाइन 40:
! Artist
{{!}} class="attendee" {{!}} {{#ifeq:{{ucfirst:{{{artist|}}}}}|Unknown|Unknown|{{#ifexist: {{{artist}}}|[[{{{artist}}}]]|{{{artist}}}}}}}
{{!}}-
}}
|-
{{#if:{{{year|}}}|
! Year
{{!}} {{{year|Unknown}}}
{{!}}-
}}
|-
{{#if:{{{type|}}}|
! Type
{{!}} class="category" {{!}} {{{type}}}
{{!}}-
}}
|-
{{#if:{{{material|}}}|
! Material
{{!}} class="category" {{!}} {{{material}}}
{{!}}-
}}
|-<!--BEGIN DIMENSIONAL DATA SECTION; INCLUDES SCARY CODE ;)-->
{{#if:{{{height|}}}{{{height_inch|}}}{{{height_metric|}}}{{{height_imperial|}}}{{{width|}}}{{{width_inch|}}}{{{width_metric|}}}{{{width_imperial|}}}{{{length|}}}{{{length_inch|}}}{{{length_metric|}}}{{{length_imperial|}}}{{{diameter|}}}{{{diameter_cm|}}}{{{diameter_inch|}}}{{{diameter_metric|}}}{{{diameter_imperial|}}}{{{dimensions|}}}|<!--if there is any dimensional data, then: -->
! Dimensions<!--old version used a check for a single-dimension title; simply "Dimensions" now-->
Line 133 ⟶ 134:
! Weight
{{!}} {{{weight}}}
{{!}}-
}}
|-
{{#if:{{{museum|}}}{{{city|}}}|
! Location
{{!}} {{{museum|}}}{{ #if: {{{city|}}}|{{#if:{{{museum|}}}|,&#32;}}{{{city}}} }}
{{!}}-
}}
|-
{{#if: {{{coordinates|}}}|
{{!}} <br/>
{{!}} {{{coordinates|}}}}}
{{!}}-
|-
}}
{{#if:{{{owner|}}}|
! Owner
{{!}} {{{owner}}}
{{!}}-
}}
|}{{#ifeq:{{{inch|a}}}{{{inch|b}}}|ab||[[Category:Wikipedia pages with deprecated artwork infobox syntax]]}}{{#switch:{{lc:{{{italic title|¬}}}}}