Difference between revisions of "Template:Infobox settlement/dunam/mag"
Jump to navigation
Jump to search
imported>Jimp (←Created page with '<noinclude>This produces an area in dunams plus conversions and a link to the appropriate order of magnitude article, e.g. "</noinclude>{{formatnum:{{{dunv|20}}}...') |
imported>Zyxw (Add documentation sub-page) |
||
| Line 1: | Line 1: | ||
| − | <noinclude>This produces an area in dunams plus conversions and a link to the appropriate order of magnitude article, e.g. "</noinclude>{{formatnum:{{{dunv|20}}} {{{dunu|dunam}}}{{#ifeq:{{{dunv}}}|1||s}} ([[1 E+{{order of magnitude|({{{dunv|20}}}E3)}}_m²|{{{metv|2}}} {{{metu|ha}}} or {{{impv|5}}} {{{impu|acre}}}{{#ifeq:{{{impv}}}|1||{{#ifeq:{{{impu|acre}}}|acre|s}}}}]])}}<noinclude>".</noinclude> | + | <noinclude>This produces an area in dunams plus conversions and a link to the appropriate order of magnitude article, e.g. "</noinclude>{{formatnum:{{{dunv|20}}} {{{dunu|dunam}}}{{#ifeq:{{{dunv}}}|1||s}} ([[1 E+{{order of magnitude|({{{dunv|20}}}E3)}}_m²|{{{metv|2}}} {{{metu|ha}}} or {{{impv|5}}} {{{impu|acre}}}{{#ifeq:{{{impv}}}|1||{{#ifeq:{{{impu|acre}}}|acre|s}}}}]])}}<noinclude>". |
| + | {{documentation}} | ||
| + | </noinclude> | ||
Latest revision as of 10:15, 4 February 2013
This produces an area in dunams plus conversions and a link to the appropriate order of magnitude article, e.g. "20 dunams ([[1 E+Template:Order of magnitude_m²|2 ha or 5 acres]])".
Usage
This is a subtemplate of {{Infobox settlement}}. It is not intended to be used directly.
It displays an area in dunams and its equivalent in both metric and imperial/US customary units. The metric and imperial/US values link to the appropriate order of magnitude page for areas.
It is called by {{Infobox settlement/areadisp}}, which handles the conversions and calls this template with values assigned to the following parameters:
{{{dunv}}}(required) — the dunam value{{{metv}}}(required) — the metric value{{{impv}}}(required) — the imperial/US value{{{dunu}}}(optional: defaults to "dunam" or "dunams") — the symbol/abbreviation of the dunam unit{{{metu}}}(optional: defaults to "ha") — the symbol/abbreviation of the metric unit{{{impu}}}(optional: defaults to "acre" or "acres") — the symbol/abbreviation of the imperial/US unit
See also
- Similar subtemplates of {{Infobox settlement}}
- {{Infobox settlement/dunam}}
- {{Infobox settlement/metric}}
- {{Infobox settlement/metric/mag}}
- {{Infobox settlement/impus}}
- {{Infobox settlement/impus/mag}}
- Other subtemplates of {{Infobox settlement}}
- {{Infobox settlement/densdisp}}
- {{Infobox settlement/lengthdisp}}
- {{Infobox settlement/pref}}
- {{Infobox settlement/link}}
| The above documentation is transcluded from Template:Infobox settlement/dunam/mag/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |