Templat:Infobox artwork: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
k Suntingan Mohd Zaenuri (bicara) dibatalkan ke versi terakhir oleh Hidayatsrf Tag: Pengembalian Dikembalikan |
Tidak ada ringkasan suntingan Tag: Suntingan perangkat seluler Suntingan peramban seluler Suntingan seluler lanjutan |
||
(3 revisi perantara oleh 2 pengguna tidak ditampilkan) | |||
Baris 1:
{{Infobox
| 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;|}}
Baris 29 ⟶ 30:
|width = {{#if:{{{map_size|}}}|{{{map_size}}}|280}}
}}}}
{{#if:{{#property:P402}}{{#property:P625}}|{{WDmulticoord}}}}
| caption2 =
Baris 72 ⟶ 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 82 ⟶ 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 92 ⟶ 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 100 ⟶ 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 109 ⟶ 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 118 ⟶ 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 125 ⟶ 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 165 ⟶ 167:
| label24 = Situs web
| data24 = {{{website|{{{url|}}}}}}
|header25 = {{{embedded|}}}
}}<!--
|