Usage
{{Template Sandbox/Demian/Unit|abbr}}
Examples
Note that the abbreviation is case sensitive and special symbols are formatted correctly:
If a unit definition is not found, the abbreviation (or text) is returned unchanged.
Code | Result |
---|---|
{{Template Sandbox/Demian/Unit|things}} |
Template:Template Sandbox/Demian/Unit |
{{Template Sandbox/Demian/Unit|something/other}} |
Template:Template Sandbox/Demian/Unit |
{{Template Sandbox/Demian/Unit|players per hour}} |
Template:Template Sandbox/Demian/Unit |
Modules
This template is using the following Modules:
Documentation
Adds a tooltip to an abbreviation of a unit of measure showing the actual name of the unit.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Unit abbreviation | abbr | Case sensitive abbreviation of a unit of measure. If the abbreviation contains a forward slash "/" it may be replaced with the character "p".
| String | required |