Difference between revisions of "Template:Infobox settlement/metric/mag"
Jump to navigation
Jump to search
imported>Jimp (→Usage) |
imported>Jimp |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{formatnum:[[1 E{{order of magnitude|({{{metv|1}}}E6)}}_m²|{{{metv}}}{{{s| }}}{{{metu|m}}}]] ({{{impv}}}{{{s| }}}{{{impu|ft}}}{{#ifeq:{{{impv|0}}} | + | <includeonly>{{formatnum:[[1 E{{order of magnitude|({{{metv|1}}}E6)}}_m²|{{{metv}}}{{{s| }}}{{{metu|m}}}]] ({{{impv}}}{{{s| }}}{{{impu|ft}}}{{#ifeq:{{{impv|0}}}|1||{{#ifeq:{{{s}}}|/||{{#ifeq:{{{impu}}}|acre|s}}}}}})}}</includeonly><noinclude> |
==Usage== | ==Usage== | ||
This is a subtemplate of {{tl|Infobox settlement}}. It is not indended to be used directly. It is called by {{tl|Infobox settlement/areadisp}}. | This is a subtemplate of {{tl|Infobox settlement}}. It is not indended to be used directly. It is called by {{tl|Infobox settlement/areadisp}}. | ||
Revision as of 15:46, 1 March 2012
Usage
This is a subtemplate of {{Infobox settlement}}. It is not indended to be used directly. It is called by {{Infobox settlement/areadisp}}.
It displays a quantity in terms of metric units and imperial/US customary units. The metric units are first with the imperial/US customary units in brackets as determined by {{Infobox settlement/pref}}. The metric value links to the appropriate order of magnitude page for areas.
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{{{exp}}}(optional: defaults to 6) — the order of magnitude of the metric unit used with respect to the base SI unit (e.g. Template:Val is Template:Val so{{{exp}}}should be 6)
See also
- Similar subtemplates of {{infoxbox settlement}}
- Other subtemplates of {{infoxbox settlement}}
- {{Infobox settlement/densdisp}}
- {{Infobox settlement/lengthdisp}}
- {{Infobox settlement/checkauto}}
- {{Infobox settlement/link}}
- Cleaner