2020年4月26日 (日) 09:16的版本
{{#ifeq:doc |doc
|
{{#ifeq:show |show
|
40px This is a documentation subpage for 模板:Metricate . It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:模板 |用户 |模板 template page |{{#if:模板 |模板 page|article}}}}}}}}.
}}{{#if: |
| {{#ifexist:模板:Metricate
| [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
|
}}
}}
|
}}
Usage
{{metricate }}
Tracking categories
[[:Category:{{#ifeq:Articles |Category:|模板:Str right |Articles requiring unit attention}}|{{#if:|{{{name}}}|Category:{{#ifeq:Articles |Category:|模板:Str right |Articles requiring unit attention}}}}]] (0)
See also
{{#switch:
| none =
| =
[[File:{{#switch: wiktionary
| commons = Commons-logo.svg
| meta|metawiki|m = Wikimedia Community Logo.svg
| wikibooks|wbk|wb|b = Wikibooks-logo-en-noslogan.svg
| wikidata|data = Wikidata-logo.svg
| wikiquote|quote|wqt|q = Wikiquote-logo.svg
| wikipedia|wp|w = Wikipedia-logo-v2.svg
| wikisource|source|ws|s = Wikisource-logo.svg
| wiktionary|wkt|wdy|d = Wiktionary-logo-en-v2.svg
| wikinews|news|wnw|n = Wikinews-logo.svg
| wikispecies|species = Wikispecies-logo.svg
| wikiversity|wvy|v = Wikiversity logo 2017.svg
| wikivoyage|voyage|voy = Wikivoyage-Logo-v3-icon.svg
| mediawiki|mw = Mediawiki.png
| outreachwiki|outreach = Wikimedia Outreach.png
| incubator = Incubator-notext.svg
| #default = Wikimedia-logo.svg
}}|40x40px|class=noviewer|alt=|link=
]]
| #default =
}}
Look up metricate {{#if:
|{{#if:
|,
| or
}} [[wiktionary:{{{2}}}|{{{2}}}]]
}}{{#if:
|{{#if:
|,
|, or
}} [[wiktionary:{{{3}}}|{{{3}}}]]
}}{{#if:
|{{#if:
|,
|, or
}} [[wiktionary:{{{4}}}|{{{4}}}]]
}}{{#if:
|{{#if:
|,
|, or
}} [[wiktionary:{{{5}}}|{{{5}}}]]
}}{{#if:
|{{#if:
|,
|, or
}} [[wiktionary:{{{6}}}|{{{6}}}]]
}}{{#if:
|{{#if:
|,
|, or
}} [[wiktionary:{{{7}}}|{{{7}}}]]
}}{{#if:
|{{#if:
|,
|, or
}} [[wiktionary:{{{8}}}|{{{8}}}]]
}}{{#if:
|{{#if:
|,
|, or
}} [[wiktionary:{{{9}}}|{{{9}}}]]
}}{{#if:
|, or [[wiktionary:{{{10}}}|{{{10}}}]]
}} in Wiktionary, the free dictionary.
Math templates
Functions
{{#if:{{#ifeq:elementary arithmetic%|elementary arithmetic%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| elementary arithmetic
}}
{{#if:{{#ifeq:precision%|precision%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| precision
}}
{{#if:{{#ifeq:value%|value%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| value
}}
Numeral systems
{{#if:{{#ifeq:base 36%|base 36%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| base 36
}}
{{#if:{{#ifeq:binary%|binary%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| binary
}}
{{#if:{{#ifeq:dec2hex%|dec2hex%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| dec2hex
}}
{{#if:{{#ifeq:decimal2Base%|decimal2Base%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| decimal2Base
}}
{{#if:{{#ifeq:duodecimal%|duodecimal%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| duodecimal
}}
{{#if:{{#ifeq:hex2dec%|hex2dec%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| hex2dec
}}
{{#if:{{#ifeq:hexadecimal%|hexadecimal%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| hexadecimal
}}
{{#if:{{#ifeq:octal%|octal%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| octal
}}
{{#if:{{#ifeq:quaternary%|quaternary%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| quaternary
}}
{{#if:{{#ifeq:quinary%|quinary%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| quinary
}}
{{#if:{{#ifeq:rn%|rn%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| rn
}}
{{#if:{{#ifeq:roman%|roman%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| roman
}}
{{#if:{{#ifeq:senary%|senary%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| senary
}}
{{#if:{{#ifeq:ternary%|ternary%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| ternary
}}
{{#if:{{#ifeq:vigesimal%|vigesimal%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| vigesimal
}}
Conversions
{{#if:{{#ifeq:convert%|convert%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| convert
}} many units (see: list ) {{#if:{{#ifeq:cvt%|cvt%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| cvt
}} abbreviated {{convert }} {{#if:{{#ifeq:convinfobox%|convinfobox%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| convinfobox
}} {{convert }} for infoboxes {{#if:{{#ifeq:bbl to t%|bbl to t%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| bbl to t
}} barrels of oil to tonnes {{#if:{{#ifeq:long ton%|long ton%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| long ton
}} long hundredweights, quarters and pounds to kilograms; long tons and hundredweights to pounds and metric tons {{#if:{{#ifeq:miles-chains%|miles-chains%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| miles-chains
}} miles and chains to kilometres linking "chains" {{#if:{{#ifeq:rndfrac%|rndfrac%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| rndfrac
}} decimals to fractions
{{#if:{{#ifeq:decdeg%|decdeg%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| decdeg
}} degrees, minutes, and seconds to decimal degrees {{#if:{{#ifeq:deg2DMS%|deg2DMS%||yes}}
| deg2dms
| deg2dms
}} decimal degrees to degrees, minutes, and seconds {{#if:{{#ifeq:deg2HMS%|deg2HMS%||yes}}
| deg2hms
| deg2hms
}} decimal degrees to hour angle (in hours, minutes, and seconds) {{#if:{{#ifeq:HMS2Deg%|HMS2Deg%||yes}}
| hms2deg
| hms2deg
}} hour angle (in hours, minutes, and seconds) to decimal degrees {{#if:{{#ifeq:inflation%|inflation%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| inflation
}} calculate inflation of Consumer Price Index-related prices {{#if:{{#ifeq:pop density%|pop density%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| pop density
}} population density in an area {{#if:{{#ifeq:track gauge%|track gauge%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| track gauge
}} railway track gauges
{{#if:{{#ifeq:bigmath%|bigmath%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| bigmath
}} bigger font to match TeX \displaystyle (standalone formulas only) bra–ket notation {{#if:{{#ifeq:ceil%|ceil%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| ceil
}}, {{#if:{{#ifeq:floor%|floor%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| floor
}} indicators ⌈3.14⌉ , ⌊3.14⌋ (no calculation performed) {{#if:{{#ifeq:frac%|frac%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| frac
}} fractions {{#if:
|3 5 ⁄{{{3}}}
|{{#if:5
|3 ⁄5
|{{#if:3
|1 ⁄3
|⁄
}}
}}
}} (not for maths/science articles; use {{sfrac }}
instead) {{#if:{{#ifeq:intmath%|intmath%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| intmath
}} integral symbol s angular bracket s multiline delimiters (2–5 lines inclusive) {{#if:{{#ifeq:mabs%|mabs%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| mabs
}} absolute values (paired vertical lines) {{#if:{{#ifeq:math%|math%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| math
}} short inline formulas {{#if:{{#ifeq:mathcal%|mathcal%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| mathcal
}} [mathematical] calligraphic font; alternative to LaTeX \mathcal{...}
{{#if:{{#ifeq:mvar%|mvar%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| mvar
}} individual italicized maths variables in normal text a line set above/below a sequence of characters arbitrary characters/diacritics set above/below one another {{#if:{{#ifeq:pars%|pars%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| pars
}} parentheses that can be resized {{
#if:
|{{ safesubst:#if: |{{{1}}}|(}} {{safesubst:#if:∑
|∑
|large
}}{{ safesubst:#if: |{{{1}}}|)}} |{{#if: 150
|{{ safesubst:#if: |{{{1}}}|(}} |(}}{{
#if: {{safesubst:#if:∑
|∑
|large
}}
|{{safesubst:#if:∑
|∑
|large
}}| }}{{
#if: 150
|{{ safesubst:#if: |{{{1}}}|)}} |)}}}} {{#if:{{#ifeq:radic%|radic%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| radic
}} radicals {{#if:| }}√2 {{#if:{{#ifeq:sfrac%|sfrac%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| sfrac
}} fractions 3 + {{#if:|5|{{#if:5|3|1}}}} / 5 {{#if:| }} (use in maths/science articles instead of {{frac }}
) subscripts and superscripts {{#if:{{#ifeq:tmath%|tmath%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| tmath
}} Wrap TeX in <math> tags {{#if:{{#ifeq:tombstone%|tombstone%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| tombstone
}} symbol indicating the end of a proof {{#if:{{#ifeq:val%|val%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| val
}} measurement values, uncertainties and units {{#if:{{#ifeq:vec%|vec%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| vec
}} various overarrows, underarrows, etc.
{{#if:Boxes|{{#if:Tags|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}}}{{#if:
}}
{{#if:{{#ifeq:calculation results%|calculation results%||yes}} | [[Template:{{{2}}}|{{{2}}} ]]
| calculation results
}}
{{#if:{{#ifeq:calculus%|calculus%||yes}} | [[Template:{{{2}}}|{{{2}}} ]]
| calculus
}}
{{#if:{{#ifeq:Infobox mathematics function%|Infobox mathematics function%||yes}} | [[Template:{{{2}}}|{{{2}}} ]]
| Infobox mathematics function
}}
{{#if:{{#ifeq:functions%|functions%||yes}} | [[Template:{{{2}}}|{{{2}}} ]]
| functions
}}
|{{#if:Boxes||{{#switch:|off|0|0em|0px|0%|0;|0em;|0px;|0%;=|#default=}}}}}}{{#if:
}}
{{#if:{{#ifeq:metricate%|metricate%||yes}} | [[Template:{{{2}}}|{{{2}}} ]]
| metricate
}}
{{#if:{{#ifeq:undue precision%|undue precision%||yes}} | [[Template:{{{2}}}|{{{2}}} ]]
| undue precision
}}
{{#if:{{#ifeq:units attention%|units attention%||yes}} | [[Template:{{{2}}}|{{{2}}} ]]
| units attention
}}
|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}}}
Boxes Tags {{{col3header}}} {{{col4header}}} {{{col5header}}} {{{col6header}}} {{{col7header}}} {{{col8header}}} {{{col9header}}} {{{col10header}}} {{{col11header}}} {{{col12header}}} {{{col13header}}} {{{col14header}}} {{{col15header}}} {{{col16header}}} {{{col17header}}} {{{col18header}}} {{{col19header}}} {{{col20header}}}
}}
{{#if:{{#ifeq:calculation results%|calculation results%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| calculation results
}}
{{#if:{{#ifeq:calculus%|calculus%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| calculus
}}
{{#if:{{#ifeq:Infobox mathematics function%|Infobox mathematics function%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| Infobox mathematics function
}}
{{#if:{{#ifeq:functions%|functions%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| functions
}}
}}
{{#if:{{#ifeq:metricate%|metricate%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| metricate
}}
{{#if:{{#ifeq:undue precision%|undue precision%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| undue precision
}}
{{#if:{{#ifeq:units attention%|units attention%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| units attention
}}
{{{col1footer}}} {{{col2footer}}} {{{col3footer}}} {{{col4footer}}} {{{col5footer}}} {{{col6footer}}} {{{col7footer}}} {{{col8footer}}} {{{col9footer}}} {{{col10footer}}} {{{col11footer}}} {{{col12footer}}} {{{col13footer}}} {{{col14footer}}} {{{col15footer}}} {{{col16footer}}} {{{col17footer}}} {{{col18footer}}} {{{col19footer}}} {{{col20footer}}}
{{#if:Boxes
}}
{{#if:{{#ifeq:calculation results%|calculation results%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| calculation results
}}
{{#if:{{#ifeq:calculus%|calculus%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| calculus
}}
{{#if:{{#ifeq:Infobox mathematics function%|Infobox mathematics function%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| Infobox mathematics function
}}
{{#if:{{#ifeq:functions%|functions%||yes}}
| [[Template:{{{2}}}|{{{2}}} ]]
| functions
}}
||}}