Template:Ift/doc
This template is under contruction.
| This is a documentation subpage for Template:Ift. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
Use
This template creates a measurement formatted in international feet (of exactly 0.3048 meter) followed by the same measurement formatted in meters.
The syntax of this template is:
{{ift|var1|d=|p=|s=}}
where:
- var1 is a real number representing the measurement in metres (may not contain a thousands separator), # for sea level, or NA if not available.
- d is an optional integer representing the number of decimal places to display (default=0)
- p is an optional prefix to display before each number, e.g. about , ~, >, < (default is no prefix)
- s is an optional style parameter:
- s= yields regular style (default)
- s='' yields italic style
- s=''' yields bold style
- s='''''' yields bold italic style
Example
The use of this template is illustrated in the sortable table below:
| Peak | Wikitext | Elevation |
|---|---|---|
| Mount McKinley | {{ift|6193.5}} | 20,320 ft (6193.5 m) |
| Mount Saint Elias | {{ift|5488.8}} | 18,008 ft (5488.8 m) |
| Mount Foraker | {{ift|5303.5}} | 17,400 ft (5303.5 m) |
See also
- This template invokes Template:Rnd.
- For help with this template, please contact the assigned maintenance group.