Загвар:Convert/USgal
{{convert/{{{d}}}|{{{1}}}||{{{3}}}||||||s=|r={{{r}}} |u=US gal |n=US gallon |h=US-gallon |o=l impgal |b=0.003785411784 |j=-2.42188687-0}}
Загварын баримт бичиг
Энэ өндөр эрсдэл бүхий загвар нь вандализмаас сэргийлэхийн тулд өөрчлөлт хийхээс хамгаалагдсан. See the protection policy and protection log for more details. Please discuss any changes on the talk page; you may use the {{editprotected}} template to ask an administrator to make the edit if it is supported by consensus. You may also request that this page be unprotected. |
The Template:Convert/USgal converts units with U.S. gallons, using the symbol "US gal" as the typical abbreviation. The default output unit-code is "l impgal" to show both liters and imperial gallons. Examples:
For improper combinations of unit-codes, the template will auto-correct the output unit, for the following unit-codes:
- qt, quart, quarts: will auto-correct as "USqt"
- pt, pint, pints: will auto-correct as "USpt"
- cup, cups: will auto-correct as "UScup"
The autocorrection will also show a superscript note, such as "[fix unit]" but the result will be a valid equivalent amount.
Invalid cases will link to "Category:Convert dimension mismatch".