Template:Dimanalysis: Difference between revisions
→top: simplifying template; ordering base quantities by reference (LMTIΘNJ) |
updating order to TLMIΘNJ as per SI and VIM4 (not yet officially published) |
||
(28 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{# |
{{#if:{{#ifeq:{{{time|}}}|0||{{{time|}}}}} |
||
{{#ifeq:{{{length|}}}|0||{{{length|}}}}} |
|||
-->{{#ifexpr: {{{mass|}}} | {{dimanalblock|brackets={{{brackets|}}}|bold={{{bold|}}}|M}}{{#ifeq: {{{mass|}}} | 1 | | <sup>{{{mass|}}}</sup>}} | }}<!-- |
|||
{{#ifeq:{{{mass|}}}|0||{{{mass|}}}}} |
|||
-->{{#ifexpr: {{{time|}}} | {{dimanalblock|brackets={{{brackets|}}}|bold={{{bold|}}}|T}}{{#ifeq: {{{time|}}} | 1 | | <sup>{{{time|}}}</sup>}} | }}<!-- |
|||
{{#ifeq:{{{current|}}}|0||{{{current|}}}}} |
|||
{{#ifeq:{{{temp|}}}|0||{{{temp|}}}}} |
|||
{{#ifeq:{{{amount|}}}|0||{{{amount|}}}}} |
|||
-->{{#ifexpr: {{{mole|}}} | {{dimanalblock|brackets={{{brackets|}}}|bold={{{bold|}}}|N}}{{#ifeq: {{{mole|}}} | 1 | | <sup>{{{mole|}}}</sup>}} | }}<!-- |
|||
{{#ifeq:{{{lum|}}}|0||{{{lum|}}}}}|<noinclude> |
|||
</noinclude>{{dimanalysis/dim|T|{{{time|}}}|{{{bold|}}}}}<noinclude> |
|||
</noinclude>{{dimanalysis/dim|L|{{{length|}}}|{{{bold|}}}}}<noinclude> |
|||
</noinclude>{{dimanalysis/dim|M|{{{mass|}}}|{{{bold|}}}}}<noinclude> |
|||
</noinclude>{{dimanalysis/dim|I|{{{current|}}}|{{{bold|}}}}}<noinclude> |
|||
</noinclude>{{dimanalysis/dim|Θ|{{{temp|}}}|{{{bold|}}}}}<noinclude> |
|||
</noinclude>{{dimanalysis/dim|N|{{{amount|}}}|{{{bold|}}}}}<noinclude> |
|||
</noinclude>{{dimanalysis/dim|J|{{{lum|}}}|{{{bold|}}}}}<noinclude> |
|||
</noinclude>|1}}<noinclude>{{documentation}}</noinclude> |
Latest revision as of 22:30, 12 May 2021
1
Usage
[edit]This template is intended to provide a uniform notation and format for expressing dimensions of physical quantities (spacing, ordering of symbols etc.) throughout articles.
The International System of Quantities defines a convention for formatting of the dimensions of quantities.[1] The default format (without the |bold=
parameter or further applied formatting) adheres to this.
Parameters
[edit]The parameters are the base quantities, coded according to:
Parameter Base quantity Symbol |time=
time T |length=
length L |mass=
mass M |current=
electric current I |temp=
thermodynamic temperature Θ |amount=
amount of substance N |lum=
luminous intensity J
and the value of each parameter is the exponent of the dimension of the base quantity:
- blank defaults to exponent 0 (so irrelevant dimensions do not need to be typed)
- exponent 0 means the base quantity dimension will not show up (as in usual notation)
- exponent 1 does not show the exponent (as is usual for exponential notation)
- exponent not 0 or 1 shows the base quantity dimension to that exponent, including negatives (use "−" for minus, not a hyphen "-")
An optional parameter is:
|bold=
: set this toyes
for bold dimension symbols; the default is no bold. The ISQ and SI give the convention of a roman sans-serif type, so bold would not conform: use it sparingly.
Examples
[edit][[Momentum]] of a massive object: {{dimanalysis|time=−1|length=1|mass=1|lum=0}}
- Momentum of a massive object: T−1LM
[[Magnetization]] of a material: {{dimanalysis|bold=yes|length=−1|mass=1|current=1}}
- Magnetization of a material: L−1MI
[[Concentration]] of a chemical: {{dimanalysis|length=−3|mass=1|amount=1}}
- Concentration of a chemical: L−3MN
[[Empty product]]: {{dimanalysis|time=0|length=0|mass=}}
[[Random]]: {{dimanalysis|bold=yes|time=90|length=10|mass=|temp=1|amount=−3|current=3/2|lum=6}}
- Random: T90L10I3/2ΘN−3J6
References
[edit]- ^ JCGM 200:2012 International vocabulary of metrology – Basic and general concepts and associated terms (VIM): "The conventional symbolic representation of the dimension of a base quantity is a single upper case letter in roman (upright) sans-serif type. The conventional symbolic representation of the dimension of a derived quantity is the product of powers of the dimensions of the base quantities according to the definition of the derived quantity."