Template:Range: Difference between revisions
Jump to navigation
Jump to search
(Unit symbols should be separated for better readability, and inline icons should have a consistent size.) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{SmallIcon|Range Icon.png}} Range: {{#switch:{{{1|}}} | <includeonly>{{SmallIcon|Range Icon.png}} Range: {{#switch:{{{1|}}} | ||
| melee = 1.5 | | melee = 1.5{{nbts}}m / 5{{nbts}}ft <!-- #8239 is "non-breaking thin space" which is ideal for style and readability --> | ||
| reach = 2.5 | | reach = 2.5{{nbts}}m / 8{{nbts}}ft | ||
| {{{m}}} | | ranged = 18{{nbts}}m / 60{{nbts}}ft | ||
| short ranged = 15{{nbts}}m / 50{{nbts}}ft | |||
| #default = {{{m}}}{{nbts}}m / {{{ft}}}{{nbts}}ft | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Usage: {{code|<nowiki>{{Range|melee}}</nowiki>}} | Usage: {{code|<nowiki>{{Range|melee}}</nowiki>}} | ||
Line 12: | Line 14: | ||
Result: {{Range|reach}} | Result: {{Range|reach}} | ||
Usage: {{code|<nowiki>{{Range| | Usage: {{code|<nowiki>{{Range|ranged}}</nowiki>}} | ||
Result: {{Range|m= | Result: {{Range|ranged}} | ||
Usage: {{code|<nowiki>{{Range|short ranged}}</nowiki>}} | |||
Result: {{Range|short ranged}} | |||
Usage: {{code|<nowiki>{{Range|m=X|ft=Y}}</nowiki>}} | |||
Result: {{Range|m=X|ft=Y}} | |||
[[Category:Weapon Property Templates]] | [[Category:Weapon Property Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 02:23, 11 February 2023
Usage: {{Range|melee}}
Result: Range: 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