Difference between revisions of "Template:EnhItemTreeEffect"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{TemplateDocumentation | {{TemplateDocumentation | ||
|name= | |name=EnhItemTreeEffect | ||
|description= Template used to add an enhancement effect for a specific tree. | |description= Template used to add an enhancement effect for a specific tree. | ||
|category=Enhancement Templates | |||
|example1=<nowiki>{{EnhItemTreeEffect|Frenzied Berserker|* When you activate Barbarian Rage, you gain +35% Action Boost bonus to movement speed for 20 seconds}}</nowiki> | |example1=<nowiki>{{EnhItemTreeEffect|Frenzied Berserker|* When you activate Barbarian Rage, you gain +35% Action Boost bonus to movement speed for 20 seconds}}</nowiki> | ||
|example1output={{EnhItemTreeEffect|Frenzied Berserker|* When you activate Barbarian Rage, you gain +35% Action Boost bonus to movement speed for 20 seconds}} | |example1output={{EnhItemTreeEffect|Frenzied Berserker|* When you activate Barbarian Rage, you gain +35% Action Boost bonus to movement speed for 20 seconds}} | ||
|example2=<nowiki>{{#dplvar:set|location|core|tree|Frenzied Berserker}}{{EnhItemTreeEffect|Frenzied Berserker|* When you activate Barbarian Rage, you gain +35% Action Boost bonus to movement speed for 20 seconds}}</nowiki> | |example2=<nowiki>{{#dplvar:set|location|core|tree|Frenzied Berserker}}{{EnhItemTreeEffect|Frenzied Berserker|* When you activate Barbarian Rage, you gain +35% Action Boost bonus to movement speed for 20 seconds}}</nowiki> | ||
|example2output={{#dplvar:set|location|core|tree|Frenzied Berserker}}{{EnhItemTreeEffect|Frenzied Berserker|* When you activate Barbarian Rage, you gain +35% Action Boost bonus to movement speed for 20 seconds}} | |example2output={{#dplvar:set|location|core|tree|Frenzied Berserker}}{{EnhItemTreeEffect|Frenzied Berserker|* When you activate Barbarian Rage, you gain +35% Action Boost bonus to movement speed for 20 seconds}} | ||
|parameter1name = tree | |parameter1name = tree | ||
|parameter1description = The tree for these extra effects. | |parameter1description = The tree for these extra effects. | ||
|parameter2name = effect | |parameter2name = effect | ||
|parameter2description = The text of the effect | |parameter2description = The text of the effect | ||
}}</noinclude><onlyinclude>{{#if: {{#dplvar:tree}}||{{ | |parameter3name = alternate effect | ||
|parameter3description = The text of the alternate effect, if it is not the tree | |||
}}</noinclude><onlyinclude>{{#if: {{#dplvar:tree}}||{{{2}}} ({{{1}}}){{#if: {{{3|}}}|{{{3}}} (All others)}}}}{{#ifeq: {{#dplvar:tree}}|{{{1|}}}|{{{2}}}|{{{3|}}}}}</onlyinclude> |
Latest revision as of 18:12, 4 September 2018
EnhItemTreeEffect[edit]
Template used to add an enhancement effect for a specific tree.
Example Usage | |
{{EnhItemTreeEffect|Frenzied Berserker|* When you activate Barbarian Rage, you gain +35% Action Boost bonus to movement speed for 20 seconds}} | * When you activate Barbarian Rage, you gain +35% Action Boost bonus to movement speed for 20 seconds (Frenzied Berserker) |
{{#dplvar:set|location|core|tree|Frenzied Berserker}}{{EnhItemTreeEffect|Frenzied Berserker|* When you activate Barbarian Rage, you gain +35% Action Boost bonus to movement speed for 20 seconds}} | * When you activate Barbarian Rage, you gain +35% Action Boost bonus to movement speed for 20 seconds |
Usage[edit]
{{EnhItemTreeEffect|(tree)|(effect)|(alternate effect)}}
Parameter Documentation | |
tree | The tree for these extra effects. |
effect | The text of the effect |
alternate effect | The text of the alternate effect, if it is not the tree |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.