Module:ConvertIB/doc: Difference between revisions
From Kenshi Wiki
More actions
Created page with "{{doc sub}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> A Lua module that implements {{tl|convinfobox}}: a wrapper around {{tl|convert}} designed for infoboxes. == Usage == <code><nowiki>{{</nowiki>#invoke:ConvertIB|convert<nowiki>}}</nowiki></code> :Like {{tl|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 ha..." |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
<!-- Categories below this line; interwikis at Wikidata --> | <!-- Categories below this line; interwikis at Wikidata --> | ||
[[Category:Modules]] | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
[[Category:Module | [[Category:Module documents]] | ||
</noinclude> | </noinclude> |
Latest revision as of 23:09, 11 March 2025
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. |
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