Difference between revisions of "Template:Infobox settlement/impus"
Jump to navigation
Jump to search
imported>Ham Cork Fest (*/ Usage */ expand usage info) |
imported>Frietjes (Undid revision 505115946 by Ham Cork Fest (talk)) |
||
| Line 1: | Line 1: | ||
| + | <includeonly>{{formatnum:{{{impv}}}{{{s| }}}{{{impu|ft}}}{{#ifeq:{{{impv|0}}}|1||{{#ifeq:{{{s}}}|/||{{#ifeq:{{{impu}}}|acre|s}}}}}} ({{{metv}}}{{{s| }}}{{{metu|m}}})}}</includeonly><noinclude> | ||
| + | ==Usage== | ||
| + | This is a subtemplate of {{tl|Infobox settlement}}. It is not indended to be used directly. It is called by the following subtemplates. | ||
| + | *{{tl|Infobox settlement/areadisp}} | ||
| + | *{{tl|Infobox settlement/densdisp}} | ||
| + | *{{tl|Infobox settlement/lengthdisp}} | ||
| + | It displays a quantity in terms of imperial/US customary units and metric units. The imperial/US customary units are first with the metric units in brackets as determined by {{tl|Infobox settlement/pref}}. | ||
| + | It takes the following parameters. | ||
| + | *<code><nowiki>{{{metv}}}</nowiki></code> (required) — the numerical value of the metric value | ||
| + | *<code><nowiki>{{{impv}}}</nowiki></code> (required) — the numerical value of the imperial/US value | ||
| + | *<code><nowiki>{{{metu}}}</nowiki></code> (optional: defaults to "m") — the symbol/abbreviation of the metric unit (or inverse unit) | ||
| + | *<code><nowiki>{{{impu}}}</nowiki></code> (optional: defaults to "ft") — the symbol/abbreviation of the imperial/US unit (or inverse unit) | ||
| + | *<code><nowiki>{{{s}}}</nowiki></code> (optional: defaults to a non-breaking space) — the separator between numeral and (inverse) unit: set to "/" for inverse units | ||
| + | |||
| + | == See also == | ||
| + | ;Similar subtemplates of {{tlf|infoxbox settlement}} | ||
| + | *{{tl|Infobox settlement/metric}} | ||
| + | *{{tl|Infobox settlement/metric/mag}} | ||
| + | *{{tl|Infobox settlement/impus/mag}} | ||
| + | |||
| + | ;Other subtemplates of {{tlf|infoxbox settlement}} | ||
| + | *{{tl|Infobox settlement/checkauto}} | ||
| + | *{{tl|Infobox settlement/link}} | ||
| + | |||
| + | ;Cleaner | ||
| + | *{{tl|Infobox settlement cleaner}} | ||
| + | </noinclude> | ||
Revision as of 16:01, 31 July 2012
Usage
This is a subtemplate of {{Infobox settlement}}. It is not indended to be used directly. It is called by the following subtemplates.
It displays a quantity in terms of imperial/US customary units and metric units. The imperial/US customary units are first with the metric units in brackets as determined by {{Infobox settlement/pref}}.
It takes the following parameters.
{{{metv}}}(required) — the numerical value of the metric value{{{impv}}}(required) — the numerical value of the imperial/US value{{{metu}}}(optional: defaults to "m") — the symbol/abbreviation of the metric unit (or inverse unit){{{impu}}}(optional: defaults to "ft") — the symbol/abbreviation of the imperial/US unit (or inverse unit){{{s}}}(optional: defaults to a non-breaking space) — the separator between numeral and (inverse) unit: set to "/" for inverse units
See also
- Similar subtemplates of {{infoxbox settlement}}
- Other subtemplates of {{infoxbox settlement}}
- Cleaner