Template:Weight: Difference between revisions
Jump to navigation
Jump to search
(add drop shadow) |
(Added support for no value) |
||
Line 1: | Line 1: | ||
<includeonly>{{SmallIcon|Weight Icon.png|class=bg3wiki-lightmode-drop-shadow}} Weight: {{{kg}}} kg / {{{lb}}} lb</includeonly><noinclude> <!-- #8239 is non-breaking thin space --> | <includeonly>{{SmallIcon|Weight Icon.png|class=bg3wiki-lightmode-drop-shadow}} Weight:{{#if:{{{kg|}}}{{{lb|}}}| {{{kg}}} kg / {{{lb}}} 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> |
Revision as of 11:22, 15 December 2023
Usage: {{Weight|kg=0.9|lb=1.8}}
Result: Weight:0.9 kg / 1.8 lb
Usage: {{Weight}}
Result: Weight: