Module:ConvertIB/doc
Appearance
From Wikipedia, the free encyclopedia
This is a documentation subpage for Module:ConvertIB.
It may contain usage information, categories and other content that is not part of the original module page.
It may contain usage information, categories and other content that is not part of the original module page.
Warning This Lua module is used on approximately 222,000 pages .
To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.
To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.
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