Jump to content

Template:Dimanalysis: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
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:
{{#ifexpr: {{{length|}}} | {{dimanalblock|brackets={{{brackets|}}}|bold={{{bold|}}}|L}}{{#ifeq: {{{length|}}} | 1 | | <sup>{{{length|}}}</sup>}} | }}<!--
{{#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>}} | }}<!--
-->{{#ifexpr: {{{current|}}} | {{dimanalblock|brackets={{{brackets|}}}|bold={{{bold|}}}|I}}{{#ifeq: {{{current|}}} | 1 | | <sup>{{{current|}}}</sup>}} | }}<!--
{{#ifeq:{{{current|}}}|0||{{{current|}}}}}
-->{{#ifexpr: {{{temp|}}} | {{dimanalblock|brackets={{{brackets|}}}|bold={{{bold|}}}|Θ}}{{#ifeq: {{{temp|}}} | 1 | | <sup>{{{temp|}}}</sup>}} | }}<!--
{{#ifeq:{{{temp|}}}|0||{{{temp|}}}}}
{{#ifeq:{{{amount|}}}|0||{{{amount|}}}}}
-->{{#ifexpr: {{{mole|}}} | {{dimanalblock|brackets={{{brackets|}}}|bold={{{bold|}}}|N}}{{#ifeq: {{{mole|}}} | 1 | | <sup>{{{mole|}}}</sup>}} | }}<!--
-->{{#ifexpr: {{{lum|}}} | {{dimanalblock|brackets={{{brackets|}}}|bold={{{bold|}}}|J}}{{#ifeq: {{{lum|}}} | 1 | | <sup>{{{lum|}}}</sup>}} | }}<!--
{{#ifeq:{{{lum|}}}|0||{{{lum|}}}}}|<noinclude>
--><noinclude>{{documentation}}</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