Difference between revisions of "Template:Infobox settlement/impus"
Jump to navigation
Jump to search
m (1 revision imported) |
Alynnidalar (talk | contribs) m (1 revision imported) |
||
(One intermediate revision by the same user not shown) | |||
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>{{formatnum:{{replace|{{{impv}}}|,|}}}}{{{s| }}}{{{impu|ft}}}{{#ifeq:{{{impv|0}}}|1||{{#ifeq:{{{s}}}|/||{{#ifeq:{{{impu}}}|acre|s}}}}}} ({{formatnum:{{replace|{{{metv}}}|,|}}}}{{{s| }}}{{{metu|m}}})</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 01:39, 22 January 2021
Usage
This is a subtemplate of {{Infobox settlement}}. It is not intended 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 {{Infobox settlement}}
- {{Infobox settlement/impus/mag}}
- {{Infobox settlement/metric}}
- {{Infobox settlement/metric/mag}}
- {{Infobox settlement/dunam}}
- {{Infobox settlement/dunam/mag}}
- Other subtemplates of {{Infobox settlement}}
- Cleaner