Changes

Jump to navigation Jump to search
Add options to output stlb which can be invoked from an infobox template. Does not affect any current usage. Tested first with /sandbox and /testcases.
{{Infobox person/weight/switch
|{{{1|}}}
|{{#invoke:String|replace|{{{1|}}}| | }}
|k={{#invoke:String|find|{{#invoke:String|replace|{{{1|}}}| | }}|kg}}
|s={{#invoke:String|find|{{#invoke:String|replace|{{{1|}}}| | }}|st}}
|l={{#invoke:String|find|{{#invoke:String|replace|{{{1|}}}| | }}|lb}}
|kg-stlb={{#if:{{{kg-stlb|}}}|{{{kg-stlb}}}}}
|lb-stlb={{#if:{{{lb-stlb|}}}|{{{lb-stlb}}}}}
}}<noinclude>
{{Documentation}}
</noinclude>
Anonymous user

Navigation menu