ढाँचा:Infobox settlement/areadisp

स्वतन्त्र विश्वकोश, नेपाली विकिपिडियाबाट
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

This subtemplate of {{Infobox settlement}} displays area values.

Usage[सम्पादन गर्ने]

{{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 (please read wp:overlink prior to using this parameter), 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.

Examples[सम्पादन गर्ने]

Code Result
{{Infobox settlement/areadisp|Imperial|42| | | |Canada}} ४२ वर्ग माइल (१०८.८ किमी)
{{Infobox settlement/areadisp|Imperial| |108.8| | |Canada}} ४२ वर्ग माइल (१०८.८ किमी)
{{Infobox settlement/areadisp|Imperial|42|109| | |Canada}} ४२ वर्ग माइल (१०९ किमी)
{{Infobox settlement/areadisp|Metric|42| | | |Canada}} १०८.८ किमी (४२ वर्ग मी)
{{Infobox settlement/areadisp|Metric| |108.8| | |Canada}} १०८.८ किमी (४२ वर्ग मी)
{{Infobox settlement/areadisp|Metric|42|109| | |Canada}} १०९ किमी (४२ वर्ग मी)
{{Infobox settlement/areadisp|Imperial|42| | | |United States}} ४२ वर्ग माइल (१०८.८ किमी)
{{Infobox settlement/areadisp|Imperial| |108.8| | |United States}} ४२ वर्ग माइल (१०८.८ किमी)
{{Infobox settlement/areadisp|Imperial|42|109| | |United States}} ४२ वर्ग माइल (१०९ किमी)
{{Infobox settlement/areadisp|Metric|42| | | |United States}} ४२ वर्ग माइल (१०८.८ किमी)
{{Infobox settlement/areadisp|Metric| |108.8| | |United States}} ४२ वर्ग माइल (१०८.८ किमी)
{{Infobox settlement/areadisp|Metric|42|109| | |United States}} ४२ वर्ग माइल (१०९ किमी)

See also[सम्पादन गर्ने]