Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Distance

Template page

Usage: {{Distance|melee}}

Result: 1.5 m / 5 ft

Usage: {{Distance|reach}}

Result: 2.5 m / 8 ft

Usage: {{Distance|ranged}}

Result: 18 m / 60 ft

Usage: {{Distance|short ranged}}

Result: 15 m / 50 ft

Usage: {{Distance|m=1.5}}

Result: 1.5 m / 5 ft

Usage: {{Distance|ft=50}}

Result: 15 m / 50 ft (ERROR: Distance not in metric!)

Game files use metric, and apply the calculation mentioned in Template:M to ft when the options are set to imperial. This is why the template expects a value in metric and refuses to apply the reverse transform, which may lead to unexpected results due to rounding.