Difference between revisions of "Template:EnhUsageCost"

From DDO Compendium
Line 11: Line 11:
|example4=<nowiki>{{EnhUsageCost|2 Spell Points|20 seconds|itemsingle}}</nowiki>
|example4=<nowiki>{{EnhUsageCost|2 Spell Points|20 seconds|itemsingle}}</nowiki>
|example4output={{EnhUsageCost|2 Spell Points|20 seconds|itemsingle}}
|example4output={{EnhUsageCost|2 Spell Points|20 seconds|itemsingle}}
|example5=<nowiki>{{EnhUsageCost|2 Spell Points|20 seconds|treesinglenobullet}}</nowiki>
|example5output={{EnhUsageCost|2 Spell Points|20 seconds|treesinglenobullet}}
|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:57, 19 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}}
  • Activation Cost: 2 Spell Points
  • Cooldown: 20 seconds
{{EnhUsageCost|2 Spell Points|20 seconds|treesingle}}
  • Activation Cost: 2 Spell Points
  • Cooldown: 20 seconds
{{EnhUsageCost|2 Spell Points|20 seconds|itemrank}}
  • Activation Cost: 2 Spell Points
  • Cooldown: 20 seconds
{{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 costHow much does it cost to activate
cooldownThe cooldown
styleWhat style to render it in
Possible Values:
  • treerank - Use for enhancement tree rank style
  • itemrank - Use for enhancement entry rank style
  • treesingle - Use for enhancement tree when 1 rank
  • treesinglenobullet - Use for enhancement tree when 1 rank, and don't want pullets
  • itemsingle - Use for enhancement entry when 1 rank
  • treerankoverall - Use for enhancement tree when > 1 rank, but overall cost

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.