Difference between revisions of "Template:EnhUsageCost"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 3: | Line 3: | ||
|name=EnhUsageCost | |name=EnhUsageCost | ||
|description= Template is used to render the cooldown and cost for an enhancement item | |description= Template is used to render the cooldown and cost for an enhancement item | ||
|example1=<nowiki>{{EnhUsageCost|2 Spell Points|20 seconds}}</nowiki> | |example1=<nowiki>{{EnhUsageCost|2 Spell Points|20 seconds|treerank}}</nowiki> | ||
|example1output={{EnhUsageCost|2 Spell Points|20 seconds}} | |example1output={{EnhUsageCost|2 Spell Points|20 seconds|treerank}} | ||
|example2=<nowiki>{{EnhUsageCost|2 Spell Points|20 seconds|treesingle}}</nowiki> | |||
|example2output={{EnhUsageCost|2 Spell Points|20 seconds|treesingle}} | |||
|example3=<nowiki>{{EnhUsageCost|2 Spell Points|20 seconds|itemrank}}</nowiki> | |||
|example3output={{EnhUsageCost|2 Spell Points|20 seconds|itemrank}} | |||
|example4=<nowiki>{{EnhUsageCost|2 Spell Points|20 seconds|itemsingle}}</nowiki> | |||
|example4output={{EnhUsageCost|2 Spell Points|20 seconds|itemsingle}} | |||
|parameter1name = activation cost | |parameter1name = activation cost | ||
|parameter1description = How much does it cost to activate | |parameter1description = How much does it cost to activate |
Revision as of 19:01, 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}} | {{#switch: treerank
|treerank=
|itemrank= |treesingle=
|
{{EnhUsageCost|2 Spell Points|20 seconds|treesingle}} | {{#switch: treesingle
|treerank=
|itemrank= |treesingle=
|
{{EnhUsageCost|2 Spell Points|20 seconds|itemrank}} | {{#switch: itemrank
|treerank=
|itemrank= |treesingle=
|
{{EnhUsageCost|2 Spell Points|20 seconds|itemsingle}} | {{#switch: itemsingle
|treerank=
|itemrank= |treesingle=
|
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.
{{#switch: {{{3}}}
|treerank= |itemrank= |treesingle= |itemsingle=