Jump to content

Module:ConvertIB/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Hike395 (talk | contribs) at 04:43, 19 June 2024 (short doc). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

A Lua module that implements {{convinfobox}}: a wrapper around {{convert}} designed for infoboxes.

Usage

{{#invoke:ConvertIB|convert}}

Like {{convinfobox}}, accepts alternating series of pairs of [blank|value], unit . When a unit has a non-blank value, it will get converted

to all other units that do have blank values

Accepts all named parameters that {{convert}} does
Accepts groups of multiple units (e.g., "5 ft 6 in") that {{convert}} does