Module:Val/units/doc: Difference between revisions
Content deleted Content added
Caleb Cooper (talk | contribs) |
Caleb Cooper (talk | contribs) |
||
| (One intermediate revision by the same user not shown) | |||
Line 158:
:{{#invoke:DemoTemplate|val|99|ul=m|upl=d}}
* The val user can compose a ''multiplier'' unit on the fly by using the {{para|end}} parameter to prepend to the unit, and ''these'' can also be individually linked. For example (in geology) there is already {{Val|333|ul=uBP}} to use with {{para|end}}:
:{{#invoke:DemoTemplate|val|333|end= [[Wikipedia:megaannum|Ma]]|ul=uBP}}".
For example [[Template:Val/list]] says
<code>m.s-1 '''{{big|[<nowiki/>[}}'''Metre per second|m&sdot;s<sup>&minus;1</sup>'''{{big|]<nowiki/>]}}'''</code> linking to an article titled ''[[Wikipedia:Metre per second|Metre per second]]'', not
<code>m.s-1 '''{{big|[<nowiki/>[}}'''Metre|m'''{{big|]<nowiki/>]}}'''&sdot;'''{{big|[<nowiki/>[}}'''Second|s'''{{big|]<nowiki/>]}}'''<sup>&minus;1</sup></code> which has separate links to already existing unit codes.
Line 175:
=== Sorting ===
{{details|topic=sorting |Wikipedia:Help:sorting }}
{{details|topic=scaling |Template:Ntsh}}
| |||