Template:Convert/stream
Jump to navigation
Jump to search
[edit] [ ] Template documentation
Contents
Purpose
This is a special unit conversion template designed specifically as a shortcut for pages such as list of longest rivers of the United States (by main stem) or list of longest streams of Oregon. Units currently supported are miles→kilometers, square miles→square kilometers, feet→meters, cubic feet per second→cubic meters per second, and vice versa. Acres→square miles/square kilometers is also supported.
Usage
Just add {{convert/stream}} to the page, and fill out the following parameters:
{{convert/stream|input value|unit|round to (optional)}}
Examples
{{convert/stream|100|mi}}
yields- Template:Nts mi
161 km
- Template:Nts mi
- While
{{convert/stream|100|km}}
yields- Template:Nts mi
100 km
- Template:Nts mi
- Similarly,
{{convert/stream|100|ft}}
yields- Template:Nts ft
30 m
- Template:Nts ft
- Or
{{convert/stream|100|ft|1}}
yields- Template:Nts ft
30.5 m
- Template:Nts ft
See also
The above documentation is transcluded from Template:Convert/stream/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |