Template:Infobox artwork: Difference between revisions

Created page with "{{Infobox | bodyclass = vevent | bodystyle = width: 22em; line-height: 1.4em; text-align: left; float:{{{painting_alignment|right}}}; {{#ifeq: {{lc:{{{painting_alignment|}}}}}|left| margin-right: 15px; margin-left: 0px;|}} | abovestyle = font-size: 125%; font-weight: bold; {{#switch:{{lc:{{{italic title|¬}}}}} |no = <!-- no italic title --> ||¬|all|yes = font-style: italic }} | aboveclass = summary | above = {{{title|<includeonly>{{PAGENAMEBASE}}</includeonly..."
m (1 revision imported)
en>Centrist16
(Created page with "{{Infobox | bodyclass = vevent | bodystyle = width: 22em; line-height: 1.4em; text-align: left; float:{{{painting_alignment|right}}}; {{#ifeq: {{lc:{{{painting_alignment|}}}}}|left| margin-right: 15px; margin-left: 0px;|}} | abovestyle = font-size: 125%; font-weight: bold; {{#switch:{{lc:{{{italic title|¬}}}}} |no = <!-- no italic title --> ||¬|all|yes = font-style: italic }} | aboveclass = summary | above = {{{title|<includeonly>{{PAGENAMEBASE}}</includeonly...")
Line 8:
}}
| aboveclass = summary
| above = {{{title|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} {{#if:{{{wikidata|}}}|{{Wikidata icon|{{{wikidata}}}}}}}
 
| subheader = {{comma separated entries
| 1 = {{#if:{{{other_title_1|}}}|{{#if:{{{other_language_1|}}}|{{{other_language_1|}}}: }} {{#ifeq:{{lc:{{{italic other_title_1|}}}}}|no|{{{other_title_1|}}}|''{{{other_title_1|}}}''}} }}
| 2 = {{#if:{{{other_title_2|}}}|{{#if:{{{other_language_2|}}}| {{{other_language_2|}}}: }} {{#ifeq:{{lc:{{{italic other_title_2|}}}}}|no|{{{other_title_1|}}}|''{{{other_title_2|}}}''}} }}
}}
 
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}}|{{{image}}}|{{{image_file|}}}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{#if:{{{image_upright|}}}|{{{image_upright}}}|1.3622}}|alt={{{alt|}}}}}
| caption = {{{caption|}}}
 
Line 22:
|alt = {{{pushpin_map_alt|}}}
|float = center
|caption = {{{pushpin_map_caption|}}}
|border = infobox
|relief = {{{pushpin_relief|}}}
Line 29:
|width = {{#if:{{{map_size|}}}|{{{map_size}}}|280}}
}}}}
| caption2 = {{{pushpin_map_caption|}}}
 
| image3 = {{#if:{{{pushpin_map|}}}||{{yesno|{{{mapframe|no}}}|no=|yes={{#invoke:Infobox mapframe|auto|mapframe-marker=monument}}}}}}
 
| caption3 = {{#if:{{{pushpin_map|}}}||{{yesno|{{{mapframe|no}}}|no=|yes={{#invoke:Infobox mapframe|autocaption}}}}}}
 
| labelstyle = padding-right:0.65em;<!--(to ensure sufficient gap between (long/unwrapped) label and subsequent data on same line)-->
Line 35 ⟶ 39:
| label1 = {{#if:{{{artist|}}}|Artist|Designer}}
| class1 = attendee
| data1 = {{#ifswitch:{{lc:{{{artist|}}}}}
|={{{designer|}}}
|{{#ifeq:{{ucfirst:{{{artist|}}}}}|Unknown|Unknown|{{#ifexist: {{{artist}}}|[[{{{artist}}}]]|{{{artist}}}}}}}
|unknown = Unknown
|{{{designer|}}}
|#default = {{{artist|}}}
}}
}}<!-- Temporary tracking -->{{#switch:{{lc:{{{artist|}}}}}
|=
|unknown =
|unknown artist =
|anon. =
|anonymous work =
|{{lc:{{PAGENAME}}}} =
|#default = {{#ifeq:{{ucfirstifexist: {{{artist|}}}}}|Unknown||{{#ifexist:{{{artist}}}main other|[[Category:Pages using infobox artwork with autolinkedunlinked artist field|{{{artist}}} ]]}}|}}
}}
 
| label2 = {{#if:{{{year|}}}|Year|Completion date}}
Line 54 ⟶ 67:
| data5 = {{if empty|{{{medium|}}}|{{{material|}}}}}
 
| label6 = [[{{W|Art movement|Movement]]}}
| class6 = category
| data6 = {{{movement|}}}
Line 146 ⟶ 159:
| data14 = {{comma separated entries|{{{museum|}}}|{{{city|}}}}}
 
| label15 = <span style="display:none">[[{{W|Geographic coordinate system|Coordinates]]}}</span>
| data15 = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|}}}|type:landmark}}}}
 
Line 171 ⟶ 184:
|no = <!-- no italic title -->
||¬|all|yes = {{italic title|all={{#ifeq:{{lc:{{{italic title|}}}}}|all|true}}}}
}}{{main other|{{#if:{{{artistbackcolor|}}}
|{{#ifeq:{{ucfirst:{{{artist|}}}}}|Unknown||{{#ifexist:{{{artist}}}|[[Category:Pages using infobox artwork with autolinked artist field]]}}}}
}}{{#if:{{{backcolor|}}}
|[[Category:Pages using infobox artwork with the backcolor parameter]]
}}{{#if:{{{material|}}}
|[[Category:Pages using infobox artwork with the material parameter]]
}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox artwork with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox artwork]] with unknown parameter "_VALUE_"|ignoreblank=y| accession | alt | artist | backcolor | caption | catalog | catalogue | city | completion_date | condition | coordinates | designation | designer | diameter_imperial | diameter_metric | dimensions | dimensions_ref | followed_by | height_imperial | height_inch | height_metric | image | image_file | image_size | image_upright | imperial_unit | italic other_title_1 | italic other_title_2 | italic title | length_imperial | length_inch | length_metric | map_dot_label | map_size | mapframe | mapframe-caption | mapframe-custom | mapframe-id | mapframe-coord | mapframe-wikidata | mapframe-point | mapframe-shape | mapframe-frame-width | mapframe-frame-height | mapframe-shape-fill | mapframe-shape-fill-opacity | mapframe-stroke-color | mapframe-stroke-colour | mapframe-stroke-width | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-geomask | mapframe-geomask-stroke-color | mapframe-geomask-stroke-colour | mapframe-geomask-stroke-width | mapframe-geomask-fill | mapframe-geomask-fill-opacity | mapframe-zoom | mapframe-length_km | mapframe-length_mi | mapframe-area_km2 | mapframe-area_mi2 | mapframe-frame-coordinates | mapframe-frame-coord | mapframe-switcher | material | medium | metric_unit | module | movement | museum | other_language_1 | other_language_2 | other_title_1 | other_title_2 | owner | painting_alignment | preceded_by | pushpin_label_position | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_relief | qid | subject | title | type | url | website | weight | width_imperial | width_inch | width_metric | wikidata | year | backcolor }}<noinclude>
{{Documentationdocumentation}}
</noinclude>
Anonymous user