Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Template:Bbl to t

Permanently protected template
From Wikipedia, the free encyclopedia
Template documentation[view] [edit] [history] [purge]

Usage

{{bbl to t|1|2|3|4|API=|abbr=|lk=|adj=|per=|t_per=|mlt=}}

Examples

{{bbl to t|100}}gives100 barrels (~14 t)
round to three significant figures:{{bbl to t|100|3}}gives100 barrels (~13.6 t)
define density:{{bbl to t|100|API=22}}gives100 barrels (~15 t)
abbreviate:{{bbl to t|100|abbr=on}}gives100 bbl (~14 t)
link:{{bbl to t|100|lk=on}}gives100barrels (~14 t)
adjectives{{bbl to t|100|adj=on}}gives100-barrel (~14 t)
rates:{{bbl to t|100|per=d}}gives100 barrels per day (~14 t/d)
rates with different time units:{{bbl to t|100|per=d|t_per=a}}gives100 barrels per day (~5,000 t/a)
ranges:{{bbl to t|100|to|200}}gives100 to 200 barrels (~14 to ~27 t)
large numbers of barrels:{{bbl to t|100|mlt=M}}gives100 million barrels (~1.4×10^7 t)

Seetalk for more examples.

Parameters

Italicized parameters are optional:

  • 1 is a required parameter, which specifies the number of oil barrels to be converted to tonnes (metric tons). Please do not format this parameter; i.e., use 1234 instead of 1,234.
  • API is theAPI gravity factor. The default value is 33.4, corresponding to a density of 858.1 kg/m³ or 7.330 bbl/t at 60 °F.
  • 2 can either be a word or a number dependant on "mode".
  • 3 is used only in range mode.
  • 4 is used only in range mode.
  • abbr can take values of eitheron oroff. The default value isoff, which will show the names of the units as specified in theManual of Style for dates and numbers (barrels, t);on will show the abbreviated names of the units (bbl, t).
  • lk specifies whether the names of the units should be linked and can take values of eitheron oroff. The default value isoff.
  • adj is used for adjectives and can take values of eitheron oroff. The default value isoff. Setting this parameter toon will put hyphens in and makebarrel singular.
  • per is used for rates. Useh for "per hour",d for "per day" anda for "perannum".
  • t_per is used for tonne rates if a different time unit than that used for barrels is desired.
  • mlt specifies whether to convert barrels, thousands of barrels, millions of barrels, billions of barrels or trillions of barrels. Set this parameter to the appropriateSI prefix. Note the billion and trillion used here are the "short scale" ones (109 and 1012 respectively).

Modes

Single-conversion mode

In single-conversion mode template converts a single value. In standard mode2 determines the number of significant figures in the output.

Dual-conversion mode

Setting2 to a word puts the template into dual-conversion mode. In this mode the template converts two values conjoined with the given word. The first value is determined by1 and the second value is determined by3. In dual conversion mode the number of significant figures in the output can be given by4.

Rounding

Rounding to a given number of significant figures

The template rounds conversions to the number of significant figures given by either2 or4 (dependant on mode as noted above).

Default rounding

Where no number of significant figures is specified the default is to round according to the number of significant figures in the input. Seetalk for details.

Template Data

This is theTemplateData for this template used byTemplateWizard,VisualEditor and other tools.See a monthly parameter usage report forTemplate:Bbl to t in articles based on its TemplateData.

TemplateData for Bbl to t

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
22

no description

Unknownoptional
33

no description

Unknownoptional
44

no description

Unknownoptional
lklk

no description

Unknownoptional
abbrabbr

no description

Unknownoptional
adjadj

no description

Unknownoptional
perper

no description

Unknownoptional
mltmlt

no description

Unknownoptional
APIAPI

no description

Unknownoptional
t_pert_per

no description

Unknownoptional

See also

Math templates
  • Functions
  • Numeral systems
Functions
Numeral systems
Conversions
convert many units (see:list)
cvt abbreviated{{convert}}
convinfobox{{convert}} for infoboxes
bbl to t barrels of oil to tonnes
long ton long hundredweights, quarters and pounds to kilograms;
long tons and hundredweights to pounds and metric tons
miles-chains miles and chains to kilometres linking "chains"
decdeg degrees, minutes, and seconds todecimal degrees
deg2dms decimal degrees to degrees, minutes, and seconds
deg2hms decimal degrees tohour angle (in hours, minutes, and seconds)
hms2deghour angle (in hours, minutes, and seconds) to decimal degrees
inflation calculate inflation of Consumer Price Index-related prices
pop density population density in an area
track gauge railway track gauges
Notation andformatting
bigmath bigger font to matchTeX\displaystyle (standalone formulas only)
bra–ket notation
ceil,floor calculations:mw:Help:#expr; formatting indicators⌈3.14⌉,3.14 (no calculation performed)
fraction slant fractions35 (not for maths/science articles; usestanding or upright fractions{{sfrac}} instead)
intmathintegral symbols
  • langle
  • rangle
  • angbr
  • angular brackets
  • ldelim
  • rdelim
  • multiline delimiters (2–5 lines inclusive)
    abs absolute values (paired vertical lines)
    math short text-based formulas
    mathcal [mathematical] calligraphic font; alternative toLaTeX\mathcal{...}
    mvar individual italicized maths variables in normal text
  • overline
  • underline
  • a line set above/below a sequence of characters
    overarc an arc set above a sequence of characters
  • overset
  • underset
  • arbitrary characters/diacritics set above/below one another
    pars parentheses that can be resized()
    sfrac "standing" or upright fractions3/5 (use in maths/science articles instead of{{fraction}})
  • sub
  • sup
  • su
  • subscripts and superscripts
    tmath WrapTeX in<math> tags
    tombstone symbol indicating theend of a proof
    val measurement values, uncertainties and units
    vec various overarrows, underarrows, etc.
  • Boxes
  • Tags
  • Notices
  • The abovedocumentation istranscluded fromTemplate:Bbl to t/doc.(edit |history)
    Editors can experiment in this template's sandbox(create |mirror) and testcases(create) pages.
    Add categories to the/doc subpage.Subpages of this template.
    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Bbl_to_t&oldid=815610914"
    Category:
    Hidden categories:

    [8]ページ先頭

    ©2009-2025 Movatter.jp