Difference between revisions of "Template:SpellCooldown"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
|example3 = <nowiki>{{SpellCooldown|Second|18|R1|12|R2|6|R3}}</nowiki> | |example3 = <nowiki>{{SpellCooldown|Second|18|R1|12|R2|6|R3}}</nowiki> | ||
|example3output = {{SpellCooldown|Second|18|R1|12|R2|6|R3}} | |example3output = {{SpellCooldown|Second|18|R1|12|R2|6|R3}} | ||
|example4 = <nowiki>{{SpellCooldown|Second|2|{{SpellCooldownClassGroup|2|Brd|Wiz|Wlk}}|1.5|Sor}}</nowiki> | |||
|example4output = {{SpellCooldown|Second|2|{{SpellCooldownClassGroup|2|Brd|Wiz|Wlk}}|1.5|Sor}} | |||
|parameter1name = Unit | |parameter1name = Unit | ||
|parameter1description = The Unit of time these are using | |parameter1description = The Unit of time these are using | ||
Line 20: | Line 22: | ||
|parameter3values= | |parameter3values= | ||
* Art | * Art | ||
* Brd | * Brd | ||
* Clr | * Clr | ||
* Drd | * Drd | ||
* Fvs | * Fvs | ||
* | * dd | ||
* Pal | * Pal | ||
* Rgr | * Rgr | ||
* Sor | * Sor | ||
* Wlk | * Wlk | ||
Line 36: | Line 35: | ||
* R2 - SLA Rank 2 | * R2 - SLA Rank 2 | ||
* R3 - SLA Rank 3 | * R3 - SLA Rank 3 | ||
* [[Template:SpellCooldownClassGroup]] to group multiple classes with the same cooldown | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>'''Cooldown (<span style="Color: #00eeef">{{{1}}}s</span>):''' {{{ | <onlyinclude>'''Cooldown (<span style="Color: #00eeef">{{{1}}}s</span>):''' {{SpellCooldownClass|{{{2|}}}|{{{3|}}}}}{{#if: {{{4|}}}|{{SpellCooldownClass|{{{4|}}}|{{{5|}}}|True}}}}{{#if: {{{6|}}}|{{SpellCooldownClass|{{{6|}}}|{{{7|}}}|True}}}}{{#if: {{{8|}}}|{{SpellCooldownClass|{{{8|}}}|{{{9|}}}|True}}}}{{#if: {{{10|}}}|{{SpellCooldownClass|{{{10|}}}|{{{11|}}}|True}}}}{{#if: {{{12|}}}|{{SpellCooldownClass|{{{12|}}}|{{{13|}}}|True}}}}{{#if: {{{14|}}}|{{SpellCooldownClass|{{{14|}}}|{{{15|}}}|True}}}}{{#if: {{{16|}}}|{{SpellCooldownClass|{{{16|}}}|{{{17|}}}|True}}}}{{#if: {{{18|}}}|{{SpellCooldownClass|{{{18|}}}|{{{17|}}}|True}}}}{{#if: {{{20|}}}|{{SpellCooldownClass|{{{20|}}}|{{{12|}}}|True}}}}</onlyinclude> |
Latest revision as of 02:15, 13 February 2025
SpellCooldown[edit]
This template is used to nicely format the cooldown that this spell has.
Example Usage | |
{{SpellCooldown|Second|10}} | Cooldown (Seconds): 10 |
{{SpellCooldown|Second|4.5|Wiz|4|Sor}} | Cooldown (Seconds): 4.5 (Wizard), 4 (Sorcerer) |
{{SpellCooldown|Second|18|R1|12|R2|6|R3}} | Cooldown (Seconds): 18 (Rank 1), 12 (Rank 2), 6 (Rank 3) |
{{SpellCooldown|Second|2|{{SpellCooldownClassGroup|2|Brd|Wiz|Wlk}}|1.5|Sor}} | Cooldown (Seconds): 2 (Bard, Wizard, Warlock), 1.5 (Sorcerer) |
Usage[edit]
{{SpellCooldown|(Unit)|(Amount)|(Class)}}
Parameter Documentation | |
Unit | The Unit of time these are using Possible Values:
|
Amount | The number of units of time. This and the next can be repeated 10 times. |
Class | The class this time is specific to Possible Values:
|
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Cooldown ({{{1}}}s):