ਫਰਮਾ: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}}
Template documentation
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".