Templat:Infobox unit: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
k Rachmat04 memindahkan halaman Templat:Infobox Unit ke Templat:Infobox unit
NikolasKHF (bicara | kontrib)
kTidak ada ringkasan suntingan
 
(6 revisi perantara oleh 3 pengguna tidak ditampilkan)
Baris 1:
<includeonly>{{Infobox
| bodystyle = background:{{{bgcolor|}}};
| abovestyle = font-style:italic;
| 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 = navbox-abovebelow
 
<!------------------- UnitGeneral information -------------------->
| header1 = {{#if:{{{image|}}} |Informasi satuanumum}}
 
| label2 = {{longitem|[[Sistem Unitpengukuran|Sistem satuan]]}}
| data2 = {{{standard|}}}
 
| label3 = Satuan dariBesaran
| data3 = {{{quantity|}}}
 
| label4 = Simbol
| data4 = {{#if:{{{symbol|}}} |{{{symbol}}}{{#if:{{{symbol3|}}}|,&ensp;{{{symbol2|}}},&ensp;atau&ensp;{{{symbol3|}}}|{{#if:{{{symbol2|}}}|or&ensp;atau&ensp;{{{symbol2|}}}&ensp;}} }}}}
 
| label5 = Dinamai{{longitem|Asal daripenamaan}}
| data5 = {{{namedafter|}}}
 
| label6 header6 = {{{extralabelextraheader|}}}
| data6 label7 = {{{extradataextralabel|}}}
| data7 = {{{extradata|}}}
| header8 = {{{extraheader2|}}}
| label9 = {{{extralabel2|}}}
| data9 = {{{extradata2|}}}
 
<!------------------- Unit conversionsConversions -------------------->
| 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 satuan
<tr class="nowrap"><td>{{#if:{{{convertfromx|}}}|{{math|''x''}}|1 }}{{#if:{{{nospacebefore|}}}||&nbsp;}}{{{symbol|unit{{lc:{{{name|{{SUBPAGENAME}}}}}}}}}} ''dalam ...''</td><td>''... sama dengan ...''</td></tr>
}}
 
Baris 55 ⟶ 59:
| 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 =
 
<!------------- Unit conversionsConversions (imperial) --------------->
| 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 (imperial)
<tr class="nowrap"><td>{{#if:{{{convertfromx|}}}|{{math|''x''}}|1 imp }}&nbsp;{{{symbol|unitsatuan}}}&nbsp;imp. ''dalam ...''</td><td>''... sama dengan ...''</td></tr>
}}
 
Baris 85 ⟶ 92:
| data27 = {{#ifexpr:({{#if:{{{units_imp6|}}}|1|0}} and {{#if:{{{inunits_imp6|}}}|1|0}}) |{{nbsp|3}}{{{inunits_imp6|}}} }}
 
<!---------------- Unit conversionsConversions (US) ------------------>
| 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 (USAS)
<tr class="nowrap"><td>{{#if:{{{convertfromx|}}}|{{math|''x''}}|1 US }}&nbsp;{{{symbol|unitsatuan}}}&nbsp;AS ''dalam ...''</td><td>''... sama dengan ...''</td></tr>
}}
 
Baris 115 ⟶ 122:
| data37 = {{#ifexpr:({{#if:{{{units_us6|}}}|1|0}} and {{#if:{{{inunits_us6|}}}|1|0}}) |{{nbsp|3}}{{{inunits_us6|}}} }}
 
}}</includeonly><!--

--><noinclude>{{Documentationdocumentation}}</noinclude>