Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

This is a wrapper for the one2a function in Module:String2.

The one2a function scans through a string, passed as either the first unnamed parameter or |txt=, and converts each occurrence of 'one ' into either 'a ' or 'an ', then returns the resultant string.

Examples sửa

  • {{one2a |one foot. One mile. One inch.One amp. one foot. one mile. one inch. Alone at last.}} → a foot. A mile. An inch.An amp. a foot. a mile. an inch. Alone at last.
  • {{convert|1|ft|spell=on}} → một foot (không phẩy ba không mét)
  • {{one2a|{{convert|1|ft|spell=on}}}} → một foot (không phẩy ba không mét)
  • {{convert|2.54|cm|0|disp=out|spell=on}} → một inch[chuyển đổi: số không hợp lệ]
  • {{one2a|{{convert|2.54|cm|0|disp=out|spell=on}}}} → một inch[chuyển đổi: số không hợp lệ]