Difference between revisions of "Template:Infobox settlement/metric/mag"

From blackwiki
Jump to navigation Jump to search
imported>AGK
m (Protected Template:Infobox settlement/metric/mag: Highly-visible template (over 1000 transclusions) (‎[edit=autoconfirmed] (indefinite) ‎[move=sysop] (indefinite)))
imported>Zyxw
(Add documentation sub-page)
 
Line 1: Line 1:
 
<includeonly>{{formatnum:[[1 E+{{order of magnitude|({{{metv|1}}}E{{#ifeq:{{{metu}}}|ha|4|6}})}}_m²|{{{metv}}}{{{s|&nbsp;}}}{{{metu|m}}}]] ({{{impv}}}{{{s|&nbsp;}}}{{{impu|ft}}}{{#ifeq:{{{impv|0}}}|1||{{#ifeq:{{{s}}}|/||{{#ifeq:{{{impu}}}|acre|s}}}}}})}}</includeonly><noinclude>
 
<includeonly>{{formatnum:[[1 E+{{order of magnitude|({{{metv|1}}}E{{#ifeq:{{{metu}}}|ha|4|6}})}}_m²|{{{metv}}}{{{s|&nbsp;}}}{{{metu|m}}}]] ({{{impv}}}{{{s|&nbsp;}}}{{{impu|ft}}}{{#ifeq:{{{impv|0}}}|1||{{#ifeq:{{{s}}}|/||{{#ifeq:{{{impu}}}|acre|s}}}}}})}}</includeonly><noinclude>
==Usage==
+
{{documentation}}
This is a subtemplate of {{tl|Infobox settlement}}.  It is not indended to be used directly.  It is called by {{tl|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 {{tl|Infobox settlement/pref}}. The metric value links to the appropriate order of magnitude page for areas.
 
 
 
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/impus}}
 
*{{tl|Infobox settlement/impus/mag}}
 
 
 
;Other subtemplates of {{tlf|infoxbox settlement}}
 
*{{tl|Infobox settlement/densdisp}}
 
*{{tl|Infobox settlement/lengthdisp}}
 
*{{tl|Infobox settlement/checkauto}}
 
*{{tl|Infobox settlement/link}}
 
 
 
;Cleaner
 
*{{tl|Infobox settlement cleaner}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 09:10, 4 February 2013

Template documentation[view] [edit] [history] [purge]

Usage

This is a subtemplate of {{Infobox settlement}}. It is not intended 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

See also

Similar subtemplates of {{Infobox settlement}}
Other subtemplates of {{Infobox settlement}}
Cleaner