Template talk:Volume

(Redirected from Template talk:Volume/doc)
Latest comment: 5 years ago by SMcCandlish in topic Overhaul

Table usage example

edit

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

Examples:

3 2 5 30
BCI# Volts Length (in) Width (in) Height (in) Volume Type Capacity (AH) CCA Notes
U1 12 7.71 5.18 6.89 275.17 deep cycle & marine 32

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

Overhaul

edit

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)Reply