Toggle menu
15
236
76
27.7K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:ConvertIB/doc: Difference between revisions

From Kenshi Wiki
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 documentation pages]]
[[Category:Module documents]]
</noinclude>
</noinclude>

Latest revision as of 23:09, 11 March 2025

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
Contents