सामग्री पर जाएँ

फलकम्:Infobox islands/length/doc

विकिपीडिया, कश्चन स्वतन्त्रः विश्वकोशः

This is a subtemplate of {{Infobox islands}}, and should not be used directly.

Input Output
{{Infobox islands/length|km=0.5}} ०.५ km (०.३१ mi)
{{Infobox islands/length|mi=0.3}} ०.३ mi (०.५ km)
{{Infobox islands/length|m=500}} ५०० m (१,६०० ft)
{{Infobox islands/length|ft=1610}} १,६१० ft (४९१ m)
{{Infobox islands/length|km=0.5|mi=0.3}} ०.५ km (०.३ mi)
{{Infobox islands/length|m=500|ft=1610}} ५०० m (१,६१० ft)
{{Infobox islands/length|km=0.5|m=500}} ०.५ km (०.३१ mi)
{{Infobox islands/length|mi=0.3|ft=1610}} ०.३ mi (०.५ km)
{{Infobox islands/length|m=500|mi=0.3|ft=1610}} ०.३ mi (०.५ km)
{{Infobox islands/length|km=0.5|mi=0.3|ft=1610}} ०.५ km (०.३ mi)
{{Infobox islands/length|km=0.5|m=500|ft=1610}} ०.५ km (०.३१ mi)
{{Infobox islands/length|km=0.5|m=500|mi=0.3}} ०.५ km (०.३ mi)
{{Infobox islands/length|km=0.5|m=500|mi=0.3|ft=1610}} ०.५ km (०.३ mi)
  • {{convert|0.5|km|abbr=on}} → 0.5 किमी (0.31 मील)
  • {{convert|0.3|mi|abbr=on}} → 0.3 मील (0.48 किमी)
  • {{convert|500|m|abbr=on}} → 500 मी (1,600 फ़ुट)
  • {{convert|1610|ft|abbr=on}} → 1,610 फ़ुट (490 मी)

The code uses {{precision}} to determine the level of precision. The logic is to give preference to km/mi over m/ft. If both km and mi are specified, then no conversion takes place. Similarly, if both m and ft are specified (and km/mi are not specified), then no conversion takes place.


"https://sa.wikipedia.org/w/index.php?title=फलकम्:Infobox_islands/length/doc&oldid=391521" इत्यस्माद् प्रतिप्राप्तम्