Template:Range: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
(Unit symbols should be separated for better readability, and inline icons should have a consistent size.)
Line 1: Line 1:
<includeonly>{{icon|Range Icon.png|30}} Range: {{#switch:{{{1|}}}
<includeonly>{{SmallIcon|Range Icon.png}} Range: {{#switch:{{{1|}}}
| melee = 1.5m / 5ft
| melee = 1.5&#8239;m / 5&#8239;ft <!-- #8239 is "non-breaking thin space" which is ideal for style and readability -->
| reach = 2.5m / 8ft
| reach = 2.5&#8239;m / 8&#8239;ft
| {{{m}}}m / {{{ft}}}ft
| {{{m}}}&#8239;m / {{{ft}}}&#8239;ft
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Usage: {{code|<nowiki>{{Range|melee}}</nowiki>}}
Usage: {{code|<nowiki>{{Range|melee}}</nowiki>}}

Revision as of 04:36, 3 February 2023

Usage: {{Range|melee}}

Result: Range: 1.5 m / 5 ft

Usage: {{Range|reach}}

Result: Range: 2.5 m / 8 ft

Usage: {{Range|m=15|ft=50}}

Result: Range: 15 m / 50 ft