Safer nicotine wiki
Tobacco Harm Reduction
Jump to navigation
Jump to search
Revision as of 18:39, 2 January 2022
Math templates
Functions
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]] (value)
Numeral systems
{{#invoke:BaseConvert |X toY }}
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
Conversions
[[Template:{{{2}}}|{{{2}}} ]] many units (see: list ) [[Template:{{{2}}}|{{{2}}} ]] abbreviated {{convert }} [[Template:{{{2}}}|{{{2}}} ]] {{convert }} for infoboxes [[Template:{{{2}}}|{{{2}}} ]] barrels of oil to tonnes [[Template:{{{2}}}|{{{2}}} ]] long hundredweights, quarters and pounds to kilograms; long tons and hundredweights to pounds and metric tons [[Template:{{{2}}}|{{{2}}} ]] miles and chains to kilometres linking "chains" [[Template:{{{2}}}|{{{2}}} ]] decimals to fractions
[[Template:{{{2}}}|{{{2}}} ]] degrees, minutes, and seconds to decimal degrees deg2dms decimal degrees to degrees, minutes, and seconds deg2hms decimal degrees to hour angle (in hours, minutes, and seconds) hms2deg hour angle (in hours, minutes, and seconds) to decimal degrees [[Template:{{{2}}}|{{{2}}} ]] calculate inflation of Consumer Price Index-related prices [[Template:{{{2}}}|{{{2}}} ]] population density in an area [[Template:{{{2}}}|{{{2}}} ]] railway track gauges
[[Template:{{{2}}}|{{{2}}} ]] bigger font to match TeX \displaystyle (standalone formulas only) [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] bra–ket notation [[Template:{{{2}}}|{{{2}}} ]], [[Template:{{{2}}}|{{{2}}} ]] calculations :mw:Help:#expr ; formatting indicators ⌈3.14⌉ , ⌊ 3.14⌋ (no calculation performed) [[Template:{{{2}}}|{{{2}}} ]] slant fractions 3 ⁄5 (not for maths/science articles; use standing or upright fractions {{sfrac }} instead) [[Template:{{{2}}}|{{{2}}} ]] integral symbols [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] angbr angular brackets [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] multiline delimiters (2–5 lines inclusive) [[Template:{{{2}}}|{{{2}}} ]] absolute values (paired vertical lines) [[Template:{{{2}}}|{{{2}}} ]] short text-based formulas [[Template:{{{2}}}|{{{2}}} ]] [mathematical] calligraphic font; alternative to LaTeX \mathcal{...}
[[Template:{{{2}}}|{{{2}}} ]] individual italicized maths variables in normal text [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] a line set above/below a sequence of characters [[Template:{{{2}}}|{{{2}}} ]] an arc set above a sequence of characters [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] arbitrary characters/diacritics set above/below one another [[Template:{{{2}}}|{{{2}}} ]] parentheses that can be resized ( ∑ ) [[Template:{{{2}}}|{{{2}}} ]] “standing” or upright fractions 3 / 5 (use in maths/science articles instead of{{frac }} ) [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] subscripts and superscripts [[Template:{{{2}}}|{{{2}}} ]] Wrap TeX in <math> tags [[Template:{{{2}}}|{{{2}}} ]] symbol indicating the end of a proof [[Template:{{{2}}}|{{{2}}} ]] measurement values, uncertainties and units [[Template:{{{2}}}|{{{2}}} ]] various overarrows, underarrows, etc.
Boxes Tags
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
Usage
This template is intended to provide a consistent "See also" for math templates.
Initial visibility: currently defaults to expanded
To set this template's initial visibility, the |state=
parameter may be used:
|state=collapsed
: {{Math templates|state=collapsed}}
to show the template collapsed, i.e., hidden apart from its title bar
|state=expanded
: {{Math templates|state=expanded}}
to show the template expanded, i.e., fully visible
|state=autocollapse
: {{Math templates|state=autocollapse}}
shows the template collapsed to the title bar if there is a {{navbox }} , a {{sidebar }} , or some other table on the page with the collapsible attribute
shows the template in its expanded state if there are no other collapsible items on the page
If the |state=
parameter in the template on this page is not set, the template's initial visibility is taken from the |default=
parameter in the Collapsible option template. For the template on this page, that currently evaluates to expanded
.
How to manage this template's collapsible groups/sections option
This template includes collapsible groups/sections. When it first appears , one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name
where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
For example: {{Math templates |FN}}
Math templates
Functions
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]] (value)
Numeral systems
{{#invoke:BaseConvert |X toY }}
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
Conversions
[[Template:{{{2}}}|{{{2}}} ]] many units (see: list ) [[Template:{{{2}}}|{{{2}}} ]] abbreviated {{convert }} [[Template:{{{2}}}|{{{2}}} ]] {{convert }} for infoboxes [[Template:{{{2}}}|{{{2}}} ]] barrels of oil to tonnes [[Template:{{{2}}}|{{{2}}} ]] long hundredweights, quarters and pounds to kilograms; long tons and hundredweights to pounds and metric tons [[Template:{{{2}}}|{{{2}}} ]] miles and chains to kilometres linking "chains" [[Template:{{{2}}}|{{{2}}} ]] decimals to fractions
[[Template:{{{2}}}|{{{2}}} ]] degrees, minutes, and seconds to decimal degrees deg2dms decimal degrees to degrees, minutes, and seconds deg2hms decimal degrees to hour angle (in hours, minutes, and seconds) hms2deg hour angle (in hours, minutes, and seconds) to decimal degrees [[Template:{{{2}}}|{{{2}}} ]] calculate inflation of Consumer Price Index-related prices [[Template:{{{2}}}|{{{2}}} ]] population density in an area [[Template:{{{2}}}|{{{2}}} ]] railway track gauges
[[Template:{{{2}}}|{{{2}}} ]] bigger font to match TeX \displaystyle (standalone formulas only) [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] bra–ket notation [[Template:{{{2}}}|{{{2}}} ]], [[Template:{{{2}}}|{{{2}}} ]] calculations :mw:Help:#expr ; formatting indicators ⌈3.14⌉ , ⌊ 3.14⌋ (no calculation performed) [[Template:{{{2}}}|{{{2}}} ]] slant fractions 3 ⁄5 (not for maths/science articles; use standing or upright fractions {{sfrac }} instead) [[Template:{{{2}}}|{{{2}}} ]] integral symbols [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] angbr angular brackets [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] multiline delimiters (2–5 lines inclusive) [[Template:{{{2}}}|{{{2}}} ]] absolute values (paired vertical lines) [[Template:{{{2}}}|{{{2}}} ]] short text-based formulas [[Template:{{{2}}}|{{{2}}} ]] [mathematical] calligraphic font; alternative to LaTeX \mathcal{...}
[[Template:{{{2}}}|{{{2}}} ]] individual italicized maths variables in normal text [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] a line set above/below a sequence of characters [[Template:{{{2}}}|{{{2}}} ]] an arc set above a sequence of characters [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] arbitrary characters/diacritics set above/below one another [[Template:{{{2}}}|{{{2}}} ]] parentheses that can be resized ( ∑ ) [[Template:{{{2}}}|{{{2}}} ]] “standing” or upright fractions 3 / 5 (use in maths/science articles instead of{{frac }} ) [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] [[Template:{{{2}}}|{{{2}}} ]] subscripts and superscripts [[Template:{{{2}}}|{{{2}}} ]] Wrap TeX in <math> tags [[Template:{{{2}}}|{{{2}}} ]] symbol indicating the end of a proof [[Template:{{{2}}}|{{{2}}} ]] measurement values, uncertainties and units [[Template:{{{2}}}|{{{2}}} ]] various overarrows, underarrows, etc.
Boxes Tags
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]
[[Template:{{{2}}}|{{{2}}} ]]