Template talk:Volume

Latest comment: 5 years ago by SMcCandlish in topic Overhaul

Table usage example

See m:Help talk:Calculation#Calculations within a table.

Examples:

32530
BCI#VoltsLength (in)Width (in)Height (in)VolumeTypeCapacity (AH)CCANotes
U1127.715.186.89275.17deep cycle & marine32

— Preceding unsigned comment added by Patrick (talkcontribs) 12:54, 30 August 2018 (UTC)

Overhaul

I went looking for a volume template, saw that this had been userspaced as "not ready for prime-time", so I just overhauled it:

  • Now has documentation.
  • Produces useful output by default.
  • Produces the original highly specialized table output as a parameter options
  • Supports multiple levels of rounding.
  • Is categorized as a maths function template.
  • Lives in the "Template:" namespace again.

It should probably be "See also" linked from some other places, and added to lists of maths calculation templates, but I dunno about that stuff; I'll drop a note over at WT:MATHS.

It should likely also be upgraded further to support both units and conversion, though I've documented some workarounds in the interim.

PS: It's also just doing cubic volume basic calculation, not anything like converting L×W×D/H into gallons or whatever.
 — SMcCandlish ¢ 😼  22:58, 2 December 2018 (UTC)