User:Wikid77/Template:Convert/words/doc

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, {&#123;convert/words&#125;} functions as a wp:wrapper template for Template:Convert, which performs the calculations.

Usage
The following is the format:
 * {&#123;convert/words |few|inches}} &rarr;
 * {&#123;convert/words |six|feet}}    &rarr;
 * {&#123;convert/words |dozen|km}}   &rarr;

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:
 * {&#123;convert/words |quarter|mile}}    &rarr;
 * {&#123;convert/words |a few|miles}}    &rarr;
 * {&#123;convert/words |several|miles}}   &rarr;
 * {&#123;convert/words |nine|km}}    &rarr;
 * {&#123;convert/words |dozen|km}}    &rarr;
 * {&#123;convert/words |one-half|meter}} &rarr;
 * {&#123;convert/words |One-third|impgal}} &rarr;
 * {&#123;convert/words |few|litres}}    &rarr;
 * {&#123;convert/words |a|foot}}    &rarr;
 * {&#123;convert/words |couple of|feet}}   &rarr;
 * {&#123;convert/words |three|mile|adj=on}} &rarr;
 * {&#123;convert/words |Sixteen|hp}}    &rarr;
 * {&#123;convert/words |a few|kPa}}    &rarr;
 * {&#123;convert/words |a few|ly}}    &rarr;
 * {&#123;convert/words |thousand|meters}}    &rarr;

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.