Jump to content

Template:Infobox artwork and Template:Infobox artwork/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
Remove |painting_alignment= parameter. Only Self-Portrait with a Sunflower and Peasant Girl, spinning used it, and they didn't need to. The other uses of it were invalid (e.g. "Front").
 
No edit summary
 
Line 1: Line 1:
{{Infobox
{{Infobox
| bodyclass = vevent
| bodyclass = vevent
| bodystyle = width: 22em; line-height: 1.4em; text-align: left;
| 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|¬}}}}}
| abovestyle = font-size: 125%; font-weight: bold; {{#switch:{{lc:{{{italic title|¬}}}}}
Line 15: Line 15:
}}
}}


| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}}|{{{image}}}|{{{image_file|}}}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{#if:{{{image_upright|}}}|{{{image_upright}}}|1.22}}|alt={{{alt|}}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}}|{{{image}}}|{{{image_file|}}}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{#if:{{{image_upright|}}}|{{{image_upright}}}|1.36}}|alt={{{alt|}}}}}
| caption = {{{caption|}}}
| caption = {{{caption|}}}


Line 31: Line 31:
| caption2 =
| caption2 =


| image3 = {{#if:{{{pushpin_map|}}}||{{yesno|{{{mapframe|no}}}|no=|yes={{#invoke:Infobox mapframe|auto|mapframe-marker=monument}}}}}}
| image3 = {{#if:{{{pushpin_map|}}}||{{yesno|{{{mapframe|no}}}|no=|yes={{Infobox mapframe
|id={{{qid|{{{wikidata|}}}}}}

|coord={{{coordinates|}}}
| caption3 = {{#if:{{{pushpin_map|}}}||{{yesno|{{{mapframe|no}}}|no=|yes={{#invoke:Infobox mapframe|autocaption}}}}}}
|zoom={{{mapframe-zoom|14}}}
|frame-width={{{mapframe-width|280}}}
|frame-height={{{mapframe-height|}}}
|marker={{{mapframe-marker|monument}}}
|marker-color={{{mapframe-marker-color|{{{mapframe-marker-colour|}}}}}}
|frame-lat={{{mapframe-lat|{{{mapframe-latitude|}}}}}}
|frame-long={{{mapframe-long|{{{mapframe-longitude|}}}}}}
}}}}}}
| caption3 = {{#if:{{{pushpin_map|}}}||{{yesno|{{{mapframe|no}}}|no=|yes={{{mapframe-caption|}}}}}}}


| labelstyle = padding-right:0.65em;<!--(to ensure sufficient gap between (long/unwrapped) label and subsequent data on same line)-->
| labelstyle = padding-right:0.65em;<!--(to ensure sufficient gap between (long/unwrapped) label and subsequent data on same line)-->
Line 43: Line 52:
|unknown = Unknown
|unknown = Unknown
|#default = {{{artist|}}}
|#default = {{{artist|}}}
}}
}}<!-- Temporary tracking -->{{#switch:{{lc:{{{artist|}}}}}
|=
|unknown =
|unknown artist =
|anon. =
|anonymous work =
|{{lc:{{PAGENAME}}}} =
|#default = {{#ifexist: {{{artist}}}|{{main other|[[Category:Pages using infobox artwork with unlinked artist field|{{{artist}}} ]]}}|}}
}}


| label2 = {{#if:{{{year|}}}|Year|Completion date}}
| label2 = {{#if:{{{year|}}}|Year|Completion date}}
Line 188: Line 189:
}}{{#if:{{{material|}}}
}}{{#if:{{{material|}}}
|[[Category:Pages using infobox artwork with the material parameter]]
|[[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 | 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 }}<noinclude>
}}}}{{#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-height | mapframe-lat | mapframe-latitude | mapframe-long | mapframe-longitude | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-width | mapframe-zoom | 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 }}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>