Difference between revisions of "Template:SpellCooldown"
From DDO Compendium
MNDeveloper (talk | contribs) (Created page with "<noinclude>{{TemplateDocumentation |name = SpellCooldown |description = This template is used to nicely format the cooldown that this spell has. |category=Spell and Feat Templ...") |
MNDeveloper (talk | contribs) |
||
Line 7: | Line 7: | ||
|example2 = <nowiki>{{SpellCooldown|Second|4.5|Wiz|4|Sor}}</nowiki> | |example2 = <nowiki>{{SpellCooldown|Second|4.5|Wiz|4|Sor}}</nowiki> | ||
|example2output = {{SpellCooldown|Second|4.5|Wiz|4|Sor}} | |example2output = {{SpellCooldown|Second|4.5|Wiz|4|Sor}} | ||
|example3 = <nowiki>{{SpellCooldown|Second|18|R1|12|R2|6|R3}}</nowiki> | |||
|example3output = {{SpellCooldown|Second|18|R1|12|R2|6|R3}} | |||
|parameter1name = Unit | |parameter1name = Unit | ||
|parameter1description = The Unit of time these are using | |parameter1description = The Unit of time these are using | ||
Line 31: | Line 33: | ||
* Wlk | * Wlk | ||
* Wiz | * Wiz | ||
* R1 - SLA Rank 1 | |||
* R2 - SLA Rank 2 | |||
* R3 - SLA Rank 3 | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{{2}}} {{PLURAL:{{{2}}}|{{{1}}}|{{{1}}}s}}{{#if: {{{3|}}}| ( | <onlyinclude>{{{2}}} {{PLURAL:{{{2}}}|{{{1}}}|{{{1}}}s}}{{#if: {{{3|}}}| ({{SpellClassNameFromAbbr|{{{3}}}|True}})}}{{#if: {{{4|}}}|, {{{4}}} {{PLURAL:{{{4}}}|{{{1}}}|{{{1}}}s}} ({{SpellClassNameFromAbbr|{{{5}}}|True}})}}{{#if: {{{6|}}}|, {{{6}}} {{PLURAL:{{{6}}}|{{{1}}}|{{{1}}}s}} ({{SpellClassNameFromAbbr|{{{7}}}|True}})}}{{#if: {{{8|}}}|, {{{8}}} {{PLURAL:{{{8}}}|{{{1}}}|{{{1}}}s}} ({{SpellClassNameFromAbbr|{{{9}}}|True}})}}{{#if: {{{10|}}}|, {{{10}}} {{PLURAL:{{{10}}}|{{{1}}}|{{{1}}}s}} ({{SpellClassNameFromAbbr|{{{11}}}|True}})}}{{#if: {{{12|}}}|, {{{12}}} {{PLURAL:{{{12}}}|{{{1}}}|{{{1}}}s}} ({{SpellClassNameFromAbbr|{{{13}}}|True}})}}{{#if: {{{14|}}}|, {{{14}}} {{PLURAL:{{{14}}}|{{{1}}}|{{{1}}}s}} ({{SpellClassNameFromAbbr|{{{15}}}|True}})}}{{#if: {{{16|}}}|, {{{16}}} {{PLURAL:{{{16}}}|{{{1}}}|{{{1}}}s}} ({{SpellClassNameFromAbbr|{{{17}}}|True}})}}{{#if: {{{18|}}}|, {{{18}}} {{PLURAL:{{{18}}}|{{{1}}}|{{{1}}}s}} ({{SpellClassNameFromAbbr|{{{19}}}|True}})}}{{#if: {{{20|}}}|, {{{20}}} {{PLURAL:{{{20}}}|{{{1}}}|{{{1}}}s}} ({{SpellClassNameFromAbbr|{{{21}}}|True}})}}</onlyinclude> | ||
</onlyinclude> |
Revision as of 19:15, 27 June 2019
SpellCooldown[edit]
This template is used to nicely format the cooldown that this spell has.
Example Usage | |
{{SpellCooldown|Second|10}} | 10 Seconds |
{{SpellCooldown|Second|4.5|Wiz|4|Sor}} | 4.5 Seconds (Wizard), 4 Seconds (Sorcerer) |
{{SpellCooldown|Second|18|R1|12|R2|6|R3}} | 18 Seconds (Rank 1), 12 Seconds (Rank 2), 6 Seconds (Rank 3) |
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.
{{{2}}} {{{1}}}s