قالب ويكيبيديا From Wikipedia, the free encyclopedia
This subtemplate of {{Infobox settlement}} displays area values for a line in the main infobox.
{{infobox settlement/areadisp|unit_pref|AREAsqmi|AREAkm2|area_magnitude|LINK|subdivision_name}}
where AREAsqmi and AREAkm2 are the area values to be displayed (one may be blank for automatic conversion if the other is numeric), LINK is set if the units are to be wikilinked, and the other parameters are taken from {{Infobox settlement}}.
Whether the metric or imperial value is displayed first depends on the value of subdivision_name (usually the country name) and unit_pref (which can be set to Imperial to force imperial-first display). The default for non-US non-UK countries is metric first.
Code | Result |
---|---|
{{infobox settlement/areadisp|Imperial|42| | |lk|Canada}} |
Formatting error: invalid input when rounding km2 (غلط تعبيري:علامة الترقيم "{" مش متعرف عليها acres) |
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.