Templat:Infobox unit: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
FelixJL111 (bicara | kontrib) Tidak ada ringkasan suntingan |
NikolasKHF (bicara | kontrib) kTidak ada ringkasan suntingan |
||
(4 revisi perantara oleh 2 pengguna tidak ditampilkan) | |||
Baris 1:
<includeonly>{{Infobox
| bodystyle = background:{{{bgcolor|}}};
| above = {{{name|{{SUBPAGENAME}}}}}
| 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 =
<!-------------------
| header1 = {{#if:{{{image|}}} |Informasi
| label2 = {{longitem|[[Sistem pengukuran|Sistem satuan]]}}
| data2 = {{{standard|}}}
| label3 = Besaran
| data3 = {{{quantity|}}}
| label4 = Simbol
| data4 = {{#if:{{{symbol|}}}
| label5 = {{longitem|Asal penamaan}}
| data5 = {{{namedafter|}}}
|
|
| data7 = {{{extradata|}}}
| header8 = {{{extraheader2|}}}
| label9 = {{{extralabel2|}}}
| data9 = {{{extradata2|}}}
<!-------------------
| header10 =
{{#ifexpr: ({{#if:{{{units1|}}}|1|0}} and {{#if:{{{inunits1|}}}|1|0}})
Baris 33 ⟶ 37:
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
}}
| label12 = {{nbsp|3}}{{{units1|}}}
| data12 = {{#ifexpr:({{#if:{{{units1|}}}|1|0}} and {{#if:{{{inunits1|}}}|1|0}}) |{{nbsp|3}}{{{inunits1|}}} }}
| label13 = {{nbsp|3}}{{{units2|}}}
| data13 = {{#ifexpr:({{#if:{{{units2|}}}|1|0}} and {{#if:{{{inunits2|}}}|1|0}}) |{{nbsp|3}}{{{inunits2|}}} }}
| label14 = {{nbsp|3}}{{{units3|}}}
| data14 = {{#ifexpr:({{#if:{{{units3|}}}|1|0}} and {{#if:{{{inunits3|}}}|1|0}}) |{{nbsp|3}}{{{inunits3|}}} }}
| label15 = {{nbsp|3}}{{{units4|}}}
| data15 = {{#ifexpr:({{#if:{{{units4|}}}|1|0}} and {{#if:{{{inunits4|}}}|1|0}}) |{{nbsp|3}}{{{inunits4|}}} }}
| label16 = {{nbsp|3}}{{{units5|}}}
| data16 = {{#ifexpr:({{#if:{{{units5|}}}|1|0}} and {{#if:{{{inunits5|}}}|1|0}}) |{{nbsp|3}}{{{inunits5|}}} }}
| label17 = {{nbsp|3}}{{{units6|}}}
| data17 = {{#ifexpr:({{#if:{{{units6|}}}|1|0}} and {{#if:{{{inunits6|}}}|1|0}}) |{{nbsp|3}}{{{inunits6|}}} }}
| label18 = {{nbsp|3}}{{{units7|}}}
<!------------- Unit conversions (imperial) --------------->▼
| data18 = {{#ifexpr:({{#if:{{{units7|}}}|1|0}} and {{#if:{{{inunits7|}}}|1|0}}) |{{nbsp|3}}{{{inunits7|}}} }}
| header20 = ▼
{{#ifexpr: ({{#if:{{{units_imp1|}}}|1|0}} and {{#if:{{{inunits_imp1|}}}|1|0}})
or ({{#if:{{{units_imp2|}}}|1|0}} and {{#if:{{{inunits_imp2|}}}|1|0}})
Baris 63 ⟶ 70:
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
<tr class="nowrap"><td>{{#if:{{{convertfromx|}}}|{{math|''x''}}|1
}}
| 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|}}} }}
<!----------------
| header30 =
{{#ifexpr: ({{#if:{{{units_us1|}}}|1|0}} and {{#if:{{{inunits_us1|}}}|1|0}})
Baris 93 ⟶ 100:
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
<tr class="nowrap"><td>{{#if:{{{convertfromx|}}}|{{math|''x''}}|1
}}
| 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><!--
|