Template:Infobox settlement/lengthdisp/doc
< Template:Infobox settlement | lengthdisp
Jump to navigation
Jump to search
Revision as of 06:30, 23 August 2011 by 193.77.24.83 (talk) (sl:Predloga:Infopolje naselje/lengthdisp)
| This is a documentation subpage for Template:Infobox settlement/lengthdisp. It contains usage information, categories and other content that is not part of the original template page. |
This subtemplate is not intended to be used directly |
This subtemplate of {{Infobox settlement}} displays length (e.g. elevation) values.
Usage
{{Infobox settlement/lengthdisp|unit_pref|FEET|METRES|LINK|subdivision_name}}
where FEET and METRES are the area values to be displayed (one may be blank for automatic conversion if the other is numeric), LINK is set if the units are to be wikilinked, and the other parameters are taken from {{Infobox settlement}}.
Whether the metric or imperial value is displayed first depends on the value of subn (usually the country name) and unit_pref (which can be set to Imperial to force imperial-first display). The default for non-US non-UK countries is metric first.
Examples
| Code | Result |
|---|---|
{{Infobox settlement/lengthdisp|Imperial|42.1| |lk|Canada}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Metric|42.1| |lk|Canada}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Imperial| |13|lk|Canada}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Metric| |13|lk|Canada}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Imperial|42.1|13.0|lk|Canada}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Metric|42.1|13.0|lk|Canada}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Imperial|42.1| | |Canada}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Metric|42.1| | |Canada}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Imperial| |13| |Canada}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Metric| |13| |Canada}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Imperial|42.1|13.0| |Canada}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Metric|42.1|13.0| |Canada}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Imperial|42.1| |lk|United States}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Metric|42.1| |lk|United States}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Imperial| |13|lk|United States}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Metric| |13|lk|United States}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Imperial|42.1|13.0|lk|United States}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Metric|42.1|13.0|lk|United States}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Imperial|42.1| | |United States}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Metric|42.1| | |United States}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Imperial| |13| |United States}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Metric| |13| |United States}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Imperial|42.1|13.0| |United States}}
|
Template:Round m (Template:Round ft) |
{{Infobox settlement/lengthdisp|Metric|42.1|13.0| |United States}}
|
Template:Round m (Template:Round ft) |
See also
- {{Infobox settlement}}
- {{Infobox settlement/areadisp}}
- {{Infobox settlement/densdisp}}
- {{Infobox settlement/ftm}}