Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template talk:Volume

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Template talk:Volume/doc)
Latest comment: 7 years ago by SMcCandlish in topic Overhaul

Table usage example

[edit]

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.17 deep cycle & marine32

 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