Template:Weight: Difference between revisions

Jump to navigation Jump to search
m
Removed colon from empty value and fixed spaec
(Added support for no value)
m (Removed colon from empty value and fixed spaec)
Line 1: Line 1:
<includeonly>{{SmallIcon|Weight Icon.png|class=bg3wiki-lightmode-drop-shadow}} Weight:{{#if:{{{kg|}}}{{{lb|}}}| {{{kg}}}&#8239;kg / {{{lb}}}&#8239;lb|}}</includeonly><noinclude> <!-- #8239 is non-breaking thin space -->
<includeonly>{{SmallIcon|Weight Icon.png|class=bg3wiki-lightmode-drop-shadow}} Weight{{#if:{{{kg|}}}{{{lb|}}}|<nowiki>: </nowiki>{{{kg}}}&#8239;kg / {{{lb}}}&#8239;lb|}}</includeonly><noinclude> <!-- #8239 is non-breaking thin space -->
Usage: {{code|<nowiki>{{Weight|kg=0.9|lb=1.8}}</nowiki>}}
Usage: {{code|<nowiki>{{Weight|kg=0.9|lb=1.8}}</nowiki>}}


Navigation menu