Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Convert/documentation/conversion data/introduction
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Format === The script that reads this page ignores everything except for the wikitext in the following sections: :: <code>{{nowrap|1=== Conversions ==}}</code> :: <code>{{nowrap|1=== Input multiples ==}}</code> :: <code>{{nowrap|1=== Output multiples ==}}</code> :: <code>{{nowrap|1=== Combinations ==}}</code> :: <code>{{nowrap|1=== Defaults ==}}</code> :: <code>{{nowrap|1=== Links ==}}</code> :: <code>{{nowrap|1=== Automatic per units ==}}</code> :: <code>{{nowrap|1=== Overrides ==}}</code> :: <code>{{nowrap|1=== Variable names ==}}</code> {{green|(used at [[:sl:Module:Convert/documentation/conversion data/dok#Variable names|slwiki]])}} In those sections, a level-3 heading (like <code>{{nowrap|1==== Length ===}}</code>) starts a table that defines units of a certain type. In the subsection, lines that start with <code>|</code> are processed (all other lines, and lines that start with <code>|-</code> or <code>|}</code>, are ignored). A processed line is split into fields (delimited with <code>||</code>), and leading/trailing whitespace is removed from each field. Empty fields in the Conversions section are given a default value (for example, the plural of ''yard'' is formed by adding ''s'', and the US names are also ''yard'' and ''yards''). The second field in each row of the Conversions section normally specifies a unit's symbol, but it can be used for other purposes described in the following. In some cases the text in the second field can be long, and it is convenient to insert <code>colspan="11" |</code> before the text to avoid it wrapping in a narrow column. Any such <code>colspan</code> at the start of the second field is ignored.
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)