সাঁচ:Infobox unit/doc

অসমীয়া ৱিকিপিডিয়াৰ পৰা
doc

Syntax and parameters[সম্পাদনা কৰক]

{{Infobox unit
| bgcolor = 
| name = 
| image = 
| caption = 
| standard = 
| quantity = 
| symbol = 
| symbol2 = 
| namedafter = 
| extralabel = 
| extradata = 
| units1 = 
| inunits1 = 
<!--...-->
| units6 = 
| inunits6 = 
| units_imp1 = 
| inunits_imp1 = 
<!--...-->
| units_imp6 = 
| inunits_imp6 =
| units_us1 = 
| inunits_us1 = 
<!--...-->
| units_us6 = 
| inunits_us6 = 
}}
Parameter Description
bgcolor The colo/ur of the background of the table.
name The name of the unit. Defaults to {{LINKED:PAGENAME}}.
image The image for the infobox (use full wikicode).
caption A caption for the image.
standard The unit system (system of measurement) of which the unit is a part (e.g. SI).
quantity The physical quantity of which it is a unit.
symbol The symbol used for the unit.
symbol2 A secondary, alternative symbol for the unit.
namedafter The person after which the unit is named.
extralabel
extradata
Miscellaneous. For example, if there's just one unit conversion, it can be put here.
inunitsN Conversions: the unit expressed in {{{unitsN}}}, where N can be 1 to 6).
inunits_impN Imperial conversions: the unit expressed in {{{units_impN}}}, where N can be 1 to 6.
inunits_usN U.S. conversions: the unit expressed in {{{units_usN}}}, where N can be 1 to 6.

Examples[সম্পাদনা কৰক]

Coulomb[সম্পাদনা কৰক]

{{Infobox unitসাঁচ:\sandbox | name = Coulomb | standard = SI derived unit | quantity = Electric charge | symbol = C | namedafter = Charles-Augustin de Coulomb | units1 = SI base units | inunits1 = 1 A s | units2 = CGS units | inunits2 = 2997924580 statC | units3 = Natural units | inunits3 = e }}

{{Infobox unit
| name = Coulomb
| standard = [[SI derived unit]]
| quantity = [[Electric charge]]
| symbol = C
| namedafter = [[Charles-Augustin de Coulomb]]
| units1 = [[SI base unit]]s
| inunits1 = 1 [[Ampere|A]] [[Second|s]]
| units2 = [[CGS unit]]s
| inunits2 = {{gaps|2|997|924|580}} [[Statcoulomb|statC]]
| units3 = [[Natural units#Natural units (particle physics)|Natural units]]
| inunits3 = {{val|6.242|e=18}} [[Elementary charge|e]]
}}

Kilogram[সম্পাদনা কৰক]

{{Infobox unitসাঁচ:\sandbox | name = Kilogram | image =

| caption =

A computer-generated image of the IPK (International Prototype Kilogram). The IPK is the kilogram. It sits next to an inch-based ruler for scale.

| standard = SI base unit | quantity = Mass | symbol = kg | units1 = U.S. customary | inunits1 = ≈ pounds | units2 = Natural units | inunits2 = ≈ }}

{{Infobox unit
| name = Kilogram
| image = [[File:CGKilogram.jpg|307px]]
| caption = {{longitem|A computer-generated image of the IPK [...] }}
| standard = [[SI base unit]]
| quantity = [[Mass]]
| symbol = kg
| units1 = [[United States customary units|U.S. customary]]
| inunits1 = ≈{{thinsp}}{{val|2.205}} [[Pound (mass)|pounds]]
| units2 = [[Natural units]]
| inunits2 = ≈{{thinsp}}{{val|4.59|e=7|u=[[Planck mass]]es}}
}}

Hertz[সম্পাদনা কৰক]

{{Infobox unitসাঁচ:\sandbox | name = Hertz | standard = SI derived unit | quantity = Frequency | symbol = Hz | namedafter = Heinrich Hertz | extralabel = In SI base units | extradata = 1 Hz = 1/s }}

{{Infobox unit
| name = Hertz 
| standard = [[SI derived unit]]
| quantity = [[Frequency]]
| symbol = Hz
| namedafter = [[Heinrich Hertz]]
| extralabel = In [[SI base unit]]s
| extradata = 1 Hz = 1/[[Second|s]]
}}