Template:Val/list

From CWS Planet
Jump to navigation Jump to search

This page publishes {{Val}} units, configured and explained in detail at Module:Val/units.

When you enter a unit code to one of Val's four unit parameterTemplate:Mdash|u=, |up=, |ul= or |upl=Template:Mdash the unit code is translated as shown in this report. This report is generated by {{Val|action=list}}.

The unit code at the beginning of the line equates to the markup and link of a unit. The link should record the best possible link found on the wiki, including any section of a pagename. The markup that displays the scientific, standard symbol may be hidden in the wikilink label here, but see it at Module:Val/units.

Val and {{Convert}} are the two templates that use unit codes. Val uses all of Convert unit codes, and adds as many more as may be needed for scientific expressions on the wiki. Most of the units here are simply unnecessary for conversion. But sometimes a unit code here is added to override the same unit code at Convert where necessary to prioritize Val's scientific orientation over Convert's conversion orientation.

Val/units can configure more than just the above minimal definition of a unit code, and this report reflects that too. It can configure how such Val expressions are sorted in a wikitable, how units are spaced, and can explicitly mark a unit code already defined at Convert that may be tempting to redefine unnecessarily. These configuration indicators, shown after the "•" symbol, are

  • SI or a number: the unit is configured for sorting
  • ALIAS already defined at Convert
  • ANGLE or NOSPACE to fulfill special markup needs for certain units

Most of these indicators are just for sorting. SI is marker that means a sorting factor is automatically scaled to the SI system of units, whereas a number is a manual method or scaling the unit to its associated measurement number in the Val expression. Where a unit is not marked as configured for sorting, it could be sorted by Convert.

Lua error in package.lua at line 80: module 'Module:Val/units' not found.

sandbox action=list

Script error: No such module "val/sandbox".

sandbox action=list|a=convert

Script error: No such module "val/sandbox".

sandbox action=list|a=unknown

Script error: No such module "val/sandbox".