Template:Weight: Difference between revisions

Jump to navigation Jump to search
Added support for no value
(add drop shadow)
(Added support for no value)
Line 1: Line 1:
<includeonly>{{SmallIcon|Weight Icon.png|class=bg3wiki-lightmode-drop-shadow}} Weight: {{{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|}}}| {{{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>}}


Result: {{Weight|kg=0.9|lb=1.8}}
Result: {{Weight|kg=0.9|lb=1.8}}
Usage: {{code|<nowiki>{{Weight}}</nowiki>}}
Result: {{Weight}}


[[Category:Weapon Property Templates]]
[[Category:Weapon Property Templates]]
</noinclude>
</noinclude>

Navigation menu