Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a2432fc75b36ecfa

Jump to content

Template:Infobox unit/doc

From Wikipedia, the free encyclopedia
{{{name}}}
[[File:{{{image}}}|frameless]]
{{{caption}}}
General information
Unit system{{{standard}}}
Unit of{{{quantity}}}
Symbol{{{symbol}}},{{{symbol2}}},{{{symbol3}}},{{{symbol4}}}
Named after{{{namedafter}}}
{{{extraheader}}}
{{{extralabel}}}{{{extradata}}}
Conversions
1 {{{symbol}}} in ...... is equal to ...
   {{{units1}}}   {{{inunits1}}}
   {{{units2}}}   {{{inunits2}}}
   ......   ......
   {{{units6}}}   {{{inunits6}}}
Conversions (imperial)
1 imp {{{symbol}}} in ...... is equal to ...
   {{{units_imp1}}}   {{{inunits_imp1}}}
   {{{units_imp2}}}   {{{inunits_imp2}}}
   ......   ......
   {{{units_imp6}}}   {{{inunits_imp6}}}
Conversions (US)
1 US {{{symbol}}} in ...... is equal to ...
   {{{units_us1}}}   {{{inunits_us1}}}
   {{{units_us2}}}   {{{inunits_us2}}}
   ......   ......
   {{{units_us6}}}   {{{inunits_us6}}}

Parameters

[edit]
ParameterDescription
bgcolorThe colour of the background of the table
nameThe name of the unit (defaults to {{PAGENAME}}). Capitalize the name as if it appeared in the middle of a sentence, for example, "watt" rather than "Watt".
imageThe image for the infobox (use full wikicode; avoid parameter "thumb")
captionA caption for the image
standardThe unit system (system of measurement) of which the unit is a part (e.g. SI)
quantityThe type of quantity of which it is a unit
symbolThe symbol used for the unit
symbol2A secondary, alternative symbol for the unit
symbol3A tertiary symbol for the unit
symbol4A quaternary symbol for the unit
nospacebeforeSet to "yes" if there should not be a space between the value and symbol of this unit.
namedafterThe person after which the unit is named
extraheader
extralabel
extradata
extraheader2
extralabel2
extradata2
Miscellaneous (e.g., a unit conversion if only one is given)
conversionslinkOverwrite "Conversions" header, for example when linking a conversions page.
convertfromxSet to "yes" when conversions from this unit cannot be represented by simple multiplication. When specified, conversion headings begin with "x {{{symbol}}} in" instead of "1 {{{symbol}}} in", and "... is equal to ..." is replaced by "... corresponds to ...".
calcinputWhen specified, conversion headings begin with "{{{calcinput}}} {{{symbol}}}". For use with Template:Calculator.
unitsNName of system of units used for subsequent conversion, where N can be 1 to 6
inunitsNConversions: the unit expressed in {{{unitsN}}}, where N can be 1 to 6
inunits_impNImperial conversions: the unit expressed in {{{units_impN}}}, where N can be 1 to 6
inunits_usNU.S. conversions: the unit expressed in {{{units_usN}}}, where N can be 1 to 6

Examples

[edit]

Coulomb

[edit]
coulomb
Unit systemSI
Unit ofelectric charge
SymbolC
Named afterCharles-Augustin de Coulomb
Conversions
1 C in ...... is equal to ...
   SI base units   1 As
   CGS units   2997924580 statC
   Natural units   6.242×1018 e
{{Infobox unit
| name = coulomb
| standard = [[SI]]
| 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 = {{val|2997924580}} [[Statcoulomb|statC]]
| units3 = [[Natural units#Natural units (particle physics)|natural units]]
| inunits3 = {{val|6.242|e=18}} [[Elementary charge|''e'']]
}}

Kilogram

[edit]
kilogram
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.
General information
Unit systemSI
Unit ofmass
Symbolkg
Conversions
1 kg in ...... is equal to ...
   U.S. customary   2.205 pounds
   Atomic units   1.0978×1030 me
{{Infobox unit
| name = kilogram
| image = [[File:CGKilogram.jpg|300px]]
| caption = {{longitem|A computer-generated image of the IPK [...] }}
| standard = [[International System of Units|SI]]
| quantity = [[mass]]
| symbol = kg
| units1 = [[United States customary units|U.S. customary]]
| inunits1 ={{val|2.205|u=[[Pound (mass)|pound]]s}}
| units2 = [[Atomic units]]
| inunits2 ={{val|1.0978|e=30|u=''m''<sub>e</sub>}}
}}

Hertz

[edit]
hertz
Unit systemSI
Unit offrequency
SymbolHz
Named afterHeinrich Hertz
In SI base units1 Hz = 1/s
{{Infobox unit
| name = hertz 
| standard = [[SI]]
| quantity = [[frequency]]
| symbol = Hz
| namedafter = [[Heinrich Hertz]]
| extralabel = In [[SI base unit]]s
| extradata = 1 Hz = 1/[[Second|s]]
}}

Full blank syntax

[edit]
{{Infobox unit
| bgcolor       = 
| name          = 
| image         = 
| caption       = 
| standard      = 
| quantity      = 
| symbol        = 
| symbol2       = 
| symbol3       = 
| symbol4       = 
| nospacebefore = 
| namedafter    = 
| extraheader   = 
| extralabel    = 
| extradata     = 
| extraheader2  = 
| extralabel2   = 
| extradata2    = 
| convertfromx  = 
| units1        = 
| inunits1      = 
<!--...-->
| units6        = 
| inunits6      = 
| units_imp1    = 
| inunits_imp1  = 
<!--...-->
| units_imp6    = 
| inunits_imp6  = 
| units_us1     = 
| inunits_us1   = 
<!--...-->
| units_us6     = 
| inunits_us6   = 
}}

See also

[edit]

Categories

[edit]

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox unit in articles based on its TemplateData.

TemplateData for Infobox unit

The infobox for units of measurement.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
namename

no description

Unknownoptional
imageimage

no description

Unknownoptional
imagesizeimagesize

no description

Unknownoptional
altalt

no description

Unknownoptional
captioncaption

no description

Unknownoptional
standardstandard

no description

Unknownoptional
quantityquantity

no description

Unknownoptional
symbolsymbol

no description

Unknownoptional
namedafternamedafter

no description

Unknownoptional
units1units1

no description

Unknownoptional
inunits1inunits1

no description

Unknownoptional
units2units2

no description

Unknownoptional
inunits2inunits2

no description

Unknownoptional