Template:Infobox artwork and Template:Infobox artwork/sandbox: Difference between pages
Appearance
(Difference between pages)
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. |
| 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={{ |
| image3 = {{#if:{{{pushpin_map|}}}||{{yesno|{{{mapframe|no}}}|no=|yes={{Infobox mapframe |
||
|id={{{qid|{{{wikidata|}}}}}} |
|||
|coord={{{coordinates|}}} |
|||
⚫ | |||
|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|}}}}}} |
|||
}}}}}} |
|||
⚫ | |||
| 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 |
}}}}{{#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> |