Template:Convert/x

Mayelana Wikipedia

{{convert/{{{4}}}|{{{1}}}|x|{{{3}}}|{{{5}}}|||s=(0.5)+(0{{{s}}})|r={{{r}}}|d=Dual/{{{d}}}}}


The Template:Convert/x (for ranges using "x") is invoked as the first template below {Convert}, for converting ranges such as {Convert|2|x|4|ft|m}. It immediately invokes Convert/{4}, for the input unit {4}, passing the range of input numbers as "{1}|x|{3}". Having obtained all 8 parameters, {1}|x|{3}...{8}, it sets the precision "s" from either parameter {5}, {6} or {8} (depending on whichever is the numeric round-number); otherwise, the precision is set as: s=(0.5)+(0{{{s}}}). It passes {d} down as Dual/{d} to invoke subtemplate Convert/Dual/{d} which displays the dual-range (rather than a typical single amount). For any customization, such as disp=x, the parameters {6} and {7} are passed as {5} and {6} (or null if none).
https://zu.wikipedia.org/wiki/Template:Convert/x
zu.wikipedia.org
CC-MAIN-2024-22
44939
application/http; msgtype=response
sha1:KRR76PKL2BEEK4YZKDIA7OAXQSCUWY2I
<urn:uuid:45e5a8ca-60a7-4da8-9d2c-41c81e551dd2>
2024-05-25T23:37:15Z
208.80.154.224
text/html
sha1:7I2G6FNA6S3M27ZWS3JUQXMODMXLWHB6
<urn:uuid:927cb193-8c0e-438e-bd1b-950dec0b718a>
https://zu.wikipedia.org/wiki/Template:Convert/x
response
<urn:uuid:aa3f97ae-18a1-4ab5-8520-860d6823196a>
isPartOf: CC-MAIN-2024-22
publisher: Common Crawl
description: Wide crawl of the web for May 2024
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-212
software: Apache Nutch 1.19 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.5-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/