टेम्पलेट:Infobox person/height
Appearance
टेम्पलेट बिबरनलेख[देखीं] [संपादन करीं] [इतिहास देखीं] [रिफ्रेश करीं]
टेम्पलेट:Infobox person is one of three templates used to automatically add conversions of height measurements displayed by Template:Infobox person and other infoboxes with a |height=
parameter.
- Template:Infobox person/height changes text for units of height to the abbreviations "m", "cm", "ft", or "in", then passes the string to:
- Template:Infobox person/height/locate which replaces any instances of
with a space, and determines the positions of "m", "cm", "ft", or "in" within that string, all of which is passed to: - Template:Infobox person/height/switch which does the conversion
Usage
[संपादन करीं]{{Template:Infobox person/height|1 metre}}
→ 1 मी (3 फुट 3 इंच){{Template:Infobox person/height|1 meter}}
→ 1 मी (3 फुट 3 इंच){{Template:Infobox person/height|1.57 metres}}
→ 1.57 मी (5 फुट 2 इंच){{Template:Infobox person/height|1.57 meters}}
→ 1.57 मी (5 फुट 2 इंच){{Template:Infobox person/height|1.57 ms}}
→ 1.57 मी (5 फुट 2 इंच){{Template:Infobox person/height|157 centimetres}}
→ 157 सेमी (5 फुट 2 इंच){{Template:Infobox person/height|157 centimeters}}
→ 157 सेमी (5 फुट 2 इंच){{Template:Infobox person/height|1 foot}}
→ 1 फुट (30 सेमी){{Template:Infobox person/height|2 feet}}
→ 2 फीट (61 सेमी){{Template:Infobox person/height|1 inch}}
→ 1 इंच (3 सेमी){{Template:Infobox person/height|2 inches}}
→ 2 इंच (5 सेमी){{Template:Infobox person/height|2 ins}}
→ 2 इंच (5 सेमी){{Template:Infobox person/height|5 feet 2 inches}}
→ 5 फीट 2 इंच (157 सेमी){{Template:Infobox person/height|5feet 2inches}}
→ 5 फीट 2 इंच (157 सेमी){{Template:Infobox person/height|5 feet 2 inches}}
→ 5 फीट 2 इंच (157 सेमी){{Template:Infobox person/height|5 feet 2 inches (2012)}}
→ 5 फीट 2 इंच (157 सेमी) (2012){{Template:Infobox person/height|5 feet 2 inches (2012)<ref>citation goes here</ref>}}
→ 5 फीट 2 इंच (157 सेमी) (2012)[1]
- ↑ citation goes here
Exceptions
[संपादन करीं]Does not replace numbers in hard-coded conversions (examples intentionally show incorrect conversions), but does replace units with abbreviations "m", "cm", "ft", or "in":
{{Template:Infobox person/height|5 feet 2 inches (1.00 metres)}}
→ 5 ft 2 in (1.00 m){{Template:Infobox person/height|157 centimetres (5 feet 5 inches)}}
→ 157 cm (5 ft 5 in)
Does not replace numeric output of conversion templates such as {{convert}} or {{height}}, but does replace units with abbreviations "m", "cm", "ft", or "in":
{{Template:Infobox person/height|{{convert|5|ft|2|in|abbr=off}}}}
→ 5 फीट 2 इंच (1.57 मीटर)- compare to:
{{convert|5|ft|2|in|abbr=off}}
→ 5 फीट 2 इंच (1.57 मीटर)
- compare to:
{{Template:Infobox person/height|{{convert|1.57|m|abbr=off}}}}
→ 1.57 मीटर (5 फीट 2 इंच)- compare to:
{{convert|1.57|m|abbr=off}}
→ 1.57 मीटर (5 फीट 2 इंच)
- compare to:
{{Template:Infobox person/height|{{height|ft=5|in=2|abbr=no}}}}
→ 5 फीट 2 इंच (1.57 मीटर)- compare to:
{{height|ft=5|in=2|abbr=no}}
→ 5 फीट 2 इंच (1.57 मीटर)
- compare to:
{{Template:Infobox person/height|{{height|m=1.57|abbr=no}}}}
→ 1.57 मीटर (5 फीट 2 इंच)- compare to:
{{height|m=1.57|abbr=no}}
→ 1.57 मीटर (5 फीट 2 इंच)
- compare to:
Conversion templates where units are not replaced (examples have precision different than usual):
{{Template:Infobox person/height/locate|{{convert|5|ft|2|in|m|3|abbr=off}}}}
→ 5 फीट 2 इंच (1.575 मीटर)- compare to:
{{convert|5|ft|2|in|m|3|abbr=off}}
→ 5 फीट 2 इंच (1.575 मीटर)
- compare to:
{{Template:Infobox person/height/locate|{{convert|1.57|m|ftin|1|abbr=off}}}}
→ 1.57 मीटर (5 फीट 1.8 इंच)- compare to:
{{convert|1.57|m|ftin|1|abbr=off}}
→ 1.57 मीटर (5 फीट 1.8 इंच)
- compare to:
{{Template:Infobox person/height/locate|{{height|ft=5|in=2|precision=3|abbr=no}}}}
→ 5 फीट 2 इंच (1.575 मीटर)- compare to:
{{height|ft=5|in=2|precision=3|abbr=no}}
→ 5 फीट 2 इंच (1.575 मीटर)
- compare to:
{{Template:Infobox person/height/locate|{{height|m=1.57|frac=4|abbr=no}}}}
→ 1.57 मीटर (5 फीट 1 3⁄4 इंच)- compare to:
{{height|m=1.57|frac=4|abbr=no}}
→ 1.57 मीटर (5 फीट 1 3⁄4 इंच)
- compare to:
See also
[संपादन करीं]परिचय खातिर ऊपर दिहल गइल बिबरनलेख के टेम्पलेट:Infobox person/height/doc से ट्रांसक्लूड क के इहाँ देखावल जा रहल बाटे। (संपादन करीं | इतिहास देखीं) संपादक लोग एह टेम्पलेट के अभ्यासपन्ना (सैंडबाक्स) (बनाईं | मिरर करीं) आ टेस्टकेस (बनाईं) पन्ना सभ पर अभ्यास आ प्रयोग (टेस्टिंग) क सकत बाटे। अनुरोध बा कि अगर श्रेणी जोड़े के होखे तब /doc उपपन्ना (सबपेज) पर जोड़ल जाय। एह टेम्पलेट के उपपन्ना (सबपेज) देखीं। |