Template:Range: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Use updated jump link)
(Added Melee range icon for melee range with support for custom range and appearance like seen in-game)
Line 1: Line 1:
<includeonly>{{SmallIcon|Range Icon.png}} Range: {{#switch:{{{1|}}}
<includeonly>{{#ifeq:{{{1|}}}|melee|{{SmallIcon|Melee Range Icon.png}} Melee:<nowiki> </nowiki>|{{SmallIcon|Range Icon.png}} Range:<nowiki> </nowiki>}}{{#switch:{{{1|}}}
| melee | touch = 1.5{{nbts}}m / 5{{nbts}}ft
| melee | touch = {{{m|1.5}}}{{nbts}}m / {{{ft|5}}}{{nbts}}ft
| reach = 2.5{{nbts}}m / 8{{nbts}}ft
| reach = 2.5{{nbts}}m / 8{{nbts}}ft
| ranged = 18{{nbts}}m / 60{{nbts}}ft
| ranged = 18{{nbts}}m / 60{{nbts}}ft

Revision as of 16:30, 30 December 2023

Usage: {{Range|self}}

Result: Range: Self

Usage: {{Range|weapon}}

Result: Range: Normal Weapon Range

Usage: {{Range|melee}}

Result: Melee: 1.5 m / 5 ft

Usage: {{Range|reach}}

Result: Range: 2.5 m / 8 ft

Usage: {{Range|ranged}}

Result: Range: 18 m / 60 ft

Usage: {{Range|short ranged}}

Result: Range: 15 m / 50 ft

Usage: {{Range|m=X|ft=Y}}

Result: Range: X m / Y ft

Usage: {{Range|jump}}

Result: Range: Jump Jump range