![]() | This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | |||||||
|
This page should not be speedily deleted because I am in the process of creating it into a real template - it is not intended to be a test. Please decline the deletion.
Actually you can speedily delete Dimanalysis (article) which was a mistake. Thanks. -- Maschen ( talk) 13:12, 21 September 2012 (UTC)
It would be really nice if parameters defaulted to 0 (specifically no output symbol) rather than 1. As it stands, one is forced to insert a parameter to remove it from the output, which means a lot of typing. As a secondary point: omitting a parameter should omit it from the output. But since there are times when an explicit zero power may be desired, this should be supported, probably by not omitting it when the template parameter is present and set to zero. — Quondum 23:26, 15 July 2013 (UTC)
I've tried to clean up the template and its subtemplate:
|brackets=
parameter, since this conflicts with the ISQ convention of square brackets to mean "units of", and would thus be very confusing.There are still some outstanding issues that need addressing:
"{{dimanalysis|length=0}}"
produces "1". |bold=
option is contrary to the conventions of the
ISQ and
SI. Despite this, bolding is used in WP, for example in {{
SI light units}} – see the
associated discussion. I've added a caution against using bold in the documentation here, but we could go further.|mole=
is named after a unit, not a quantity. Should we rename this to |amount=
while there are few uses? — Quondum 21:12, 24 May 2015 (UTC)
I've forced a sans-serif font for the symbols (but not the exponents); this might just force the default sans-serif font of the browser. A further issue: we should force a roman type. I know how to force italics (<i>...</i>
), but I don't know how to force non-italics (i.e. roman). —
Quondum
22:52, 25 May 2015 (UTC)
{{#switch:string |c1=r1 |c2=r2 ... |default}}
{{#if:string |result1 |result2}}
and {{#ifeq:string1|string2 |result1 |result2}}
, trying it now.
M∧Ŝ
c2ħε
Иτlk
09:35, 26 May 2015 (UTC)![]() | This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | |||||||
|
This page should not be speedily deleted because I am in the process of creating it into a real template - it is not intended to be a test. Please decline the deletion.
Actually you can speedily delete Dimanalysis (article) which was a mistake. Thanks. -- Maschen ( talk) 13:12, 21 September 2012 (UTC)
It would be really nice if parameters defaulted to 0 (specifically no output symbol) rather than 1. As it stands, one is forced to insert a parameter to remove it from the output, which means a lot of typing. As a secondary point: omitting a parameter should omit it from the output. But since there are times when an explicit zero power may be desired, this should be supported, probably by not omitting it when the template parameter is present and set to zero. — Quondum 23:26, 15 July 2013 (UTC)
I've tried to clean up the template and its subtemplate:
|brackets=
parameter, since this conflicts with the ISQ convention of square brackets to mean "units of", and would thus be very confusing.There are still some outstanding issues that need addressing:
"{{dimanalysis|length=0}}"
produces "1". |bold=
option is contrary to the conventions of the
ISQ and
SI. Despite this, bolding is used in WP, for example in {{
SI light units}} – see the
associated discussion. I've added a caution against using bold in the documentation here, but we could go further.|mole=
is named after a unit, not a quantity. Should we rename this to |amount=
while there are few uses? — Quondum 21:12, 24 May 2015 (UTC)
I've forced a sans-serif font for the symbols (but not the exponents); this might just force the default sans-serif font of the browser. A further issue: we should force a roman type. I know how to force italics (<i>...</i>
), but I don't know how to force non-italics (i.e. roman). —
Quondum
22:52, 25 May 2015 (UTC)
{{#switch:string |c1=r1 |c2=r2 ... |default}}
{{#if:string |result1 |result2}}
and {{#ifeq:string1|string2 |result1 |result2}}
, trying it now.
M∧Ŝ
c2ħε
Иτlk
09:35, 26 May 2015 (UTC)