Templat:Infobox unit: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
baru |
NikolasKHF (bicara | kontrib) kTidak ada ringkasan suntingan |
||
(10 revisi perantara oleh 5 pengguna tidak ditampilkan) | |||
Baris 1:
<includeonly>{{Infobox
| bodystyle = background:{{{bgcolor|}}};
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|alt={{{alt|}}}}}
| caption = {{{caption|}}}
| image2 = {{#switch: {{lc:{{{standard|}}}}}|satuan pokok si|[[satuan pokok si]]={{Peta SI|infobox=y|size=175}}}}
| headerclass =
<!------------------- General information -------------------->
| header1 = {{#if:{{{image|}}} |Informasi umum}}
| label2 = {{longitem|[[Sistem pengukuran|Sistem satuan]]}}
| data2 = {{{standard|}}}
| label3 = Besaran
| data3 = {{{quantity|}}}
| label4 = Simbol
| data4 = {{#if:{{{symbol|}}}|{{{symbol}}}{{#if:{{{symbol3|}}}|, {{{symbol2|}}}, atau {{{symbol3|}}}|{{#if:{{{symbol2|}}}| atau {{{symbol2|}}}}}}}}}
| label5 = {{longitem|Asal penamaan}}
| data5 = {{
| header6 = {{{extraheader|}}}
| label7 = {{{extralabel|}}}
| data7 = {{
| header8 = {{{extraheader2|}}}
| label9 = {{{extralabel2|}}}
| data9 = {{{extradata2|}}}
<!------------------- Conversions -------------------->
| header10 =
{{#ifexpr: ({{#if:{{{units1|}}}|1|0}} and {{#if:{{{inunits1|}}}|1|0}})
or ({{#if:{{{units2|}}}|1|0}} and {{#if:{{{inunits2|}}}|1|0}})
or ({{#if:{{{units4|}}}|1|0}} and {{#if:{{{inunits4|}}}|1|0}})
or ({{#if:{{{units5|}}}|1|0}} and {{#if:{{{inunits5|}}}|1|0}})
or ({{#if:{{{units6|}}}|1|0}} and {{#if:{{{inunits6|}}}|1|0}})
| Konversi
<tr class="nowrap"><td>{{#if:{{{convertfromx|}}}|{{math|''x''}}|1}}{{#if:{{{nospacebefore|}}}|| }}{{{symbol|{{lc:{{{name|{{SUBPAGENAME}}}}}}}}}} ''dalam ...''</td><td>''... sama dengan ...''</td></tr>
}}
| label12 = {{nbsp|3}}{{{units1|}}}
| data12 = {{#ifexpr:({{#if:{{{
| label13 = {{nbsp|3}}{{{units2|}}}
| data13 = {{#ifexpr:({{#if:{{{
| label14 = {{nbsp|3}}{{{units3|}}}
| data14 = {{#ifexpr:({{#if:{{{units3|}}}|1|0}} and {{#if:{{{inunits3|}}}|1|0}}) |{{nbsp|3}}{{{inunits3|}}} }}
| label15 = {{nbsp|3}}{{{units4|}}}
| data15 = {{#ifexpr:
| label16 = {{nbsp|3}}{{{units5|}}}
| data16 = {{#ifexpr:({{#if:{{{units5|}}}|1|0}} and {{#if:{{{inunits5|}}}|1|0}}) |{{nbsp|3}}{{{inunits5|}}} }}
| label17
| data17 = {{#ifexpr:({{#if:{{{units6|}}}|1|0}} and {{#if:{{{inunits6|}}}|1|0}}) |{{nbsp|3}}{{{inunits6|}}} }}
| label18 = {{nbsp|3}}{{{units7|}}}
|
<!------------- Conversions (imperial) --------------->
| header20 =
or ({{#if:{{{units_imp2|}}}|1|0}} and {{#if:{{{inunits_imp2|}}}|1|0}})
or ({{#if:{{{units_imp3|}}}|1|0}} and {{#if:{{{inunits_imp3|}}}|1|0}})
or ({{#if:{{{units_imp5|}}}|1|0}} and {{#if:{{{inunits_imp5|}}}|1|0}})
or ({{#if:{{{units_imp6|}}}|1|0}} and {{#if:{{{inunits_imp6|}}}|1|0}})
| Konversi (satuan imperial)
<tr class="nowrap"><td>{{#if:{{{convertfromx|}}}|{{math|''x''}}|1}} {{{symbol|satuan}}} imp. ''dalam ...''</td><td>''... sama dengan ...''</td></tr>
}}
| label22 = {{nbsp|3}}{{{units_imp1|}}}
| data22 = {{#ifexpr:({{#if:{{{units_imp1|}}}|1|0}} and {{#if:{{{inunits_imp1|}}}|1|0}}) |{{nbsp|3}}{{{inunits_imp1|}}} }}
| label23 = {{nbsp|3}}{{{units_imp2|}}}
| data23 = {{#ifexpr:({{#if:{{{units_imp2|}}}|1|0}} and {{#if:{{{inunits_imp2|}}}|1|0}}) |{{nbsp|3}}{{{inunits_imp2|}}} }}
| label24 = {{nbsp|3}}{{{units_imp3|}}}
| data24 = {{#ifexpr:({{#if:{{{units_imp3|}}}|1|0}} and {{#if:{{{inunits_imp3|}}}|1|0}}) |{{nbsp|3}}{{{inunits_imp3|}}} }}
| label25 = {{nbsp|3}}{{{units_imp4|}}}
| data25 = {{#ifexpr:({{#if:{{{units_imp4|}}}|1|0}} and {{#if:{{{inunits_imp4|}}}|1|0}}) |{{nbsp|3}}{{{inunits_imp4|}}} }}
| label26 = {{nbsp|3}}{{{units_imp5|}}}
| data26 = {{#ifexpr:({{#if:{{{units_imp5|}}}|1|0}} and {{#if:{{{inunits_imp5|}}}|1|0}}) |{{nbsp|3}}{{{inunits_imp5|}}} }}
| label27 = {{nbsp|3}}{{{units_imp6|}}}
| data27 = {{#ifexpr:({{#if:{{{units_imp6|}}}|1|0}} and {{#if:{{{inunits_imp6|}}}|1|0}}) |{{nbsp|3}}{{{inunits_imp6|}}} }}
<!---------------- Conversions (US) ------------------>
| header30 =
{{#ifexpr: ({{#if:{{{units_us1|}}}|1|0}} and {{#if:{{{inunits_us1|}}}|1|0}})
or ({{#if:{{{units_us2|}}}|1|0}} and {{#if:{{{inunits_us2|}}}|1|0}})
or ({{#if:{{{units_us3|}}}|1|0}} and {{#if:{{{inunits_us3|}}}|1|0}})
or ({{#if:{{{units_us4|}}}|1|0}} and {{#if:{{{inunits_us4|}}}|1|0}})
or ({{#if:{{{units_us5|}}}|1|0}} and {{#if:{{{inunits_us5|}}}|1|0}})
or ({{#if:{{{units_us6|}}}|1|0}} and {{#if:{{{inunits_us6|}}}|1|0}})
| Konversi (satuan AS)
<tr class="nowrap"><td>{{#if:{{{convertfromx|}}}|{{math|''x''}}|1}} {{{symbol|satuan}}} AS ''dalam ...''</td><td>''... sama dengan ...''</td></tr>
}}
| label32 = {{nbsp|3}}{{{units_us1|}}}
| data32 = {{#ifexpr:({{#if:{{{units_us1|}}}|1|0}} and {{#if:{{{inunits_us1|}}}|1|0}}) |{{nbsp|3}}{{{inunits_us1|}}} }}
| label33 = {{nbsp|3}}{{{units_us2|}}}
| data33 = {{#ifexpr:({{#if:{{{units_us2|}}}|1|0}} and {{#if:{{{inunits_us2|}}}|1|0}}) |{{nbsp|3}}{{{inunits_us2|}}} }}
| label34 = {{nbsp|3}}{{{units_us3|}}}
| data34 = {{#ifexpr:({{#if:{{{units_us3|}}}|1|0}} and {{#if:{{{inunits_us3|}}}|1|0}}) |{{nbsp|3}}{{{inunits_us3|}}} }}
| label35 = {{nbsp|3}}{{{units_us4|}}}
| data35 = {{#ifexpr:({{#if:{{{units_us4|}}}|1|0}} and {{#if:{{{inunits_us4|}}}|1|0}}) |{{nbsp|3}}{{{inunits_us4|}}} }}
| label36 = {{nbsp|3}}{{{units_us5|}}}
| data36 = {{#ifexpr:({{#if:{{{units_us5|}}}|1|0}} and {{#if:{{{inunits_us5|}}}|1|0}}) |{{nbsp|3}}{{{inunits_us5|}}} }}
| label37 = {{nbsp|3}}{{{units_us6|}}}
| data37 = {{#ifexpr:({{#if:{{{units_us6|}}}|1|0}} and {{#if:{{{inunits_us6|}}}|1|0}}) |{{nbsp|3}}{{{inunits_us6|}}} }}
}}</includeonly><!--
--><noinclude>{{documentation}}</noinclude>
|