Skantlyn:Lengthdisp

Dhyworth Wikipedya, an godhoniador rydh
Lamma dhe: kevrennow lewya, hwilas


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)
https://kw.wikipedia.org/wiki/Skantlyn:Lengthdisp
kw.wikipedia.org
crawl=CC-MAIN-2015-27
27140
application/http; msgtype=response
sha1:FHXGBON2WY3Y3VXUCOXBFUMN7TBGXSCS
<urn:uuid:cbd2f686-e2c3-4327-a9dc-a98df5d441e8>
2015-07-06T13:49:28Z
208.80.154.224
sha1:VRMWYHIA5RK7LXEUOL6OWFFKBLA4AYT4
<urn:uuid:3d708cf9-9fbd-449f-bd57-375422a05f28>
https://kw.wikipedia.org/wiki/Skantlyn:Lengthdisp
response
<urn:uuid:1b55d6c9-04b5-4daf-81df-68c8384cee65>
robots: classic
hostname: ip-10-179-60-89.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2015-27
operator: CommonCrawl Admin
description: Wide crawl of the web for June 2015
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf