Template:Range: Difference between revisions
Jump to navigation
Jump to search
(Added example of custom range with melee icon) |
No edit summary |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{1|}}}|melee|{{SmallIcon|Melee Range Icon.png}} Melee: | <includeonly>{{#ifeq:{{{1|}}}|melee|{{SmallIcon|Melee Range Icon.png}} Melee:|{{SmallIcon|Range Icon.png}} Range:}} {{#switch:{{{1|}}} | ||
| melee | touch = {{{m|1.5}}}{{ | | melee | touch = {{{m|1.5}}} m / {{{ft | {{m to ft | {{{m|1.5}}} }} }}} ft | ||
| reach = 2.5 | | reach = 2.5 m / 8 ft | ||
| ranged = 18 | | ranged = 18 m / 60 ft | ||
| short ranged = 15 | | short ranged = 15 m / 50 ft | ||
| self | Self = Self | | self | Self = Self | ||
| weapon = Normal | | weapon = Normal weapon range | ||
| jump = {{SAI|Jump}} range | | jump = {{SAI|Jump}} range | ||
| #default = {{{m}}}{{ | | #default = {{{m}}} m / {{{ft | {{m to ft | {{{m}}} }} }}} ft | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Usage: {{code|<nowiki>{{Range|self}}</nowiki>}} | Usage: {{code|<nowiki>{{Range|self}}</nowiki>}} | ||
Line 45: | Line 45: | ||
Result: {{Range|jump}} | Result: {{Range|jump}} | ||
[[Category:Weapon Property | [[Category:Weapon Property templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 15:22, 23 June 2024
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|melee|m=2|ft=7}}
Result: Melee: 2 m / 7 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:
range