ढाँचा:Infobox settlement/lengthdisp

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

This subtemplate of {{Infobox settlement}} displays length (e.g. elevation) values.

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

{{Infobox settlement/lengthdisp|unit_pref|FEET|METRES|LINK|subdivision_name}}

where FEET and METRES 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 subn (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/lengthdisp|Imperial|42.1| |lk|Canada}} ४२.१ ft (१३ m)
{{Infobox settlement/lengthdisp|Metric|42.1| |lk|Canada}} १३ m (४२.१ ft)
{{Infobox settlement/lengthdisp|Imperial| |13|lk|Canada}} ४३ ft (१३ m)
{{Infobox settlement/lengthdisp|Metric| |13|lk|Canada}} १३ m (४३ ft)
{{Infobox settlement/lengthdisp|Imperial|42.1|13.0|lk|Canada}} ४२.१ ft (१३.० m)
{{Infobox settlement/lengthdisp|Metric|42.1|13.0|lk|Canada}} १३.० m (४२.१ ft)
{{Infobox settlement/lengthdisp|Imperial|42.1| | |Canada}} ४२.१ फिट (१३ मि)
{{Infobox settlement/lengthdisp|Metric|42.1| | |Canada}} १३ मि (४२.१ फिट)
{{Infobox settlement/lengthdisp|Imperial| |13| |Canada}} ४३ फिट (१३ मि)
{{Infobox settlement/lengthdisp|Metric| |13| |Canada}} १३ मि (४३ फिट)
{{Infobox settlement/lengthdisp|Imperial|42.1|13.0| |Canada}} ४२.१ फिट (१३.० मि)
{{Infobox settlement/lengthdisp|Metric|42.1|13.0| |Canada}} १३.० मि (४२.१ फिट)
{{Infobox settlement/lengthdisp|Imperial|42.1| |lk|United States}} ४२.१ ft (१३ m)
{{Infobox settlement/lengthdisp|Metric|42.1| |lk|United States}} ४२.१ ft (१३ m)
{{Infobox settlement/lengthdisp|Imperial| |13|lk|United States}} ४३ ft (१३ m)
{{Infobox settlement/lengthdisp|Metric| |13|lk|United States}} ४३ ft (१३ m)
{{Infobox settlement/lengthdisp|Imperial|42.1|13.0|lk|United States}} ४२.१ ft (१३.० m)
{{Infobox settlement/lengthdisp|Metric|42.1|13.0|lk|United States}} ४२.१ ft (१३.० m)
{{Infobox settlement/lengthdisp|Imperial|42.1| | |United States}} ४२.१ फिट (१३ मि)
{{Infobox settlement/lengthdisp|Metric|42.1| | |United States}} ४२.१ फिट (१३ मि)
{{Infobox settlement/lengthdisp|Imperial| |13| |United States}} ४३ फिट (१३ मि)
{{Infobox settlement/lengthdisp|Metric| |13| |United States}} ४३ फिट (१३ मि)
{{Infobox settlement/lengthdisp|Imperial|42.1|13.0| |United States}} ४२.१ फिट (१३.० मि)
{{Infobox settlement/lengthdisp|Metric|42.1|13.0| |United States}} ४२.१ फिट (१३.० मि)

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