Dyffransow ynter amendyansow a "Skantlyn:Lengthdisp"

Dhyworth Wikipedya, an godhoniador rydh
Content deleted Content added
skantlyn nowyth
 
Addbot (keskows | kevrohow)
B Bot: Migrating interwiki links, now provided by Wikidata on d:q6547688
 
Linen 15: Linen 15:


[[en:Template:Lengthdisp]]
[[en:Template:Lengthdisp]]
[[pt:Predefinição:Lengthdisp]]
[[th:แม่แบบ:Lengthdisp]]
[[tr:Şablon:Lengthdisp]]
</includeonly>
</includeonly>



An amendyans diwettha a-dhia 13:29, 16 Est 2013


This subtemplate displays length (e.g. elevation) values for a line in the main Infobox. It is transcluded thus:

{{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 Template:Infobox trevesigeth.

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.

Example: {{lengthdisp|Imperial|42| |lk|Canada}} produces 42 ft (13 m)