• หน้าหลัก
  • สุ่ม
  • ใกล้เคียง
  • เข้าสู่ระบบ
  • การตั้งค่า
Donate Now If Wikipedia is useful to you, please give today.
  • เกี่ยวกับวิกิพีเดีย
  • ข้อปฏิเสธความรับผิดชอบ
วิกิพีเดีย

แม่แบบ:ความสูง

  • ภาษาอื่น
  • เฝ้าดู
  • แก้ไข
คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]
แม่แบบนี้ใช้ลูอา
  • มอดูล:ตรวจสอบพารามิเตอร์ที่ไม่รู้จัก

เนื้อหา

  • 1 การใช้งาน
    • 1.1 ตัวอย่าง
  • 2 ข้อมูลแม่แบบ
  • 3 หมวดหมู่ติดตาม
  • 4 ดูเพิ่ม

การใช้งาน

แก้

ตัวอย่าง

แก้
โค้ด ผลลัพธ์
m
{{height|m=1.77}} 1.77 เมตร (5 ฟุต 9 1⁄2 นิ้ว)
{{height|metres=1.77}} 1.77 เมตร (5 ฟุต 9 1⁄2 นิ้ว)
{{height|meters=1.77|abbr=no}} 1.77 เมตร (5 ฟุต 9 1⁄2 นิ้ว)
{{height|m=1.77|abbr=mos}} 1.77 เมตร (5 ฟุต 9 1⁄2 นิ้ว)
{{height|m=1.77|frac=16}} 1.77 เมตร (5 ฟุต 9 11⁄16 นิ้ว)
{{height|m=1.77|precision=0}} 1.77 เมตร (5 ฟุต 10 นิ้ว)*
cm
{{height|cm=177}} 177 เซนติเมตร (5 ฟุต 9 1⁄2 นิ้ว)
{{height|centimetres=177}} 177 เซนติเมตร (5 ฟุต 9 1⁄2 นิ้ว)
{{height|centimeter=177|abbr=no}} 177 เซนติเมตร (5 ฟุต 9 1⁄2 นิ้ว)
{{height|cm=177|abbr=mos}} 177 เซนติเมตร (5 ฟุต 9 1⁄2 นิ้ว)
{{height|cm=177|frac=16}} 177 เซนติเมตร (5 ฟุต 9 11⁄16 นิ้ว)
{{height|cm=177|precision=0}} 177 เซนติเมตร (5 ฟุต 10 นิ้ว)*
ft และ in
{{height|ft=6|in=1}} 6 ฟุต 1 นิ้ว (1.85 เมตร)
{{height|ft=6|in=1|out=cm}} 6 ฟุต 1 นิ้ว (185 เซนติเมตร)
{{height|ft=6|in=1|precision=1}} 6 ฟุต 1 นิ้ว (1.9 เมตร)
{{height|ft=6|in=1|precision=-1|out=cm}} 6 ฟุต 1 นิ้ว (190 เซนติเมตร)
{{height|feet=6|inches=1}} 6 ฟุต 1 นิ้ว (1.85 เมตร)
{{height|feet=6|inches=1|out=cm}} 6 ฟุต 1 นิ้ว (185 เซนติเมตร)
{{height|ft=6|in=1|abbr=no}} 6 ฟุต 1 นิ้ว (1.85 เมตร)
{{height|ft=6|in=1|abbr=no|out=cm}} 6 ฟุต 1 นิ้ว (185 เซนติเมตร)
{{height|ft=6|in=1|abbr=mos}} 6 ฟุต 1 นิ้ว (1.85 เมตร)
{{height|ft=6|in=1|abbr=mos|out=cm}} 6 ฟุต 1 นิ้ว (185 เซนติเมตร)
{{height|ft=5|in=7+1/2}} 5 ฟุต 7 1⁄2 นิ้ว (1.71 เมตร)
{{height|ft=5|in=7+1/2|out=cm}} 5 ฟุต 7 1⁄2 นิ้ว (171 เซนติเมตร)
{{height|ft=5|in=7+1/2|precision=1}} 5 ฟุต 7 1⁄2 นิ้ว (1.7 เมตร)
{{height|ft=5|in=7+1/2|precision=1|out=cm}} 5 ฟุต 7 1⁄2 นิ้ว (171.5 เซนติเมตร)
{{height|ft=5|in=7+1/2|precision=-1|out=cm}} 5 ฟุต 7 1⁄2 นิ้ว (170 เซนติเมตร)
{{height|ft=5|in=7+1/2|precision=3}} 5 ฟุต 7 1⁄2 นิ้ว (1.715 เมตร)
ft
{{height|ft=6}} 6 ฟุต 0 นิ้ว (1.83 เมตร)
{{height|ft=6|out=cm}} 6 ฟุต 0 นิ้ว (183 เซนติเมตร)
{{height|ft=6.5}} 6.5 ฟุต 0 นิ้ว (1.98 เมตร)
{{height|ft=6.5|out=cm}} 6.5 ฟุต 0 นิ้ว (198 เซนติเมตร)
{{height|ft=6+1/2}} 6 1⁄2 ฟุต 0 นิ้ว (1.98 เมตร)
{{height|ft=6+1/2|out=cm}} 6 1⁄2 ฟุต 0 นิ้ว (198 เซนติเมตร)
in
{{height|in=10}} 0 ฟุต 10 นิ้ว (0.25 เมตร)
{{height|in=10|out=cm}} 0 ฟุต 10 นิ้ว (25 เซนติเมตร)
{{height|in=10.5}} 0 ฟุต 10.5 นิ้ว (0.27 เมตร)
{{height|in=10.5|out=cm}} 0 ฟุต 10.5 นิ้ว (27 เซนติเมตร)
{{height|in=10+1/2}} 0 ฟุต 10 1⁄2 นิ้ว (0.27 เมตร)
{{height|in=10+1/2|out=cm}} 0 ฟุต 10 1⁄2 นิ้ว (27 เซนติเมตร)
errors
{{height|cm=200|in=2|precision=0}} Error: please specify height using only one type of units
{{height|cm=177|frac=0}} 177 เซนติเมตร (5 ฟุต 9.7 นิ้ว)*
{{height|ft=5|in={{frac|7|1|2}}}} [convert: %s]%s
{{height|ft=5|in={{frac|7|1|2}}}} [convert: %s]%s
{{height|ft=5|in=7 1/2}} [convert: %s]%s
{{height|ft=5|in=7_1/2}} [convert: %s]%s
{{height|ft=5|in=7-1/2}} [convert: %s]%s
{{height|ft=5|in=7½}} [convert: %s]%s
หน่วยที่ไม่รองรับ
{{height|mm=2000}}
{{height|dm=20}}
{{height|'=6|"=1}}
{{height|′=6|″=1}}
{{height|hand=20}}
{{height|yard=2}}
  • m สำหรับ เมตร
  • cm สำหรับ เซนติเมตร
  • ft สำหรับ ฟุต
  • in สำหรับ นิ้ว

ข้อมูลแม่แบบ

แก้

แม่แบบนี้มีไว้สำหรับการแปลงความสูงที่ระบุเป็นเมตรหรือฟุตและนิ้ว

พารามิเตอร์แม่แบบ[แก้ไขข้อมูลแม่แบบ]

พารามิเตอร์คำอธิบายชนิดสถานะ
Metresm metre metres meter meters

The height in metres. Do not use if feet and inches are specified.

จำนวนไม่บังคับ
Centimetrescm centimetre centimetres centimeter centimeters

The height in centimetres. Do not use if feet and inches are specified.

จำนวนไม่บังคับ
Feetft foot feet

The feet part of the height in feet and inches. Do not use if centimetres are specified.

จำนวนไม่บังคับ
Inchesin inch inches

The inches part of the height in feet and inches (optional). Do not use if centimetres are specified. Fractions are supported in the form u+n/d.

จำนวนไม่บังคับ
Precision of converted valueprecision

The amount of decimal places to display the converted value to. Defaults to 2 for feet and inches to metres and to 1 for metres/centimetres to feet and inches.

จำนวนไม่บังคับ
Fraction denominatorfrac

Shows result as a fraction. The number in this parameter is the denominator of the fraction. Used only for metres/centimetres to feet and inches. Set to "10" for decimals. Defaults to 2 (halves).

จำนวนไม่บังคับ
Abbreviation styleabbr

Changes abbreviation style. Set to "yes" for all units to be abbreviated (default), "no" for all to be spelled out, or "mos" for the units being converted to be spelled out and the converted units to be abbreviated.

สตริงไม่บังคับ
Unit linkingwiki

Changes whether units are linked. Set to "no" to not link units (default) or "yes" to link units.

สตริงไม่บังคับ
Output formatout

Changes output format of conversion. Set to "cm" with input values in feet and inches to output the conversion as centimetres. No other options currently exist and the template ignores anything other than "cm".

สตริงไม่บังคับ

หมวดหมู่ติดตาม

แก้
  • หมวดหมู่:หน้าที่ใช้ความสูงที่มีพารามิเตอร์ที่ไม่รู้จัก (76)

ดูเพิ่ม

แก้
  • {{convert}}
    • {{convert|1.82|m|ftin|frac=4}} → 1.82 เมตร (5 ฟุต 11 3⁄4 นิ้ว)
    • {{convert|182|cm|ftin|frac=4}} → 182 เซนติเมตร (5 ฟุต 11 3⁄4 นิ้ว)
    • {{convert|5|ft|11+3/4|in|m|2}} → 5 ฟุต 11 3⁄4 นิ้ว (1.82 เมตร)
    • {{convert|5|ft|11+3/4|in|cm|0|abbr=on}} → 5 ft 11 3⁄4 in (182 ซm)
คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:ความสูง/doc (แก้ | ประวัติ)
ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้
โปรดเพิ่มหมวดหมู่ไปที่หน้าย่อย /doc หน้าย่อยของแม่แบบนี้
เข้าถึงจาก "https://th.wikipedia.org/w/index.php?title=แม่แบบ:ความสูง&oldid=10504428"
แก้ไขล่าสุดเมื่อ 28 ธันวาคม 2565 เวลา 19:02

ภาษา

    • Afrikaans
    • العربية
    • مصرى
    • অসমীয়া
    • Asturianu
    • अवधी
    • Azərbaycanca
    • تۆرکجه
    • Basa Bali
    • भोजपुरी
    • বাংলা
    • Català
    • کوردی
    • Cymraeg
    • Dansk
    • Kadazandusun
    • डोटेली
    • English
    • Español
    • فارسی
    • Føroyskt
    • Français
    • Arpetan
    • ગુજરાતી
    • हिन्दी
    • Հայերեն
    • Bahasa Indonesia
    • Ilokano
    • 日本語
    • Jawa
    • 한국어
    • Kurdî
    • Lingála
    • ລາວ
    • मैथिली
    • Minangkabau
    • Македонски
    • മലയാളം
    • Монгол
    • मराठी
    • Bahasa Melayu
    • မြန်မာဘာသာ
    • नेपाली
    • Norsk bokmål
    • Kapampangan
    • پښتو
    • Português
    • Română
    • संस्कृतम्
    • Scots
    • سنڌي
    • Srpskohrvatski / српскохрватски
    • တႆး
    • සිංහල
    • Simple English
    • Slovenščina
    • Shqip
    • Српски / srpski
    • Sunda
    • Svenska
    • தமிழ்
    • తెలుగు
    • Тоҷикӣ
    • Tagalog
    • Türkçe
    • Українська
    • Oʻzbekcha / ўзбекча
    • Tiếng Việt
    • Winaray
    • 吴语
    • Yorùbá
    • 中文
    • 粵語
    • IsiZulu
    วิกิพีเดีย
    • Wikimedia Foundation
    • Powered by MediaWiki
    • หน้านี้แก้ไขล่าสุดเมื่อวันที่ 28 ธันวาคม 2565 เวลา 19:02 น.
    • เนื้อหาอนุญาตให้เผยแพร่ภายใต้ CC BY-SA 4.0 เว้นแต่ระบุไว้เป็นอื่น
    • นโยบายความเป็นส่วนตัว
    • เกี่ยวกับวิกิพีเดีย
    • ข้อปฏิเสธความรับผิดชอบ
    • จรรยาบรรณ
    • ผู้พัฒนา
    • สถิติ
    • นโยบายการใช้คุกกี้
    • ข้อกำหนดการใช้งาน
    • คอมพิวเตอร์ตั้งโต๊ะ