|
|
(6 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| <includeonly>{{#invoke:Sandbox/Demian/Unit|main}}</includeonly><noinclude> | | <includeonly>{{#if:{{{1|}}} {{{2|}}}<!-- |
| == Documentation ==
| | -->|{{#invoke:Unit|unit}}<!-- |
| <pre>
| | -->|<span style="color:red">ERROR: No value given to Unit template!</span>|}}</includeonly><noinclude> |
| {{Template Sandbox/Demian/Unit}} | | {{doc}}</noinclude> |
| </pre>
| |
| This template is using the following Modules:
| |
| *[[Module:Sandbox/Demian/Unit]]
| |
| | |
| == Example ==
| |
| Parts per million: "1 {{Template Sandbox/Demian/Unit|ppm}}".
| |
| | |
| List:
| |
| * Parts per million, numbered: "2 {{Template Sandbox/Demian/Unit|1=ppm}}"
| |
| * Meters: "3 {{Template Sandbox/Demian/Unit|m}}"
| |
| * Nanometers: "4 {{Template Sandbox/Demian/Unit|nm}}"
| |
| * megahertz "4 {{Template Sandbox/Demian/Unit|MHz}}" vs millihertz "4 {{Template Sandbox/Demian/Unit|mHz}}"
| |
| * square meter per second "10 {{Template Sandbox/Demian/Unit|m2/s}}" in two flavors "4 {{Template Sandbox/Demian/Unit|m2ps}}"
| |
| * "1 {{Template Sandbox/Demian/Unit|ug}}"
| |
| * "1 {{Template Sandbox/Demian/Unit|mohm}}"
| |
| * "1 {{Template Sandbox/Demian/Unit|Mohm}}"
| |
| * "1 {{Template Sandbox/Demian/Unit|kgm2}}"
| |
| * "1 {{Template Sandbox/Demian/Unit|jp(kmol)}}"
| |
| * "1 {{Template Sandbox/Demian/Unit|kib}}"
| |
| * "1 {{Template Sandbox/Demian/Unit|j/(kmol)}}"
| |
| | |
| Just text. Meters per second are "5 {{Template Sandbox/Demian/Unit|mps}}". Meters per second (short): "6 {{Template Sandbox/Demian/Unit|m/s}}". Empty: "7 {{Template Sandbox/Demian/Unit|}}". Finally only template: "8 {{Template Sandbox/Demian/Unit}}".
| |
| <templatedata> | |
| { | |
| "params": {},
| |
| "description": "Test template for development use.",
| |
| "format": "inline"
| |
| } | |
| </templatedata></noinclude>
| |