Jump to content

Module:ConvertIB/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Warudo (talk | contribs) at 20:55, 29 August 2024 (Added the page to Category:Module documentation pages). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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

Usage

[edit]

{{#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