User:Wikid77/Template:Convert/words/doc
| This is a documentation subpage for User:Wikid77/Template:Convert/words. It may contain usage information, categories and other content that is not part of the original user template page. |
The Template:Convert/words can convert a measurement in words into equivalent units of another type. For example, the phrase "a few inches" would be similar to a "half-dozen centimetres".
For numeric results, {{convert/words}} functions as a wp:wrapper template for Template:Convert, which performs the calculations.
Usage
The following is the format:
- {{convert/words |few|inches}} → few inches (half-dozen centimetres)
- {{convert/words |six|feet}} → six feet (1.8 m)
- {{convert/words |dozen|km}} → dozen kilometres (several miles)
Parameter 1 is the amount ("few" or "several" etc.), and parameter 2 is the type of units, such as "feet" or "ft" for feet or "m" for "metre" as the unit-codes in Template:Convert.
Other examples:
- {{convert/words |quarter|mile}} → quarter mile (0.40 km)
- {{convert/words |a few|miles}} → a few miles (half-dozen km)
- {{convert/words |several|miles}} → several miles (dozen km)
- {{convert/words |nine|km}} → nine kilometres (5.6 mi)
- {{convert/words |dozen|km}} → dozen kilometres (several miles)
- {{convert/words |one-half|meter}} → one-half metre (1 ft 8 in)
- {{convert/words |One-third|impgal}} → One-third imperial gallon (1.5 L; 0.40 US gal)
- {{convert/words |few|litres}} → few litres (a few US quarts)
- {{convert/words |a|foot}} → a foot (0.30 m)
- {{convert/words |couple of|feet}} → couple of feet (1 to 1.5 m)
- {{convert/words |three|mile|adj=on}} → three-mile (4.8 km)
- {{convert/words |Sixteen|hp}} → Sixteen horsepower (12 kW)
- {{convert/words |a few|kPa}} → a few kilopascals (0.44–0.73 psi)
- {{convert/words |a few|ly}} → a few light-years (190,000–320,000 AU)
- {{convert/words |thousand|meters}} → thousand metres (3,300 ft)
Only a limited set of words are recognized, including "a few" (or "few"), "several" or "couple of" (or "couple"), "dozen", simple numbers ("one", "two", "three"... "twenty", "thirty-five", "two hundred", "thousand" etc.), and simple fractions ("half", "quarter", "one-fourth", "seven-tenths" etc.).
By 2013, more than 15,000 articles had used amounts expressed with the phrase "a few" or "couple of" units, often along with specific conversions of larger amounts.
See also
- Template:Convert/spell – spell out words for any numbers in conversion
- Number sense – about relative precision of numbers as used in context
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.