Difference between revisions of "Template:SpellDuration"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 26: | Line 26: | ||
|parameter5description = This is the minimum duration for when the type is level, don't specify if there is no minumum | |parameter5description = This is the minimum duration for when the type is level, don't specify if there is no minumum | ||
|parameter6name = Base duration | |parameter6name = Base duration | ||
|parameter6description = This is | |parameter6description = This is the base, if duration for when the type is level, the increase is on top of this value. | ||
|parameter7name = max level name | |||
|parameter7description = This is maximum value for the level name. | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
Line 34: | Line 36: | ||
|inst|instantaneous={{#bootstrap_tooltip: Instantaneous|text= The spell has an instant effect, but it does not stick around.|placement=bottom}} | |inst|instantaneous={{#bootstrap_tooltip: Instantaneous|text= The spell has an instant effect, but it does not stick around.|placement=bottom}} | ||
|perm|permanent={{#bootstrap_tooltip: Permanent|text= The spell does not end on its own, the receiver of the spell must do something for it to end.|placement=bottom}} | |perm|permanent={{#bootstrap_tooltip: Permanent|text= The spell does not end on its own, the receiver of the spell must do something for it to end.|placement=bottom}} | ||
|level={{#bootstrap_tooltip:{{#if: {{{6|}}}|{{{6}}} {{PLURAL:{{{6}}}|{{{2}}}|{{{2}}}s}} +}} {{{3}}} {{PLURAL:{{{3}}}|{{{2}}}|{{{2}}}s}} per {{#if: {{{4|}}}|{{{4}}}|Caster}} Level {{#if: {{{5|}}}|(Minimum {{{5}}} {{PLURAL:{{{5}}}|{{{2}}}|{{{2}}}s}})}}|text= The duration of the spell gets longer the higher the caster level|placement=bottom}}}}</onlyinclude> | |level={{#bootstrap_tooltip:{{#if: {{{6|}}}|{{{6}}} {{PLURAL:{{{6}}}|{{{2}}}|{{{2}}}s}} +}} {{{3}}} {{PLURAL:{{{3}}}|{{{2}}}|{{{2}}}s}} per {{#if: {{{4|}}}|{{{4}}}|Caster}} Level {{#if: {{{6|}}}|(max {{{6}}}}} {{#if: {{{5|}}}|(Minimum {{{5}}} {{PLURAL:{{{5}}}|{{{2}}}|{{{2}}}s}})}}|text= The duration of the spell gets longer the higher the caster level|placement=bottom}}}}</onlyinclude> |
Revision as of 23:26, 19 July 2019
Template:SpellDuration[edit]
This template is used to nicely format both the duration that a spell has.
Example Usage | |
{{SpellDuration|Fixed|Second|10}} | 10 Seconds |
{{SpellDuration|Inst}} | Instantaneous |
{{SpellDuration|Level|Second|10|Druid|180|60}} | 60 Seconds + 10 Seconds per Druid Level (max 60 (Minimum 180 Seconds) |
Usage[edit]
{{Template:SpellDuration|(Type)|(Unit)|(Amount)|(Level Name)|(Minimum duration)|(Base duration)|(max level name)}}
Parameter Documentation | |
Type | The type of duration Possible Values:
|
Unit | The Unit of time these are using |
Amount | The number of units |
Level Name | What causes the duration to increase when the type is level, default is "caster". |
Minimum duration | This is the minimum duration for when the type is level, don't specify if there is no minumum |
Base duration | This is the base, if duration for when the type is level, the increase is on top of this value. |
max level name | This is maximum value for the level name. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.