Veidne:Infobox unit/doc
Izskats
Šī ir veidnes Veidne:Infobox unit dokumentācijas apakšlapa. Tā satur lietošanas piemērus, kategorijas un citu saistīto informāciju, kas nav pamatlapas daļa. |
{{{name}}} | |
---|---|
[[Attēls:{{{image}}}|frameless]] {{{caption}}} | |
Pamatinformācija | |
Vienību sistēma | {{{standard}}} |
Lielums | {{{quantity}}} |
Simbols | {{{symbol}}}, {{{symbol2}}} or {{{symbol3}}} |
Nosaukts pēc | {{{namedafter}}} |
{{{extraheader}}} | |
{{{extralabel}}} | {{{extradata}}} |
Sakarības | |
1 {{{symbol}}} | ir vienāds ar ... |
{{{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}}} |
Syntax and parameters
[labot pirmkodu]{{Infobox unit | bgcolor = | name = | image = | caption = | standard = | quantity = | symbol = | symbol2 = | symbol3 = | 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 colour of the background of the table |
name | The 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". |
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 type of quantity of which it is a unit |
symbol | The symbol used for the unit |
symbol2 | A secondary, alternative symbol for the unit |
symbol3 | A tertiary symbol for the unit |
namedafter | The person after which the unit is named |
extraheader extralabel extradata extraheader2 extralabel2 extradata2 |
Miscellaneous (e.g., a unit conversion if only one is given) |
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
[labot pirmkodu]Coulomb
[labot pirmkodu]coulomb | |
---|---|
Vienību sistēma | SI derived unit |
Lielums | electric charge |
Simbols | C |
Nosaukts pēc | Charles-Augustin de Coulomb |
Sakarības | |
1 C | ir vienāds ar ... |
SI base units | 1 A⋅s |
CGS units | (2997924580): {{{2}}} statC |
Natural units | (6.242): {{{2}}} 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 = {{val|2997924580}} [[Statcoulomb|statC]] | units3 = [[Natural units#Natural units (particle physics)|natural units]] | inunits3 = {{val|6.242|e=18}} [[Elementary charge|''e'']] }} |
Kilogram
[labot pirmkodu]kilogram | |
---|---|
A computer-generated image of the IPK (International Prototype Kilogram). The IPK Veidne:Em the kilogram. It sits next to an inch-based ruler for scale. | |
Pamatinformācija | |
Vienību sistēma | SI base unit |
Lielums | mass |
Simbols | kg |
Sakarības | |
1 kg | ir vienāds ar ... |
U.S. customary | ≈ (2.205): {{{2}}} pounds |
Natural units | ≈ (4.59): {{{2}}} |
{{Infobox unit | name = kilogram | image = [[Attēls:CGKilogram.jpg|300px]] | 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 = ≈{{thin space}}{{val|2.205}} [[Pound (mass)|pounds]] | units2 = [[natural units]] | inunits2 = ≈{{thin space}}{{val|4.59|e=7|u=[[Planck mass]]es}} }} |
Hertz
[labot pirmkodu]hertz | |
---|---|
Vienību sistēma | SI derived unit |
Lielums | frequency |
Simbols | Hz |
Nosaukts pēc | Heinrich Hertz |
In SI base units | 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]] }} |