Templat:Infobox artwork: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
subyek->subjek |
Tidak ada ringkasan suntingan Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan |
||
(13 revisi perantara oleh 7 pengguna tidak ditampilkan) | |||
Baris 1:
{{
| child = {{lc:{{{embed|}}}}}
| 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;|}}
|
|no = <!-- no italic title -->
||¬|
}}
|
|
| 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|}}}''}} }}
▲| above = {{comma separated entries
|
}}▼
| 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|}}}
| image2 = {{#if:{{{pushpin_map|}}}|{{Location map|{{{pushpin_map}}}
| coordinates = {{{coordinates|}}}▼
|alt = {{{pushpin_map_alt|}}}
|float = center▼
|caption = {{{pushpin_map_caption|}}}
|relief = {{{pushpin_relief|}}}
|position = {{{pushpin_label_position|}}}▼
|
|
}}}}
| caption2 =
▲|float = center
| labelstyle = padding-right:0.65em;<!--(to ensure sufficient gap between (long/unwrapped) label and subsequent data on same line)-->
▲|border = none
▲|position = {{{pushpin_label_position|}}}
| label1 = {{#if:{{{artist|}}}|
| class1 = attendee
| data1 = {{#if:{{{artist|}}}
|{{#ifeq:{{ucfirst:{{{artist|}}}}}|
|{{{designer|}}}
}}
| label2 = {{#if:{{{year|}}}|Tahun|
| data2 = {{#if:{{{year|}}}|{{{year|}}}|{{{completion_date|}}}}}
Baris 58 ⟶ 52:
| data4 = {{{type|}}}
| label5 =
| class5 = category
| data5 = {{if empty|{{{medium|}}}|{{{material|}}}}}
| label6 =
| class6 = category
| data6 = {{{subject|}}}▼
| data6 = {{{movement|}}}
|
| label8 = Ukuran
<!--BEGIN DIMENSIONAL DATA SECTION; INCLUDES SCARY CODE ;)-->
|
-->{{#if:{{{height_metric|}}}{{{height_imperial|}}}{{{width_metric|}}}{{{width_imperial|}}}{{{length_metric|}}}{{{length_imperial|}}}|<!--Begin H×W×L metric data
Baris 76 ⟶ 74:
-->|{{#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:
-->|{{convert|{{formatnum:{{{height_imperial}}}
-->{{#if:{{{height_metric|}}}{{isnumeric|{{{height_imperial|}}}}}|<!-- begin ×1; if height is present, then:
Baris 86 ⟶ 84:
-->|{{#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:
-->|{{convert|{{formatnum:{{{width_imperial}}}
-->{{#if:{{{width_metric|}}}{{isnumeric|{{{width_imperial|}}}}}|<!-- begin ×2; if width is present, then:
Baris 96 ⟶ 94:
-->|{{#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:
-->|{{convert|{{formatnum:{{{length_imperial}}}
--> (<!--end H×W×L metric data, begin H×W×L imperial data
Baris 104 ⟶ 102:
-->{{#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|}}}
-->{{#if:{{{height_imperial|}}}{{{height_metric|}}}|<!-- begin ×1; if height is present, then:
Baris 113 ⟶ 111:
-->{{#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|}}}
-->{{#if:{{{width_imperial|}}}{{{width_metric|}}}|<!-- begin ×2; if width is present, then:
Baris 122 ⟶ 120:
-->{{#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|}}}
-->)<!--end all H×W×L data
Baris 129 ⟶ 127:
-->{{#switch:0{{#if:{{{diameter_metric|}}}|c}}{{#if:{{{diameter_imperial|}}}|i}}<!--switch controlling diameter section
-->|0c={{#if:{{isnumeric|{{{diameter_metric}}}}}|{{{diameter_metric}}} {{{metric_unit|cm}}} diameter ({{convert|{{formatnum:{{{diameter_metric}}}
-->|0i={{#if:{{isnumeric|{{{diameter_imperial}}}}}|{{convert|{{formatnum:{{{diameter_imperial}}}
-->|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
Baris 138 ⟶ 136:
-->}}<!--end if any dimensional data--><!--END DIMENSIONAL SECTION-->
| label11 =
| data11 = {{{weight|}}}
| label12 =
| data12 = {{{
| label13 =
| data13 =
| label14 =
| data14 = {{
▲ |{{{coordinates|}}}
▲ }}
| label15 = <span style="display:none">[[Sistem koordinat geografis|Koordinat]]</span>
| data15 = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|}}}|type:landmark}}}}
| data15 = {{{owner|}}}▼
|
| label20 = Kode
| data20 = {{{accession|}}}
| label21 =
| data21 = {{{
| label22 = Karya selanjutnya
| data22 = {{{followed_by|}}}
| header23 = {{{module|}}}
| label24 = Situs web
| data24 = {{{website|{{{url|}}}}}}
|header25 = {{{embedded|}}}
}}<!--
-->{{#switch:{{lc:{{{italic title|¬}}}}}
|no = <!-- no italic title -->
||¬|
}}{{main other|{{#if:{{{artist|}}}
|{{#ifeq:{{ucfirst:{{{artist|}}}}}|Unknown||{{#ifexist:{{{artist}}}|[[Kategori:Pages using infobox artwork with autolinked artist field]]}}}}
}}{{#if:{{{backcolor|}}}
|[[Kategori:Pages using infobox artwork with the backcolor parameter]]
}}{{#if:{{{material|}}}
|[[Kategori:Pages using infobox artwork with the material parameter]]
}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Kategori:Pages using infobox artwork with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Templat:Infobox artwork]] with unknown parameter "_VALUE_"|ignoreblank=y| accession | alt | artist | caption | catalog | catalogue | city | collection | 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 title | italic other_title_1 | italic other_title_2 | length_imperial | length_inch | length_metric | map_dot_label | map_size | 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 | subject | title | type | url | website | weight | width_imperial | width_inch | width_metric | wikidata | year | backcolor }}<noinclude>
{{Documentation}}
</noinclude>
|