Difference between revisions of "Template:SpellRange"

From DDO Compendium
 
(11 intermediate revisions by the same user not shown)
Line 3: Line 3:
|description = This template is used to nicely format the range that this spell has.
|description = This template is used to nicely format the range that this spell has.
|category=Spell and Feat Templates
|category=Spell and Feat Templates
|example1 = <nowiki>{{SpellRange|Friend|Self}}</nowiki>
|example1 = <nowiki>{{SpellRange|Personal|Standard}}</nowiki>
|example1output = {{SpellRange|Friend|Self}}
|example1output = {{SpellRange|Personal|Standard}}
|parameter1name = range
|parameter1name = range
|parameter1description = Enter the keyword for the range, repeat up to 10 times.
|parameter1description = Enter the keyword for the range, repeat up to 10 times.
Line 14: Line 14:
* Double
* Double
* Standard AOE
* Standard AOE
* Small AOE
* Double Range Small AOE
* Short Conal AOE
* Very Short Conal AOE
* Conal AOE
* Conal AOE
* Spherical AOE
* Spherical AOE
* Large Standard AOE
* Very Large Standard AOE
* Thrown
* Thrown Single
* Melee
}}
}}
</noinclude>
</noinclude>
<onlyinclude>[[Spells#Range|{{{1}}}]]{{#if: {{{2|}}}|, [[Spells#Range|{{{2}}}]]}}{{#if: {{{3|}}}|, [[Spells#Range|{{{3}}}]]}}{{#if: {{{4|}}}|, [[Spells#Range|{{{4}}}]]}}{{#if: {{{5|}}}|, [[Spells#Range|{{{5}}}]]}}{{#if: {{{6|}}}|, [[Spells#Range|{{{6}}}]]}}{{#if: {{{7|}}}|, [[Spells#Range|{{{7}}}]]}}{{#if: {{{8|}}}|, [[Spells#Range|{{{8}}}]]}}{{#if: {{{9|}}}|, [[Spells#Range|{{{9}}}]]}}{{#if: {{{10|}}}|, [[Spells#Range|{{{10}}}]]}}</onlyinclude>
<onlyinclude>{{SpellRangeTooltip|{{{1}}}}}{{#if: {{{2|}}}|, {{SpellRangeTooltip|{{{2}}}}}}}{{#if: {{{3|}}}|, {{SpellRangeTooltip|{{{3}}}}}}}{{#if: {{{4|}}}|, {{SpellRangeTooltip|{{{4}}}}}}}{{#if: {{{5|}}}|, {{SpellRangeTooltip|{{{5}}}}}}}{{#if: {{{6|}}}|, {{SpellRangeTooltip|{{{6}}}}}}}{{#if: {{{7|}}}|, {{SpellRangeTooltip|{{{7}}}}}}}{{#if: {{{8|}}}|, {{SpellRangeTooltip|{{{8}}}}}}}{{#if: {{{9|}}}|, {{SpellRangeTooltip|{{{9}}}}}}}{{#if: {{{10|}}}|, {{SpellRangeTooltip|{{{10}}}}}}}</onlyinclude>

Latest revision as of 22:02, 20 January 2020

SpellRange[edit]

This template is used to nicely format the range that this spell has.

Example Usage
{{SpellRange|Personal|Standard}}Personal, Standard

Usage[edit]

{{SpellRange|(range)}}

Parameter Documentation
rangeEnter the keyword for the range, repeat up to 10 times.
Possible Values:
  • Personal
  • Touch
  • Short
  • Standard
  • Double
  • Standard AOE
  • Small AOE
  • Double Range Small AOE
  • Short Conal AOE
  • Very Short Conal AOE
  • Conal AOE
  • Spherical AOE
  • Large Standard AOE
  • Very Large Standard AOE
  • Thrown
  • Thrown Single
  • Melee

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.