Шаблон:Convert/e9USgal e6m3

Мавод аз Википедиа — донишномаи озод

{{convert/multi2{{{d}}}|{{convert/{{{d}}}Eng|{{{1}}}||||s=|r={{{r}}} |k=9 |u=US gal |l=US gallons |h=US-gallon |t=gallon |o=Gl |b=3785411.784 |j=6.57811313-0}}|{{convert/{{{d}}}Eng|{{{1}}}||||s=|r={{{r}}} |k=6 |u=m3 |l=cubic met{{{r}}}s |h=cubic-met{{{r}}} |t=cubic metre |o=Mcuft |b=1000000 |j=6-0}}}}


The Template:Convert/e9USgal_e6m3 is a subtemplate of Template:Convert, for volume conversions, to show the result in billions of US gallons and millions of cubic metres. It is used when invoking {Convert} by specifying the output unit-code as "e9USgal e6m3" for the 3rd parameter:

  • {{convert|4500|acre ft|e9USgal e6m3}}           → 4,500 acre feet (1.5×10^9 US gal; 5.6×10^6 m3)
  • {{convert|4500|acre ft|e9USgal e6m3|abbr=off}} → 4,500 acre feet (1.5 billion US gallons; 5.6 million cubic metres)
  • {{convert|4500|-|4900|acre ft|e9USgal e6m3}}          → 4,500–4,900 acre feet (1.5×10^9–1.6×10^9 US gal; 5.6×10^6–6.0×10^6 m3)
  • {{convert|4500|-|4900|acre ft|e9USgal e6m3|abbr=off}}→ 4,500–4,900 acre feet (1.5–1.6 billion US gallons; 5.6–6.0 million cubic metres)

Note that option "abbr=off" will show the full unit names and words "billion" and "million" depending on the amount being converted. Other options are allowed, such as ranges of input units, but the range scales are repeated unless "abbr=off" is set.