Difference between revisions of "Template:EnhUsageCost"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 22: | Line 22: | ||
* treesingle - Use for enhancement tree when 1 rank | * treesingle - Use for enhancement tree when 1 rank | ||
* itemsingle - Use for enhancement entry when 1 rank | * itemsingle - Use for enhancement entry when 1 rank | ||
* treerankoverall - Use for enhancement tree when > | |||
}}</noinclude><onlyinclude>{{#switch: {{lc:{{{3}}}}} | }}</noinclude><onlyinclude>{{#switch: {{lc:{{{3}}}}} | ||
|treerank={{#if: {{{1|}}}{{{2|}}}|<ul>}}{{#if: {{{1|}}}|<li>'''Activation Cost:''' {{{1}}}</li>}}{{#if: {{{2|}}}|<li>'''Cooldown:''' {{{2}}}</li>}}{{#if: {{{1|}}}{{{2|}}}|</ul>}} | |treerank={{#if: {{{1|}}}{{{2|}}}|<ul>}}{{#if: {{{1|}}}|<li>'''Activation Cost:''' {{{1}}}</li>}}{{#if: {{{2|}}}|<li>'''Cooldown:''' {{{2}}}</li>}}{{#if: {{{1|}}}{{{2|}}}|</ul>}} | ||
|treerankoverall={{#if: {{{1|}}}|<br>'''Activation Cost:''' {{{1}}}}}{{#if: {{{2|}}}|<br>'''Cooldown:''' {{{2}}}}} | |||
|itemrank= | |itemrank= | ||
|treesingle={{#if: {{{1|}}}{{{2|}}}|<ul>}}{{#if: {{{1|}}}|<li>'''Activation Cost:''' {{{1}}}</li>}}{{#if: {{{2|}}}|<li>'''Cooldown:''' {{{2}}}</li>}}{{#if: {{{1|}}}{{{2|}}}|</ul>}} | |treesingle={{#if: {{{1|}}}{{{2|}}}|<ul>}}{{#if: {{{1|}}}|<li>'''Activation Cost:''' {{{1}}}</li>}}{{#if: {{{2|}}}|<li>'''Cooldown:''' {{{2}}}</li>}}{{#if: {{{1|}}}{{{2|}}}|</ul>}} | ||
|itemsingle={{#if: {{{1|}}}|<br>'''Activation Cost:''' {{{1}}}}}{{#if: {{{2|}}}|<br>'''Cooldown:''' {{{2}}}}} | |itemsingle={{#if: {{{1|}}}|<br>'''Activation Cost:''' {{{1}}}}}{{#if: {{{2|}}}|<br>'''Cooldown:''' {{{2}}}}} | ||
}}</onlyinclude> | }}</onlyinclude> |
Revision as of 19:37, 18 July 2018
EnhUsageCost[edit]
Template is used to render the cooldown and cost for an enhancement item
Example Usage | |
{{EnhUsageCost|2 Spell Points|20 seconds|treerank}} |
|
{{EnhUsageCost|2 Spell Points|20 seconds|treesingle}} |
|
{{EnhUsageCost|2 Spell Points|20 seconds|itemrank}} | |
{{EnhUsageCost|2 Spell Points|20 seconds|itemsingle}} | Activation Cost: 2 Spell Points Cooldown: 20 seconds |
Usage[edit]
{{EnhUsageCost|(activation cost)|(cooldown)|(style)}}
Parameter Documentation | |
activation cost | How much does it cost to activate |
cooldown | The cooldown |
style | What style to render it in Possible Values:
|
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.