Difference between revisions of "Template:SpellCooldown"

From DDO Compendium
Line 38: Line 38:
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{{2}}} {{PLURAL:{{{2}}}|{{{1}}}|{{{1}}}s}}{{#if: {{{3|}}}|&nbsp;({{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>'''Cooldown (<span style="Color: #00eeef">{{{1}}}s</span>):'''&nbsp; {{{2}}} {{#if: {{{3|}}}|&nbsp;({{SpellClassNameFromAbbr|{{{3}}}|True}})}}
{{#if: {{{4|}}}|, {{{4}}} ({{SpellClassNameFromAbbr|{{{5}}}|True}})}}
{{#if: {{{6|}}}|, {{{6}}} ({{SpellClassNameFromAbbr|{{{7}}}|True}})}}
{{#if: {{{8|}}}|, {{{8}}} ({{SpellClassNameFromAbbr|{{{9}}}|True}})}}
{{#if: {{{10|}}}|, {{{10}}} ({{SpellClassNameFromAbbr|{{{11}}}|True}})}}
{{#if: {{{12|}}}|, {{{12}}} ({{SpellClassNameFromAbbr|{{{13}}}|True}})}}
{{#if: {{{14|}}}|, {{{14}}} ({{SpellClassNameFromAbbr|{{{15}}}|True}})}}
{{#if: {{{16|}}}|, {{{16}}} ({{SpellClassNameFromAbbr|{{{17}}}|True}})}}
{{#if: {{{18|}}}|, {{{18}}} ({{SpellClassNameFromAbbr|{{{19}}}|True}})}}
{{#if: {{{20|}}}|, {{{20}}} ({{SpellClassNameFromAbbr|{{{21}}}|True}})}}</onlyinclude>

Revision as of 19:22, 27 June 2019

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)

Usage[edit]

{{SpellCooldown|(Unit)|(Amount)|(Class)}}

Parameter Documentation
UnitThe Unit of time these are using
Possible Values:
  • Second
  • Minute
AmountThe number of units of time. This and the next can be repeated 10 times.
ClassThe class this time is specific to
Possible Values:
  • Art
  • Bbn
  • Brd
  • Clr
  • Drd
  • Fvs
  • Ftr
  • Mnk
  • Pal
  • Rgr
  • Rog
  • Sor
  • Wlk
  • Wiz
  • R1 - SLA Rank 1
  • R2 - SLA Rank 2
  • R3 - SLA Rank 3

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):  {{{2}}}