Difference between revisions of "Template:QuestBonus"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{TemplateDocumentation | ||
|name = QuestBonus | |name = QuestBonus | ||
|description = This template displays the values that are possible in a quest for the bonus xp (i.e. ransack, conquest, etc). | |description = This template displays the values that are possible in a quest for the bonus xp (i.e. ransack, conquest, etc). | ||
|category = Quest and Area Templates | |||
|example1 = <nowiki>{{QuestBonus|Kill|6|8}}</nowiki> | |example1 = <nowiki>{{QuestBonus|Kill|6|8}}</nowiki> | ||
|example1output = {{QuestBonus|Kill|6|8}} | |example1output = {{QuestBonus|Kill|6|8}} | ||
|example2 = <nowiki>{{QuestBonus|trap|Random}}</nowiki> | |||
|example2output = {{QuestBonus|trap|Random}} | |||
|parameter1name = Bonus Type | |parameter1name = Bonus Type | ||
|parameter1description = This is which grouping of bonus xp this defines | |parameter1description = This is which grouping of bonus xp this defines | ||
Line 14: | Line 17: | ||
|parameter2name = First Amount | |parameter2name = First Amount | ||
|parameter2description = This is the amount for the first of three levels that are possible for the bonus. This is optional and if not specified, this level is not display. | |parameter2description = This is the amount for the first of three levels that are possible for the bonus. This is optional and if not specified, this level is not display. | ||
|parameter3name = Second Amount | |parameter3name = Second Amount | ||
|parameter3description = This is the amount for the second of three levels that are possible for the bonus. This is optional and if not specified, this level is not display. | |parameter3description = This is the amount for the second of three levels that are possible for the bonus. This is optional and if not specified, this level is not display. | ||
|parameter4name = Third Amount | |parameter4name = Third Amount | ||
|parameter4description = This is the amount for the third of three levels that are possible for the bonus. This is optional and if not specified, this level is not display. | |parameter4description = This is the amount for the third of three levels that are possible for the bonus. This is optional and if not specified, this level is not display. | ||
| | |parameter5name = Comment | ||
|parameter5description = Comment to include for this entry | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#switch: {{lc:{{{1}}}}} | <onlyinclude>{{#switch: {{lc:{{{1}}}}} | ||
| kill = {{#if: {{{2|}}}|* '''Aggression | | kill = {{#if: {{{2|}}}|{{#ifeq: {{lc:{{{2|}}}}}|random|* '''Monster Kills:''' Bonus varies based on random generation of mobs, and where you go in the quest|* '''Aggression Bonus:''' {{{2}}} or more monsters killed <span style="font-style:italic">(+10% Bonus)</span>}}}}{{#if: {{{3|}}}|* '''Onslaught Bonus:''' {{{3}}} or more monsters killed <span style="font-style:italic">(+15% Bonus)</span>}}{{#if: {{{4|}}}|* '''Conquest Bonus:''' {{{4}}} or more monsters killed <span style="font-style:italic">(+25% Bonus)</span>}} | ||
| breakable = {{#if: {{{2|}}}|* '''Mischief | | breakable = {{#if: {{{2|}}}|{{#ifeq: {{lc:{{{2|}}}}}|random|* '''Breakables:''' Bonus varies based on where you go in the quest|* '''Mischief Bonus:''' {{{2}}} or more breakables smashed <span style="font-style:italic">(+8% Bonus)</span>}}}}{{#if: {{{3|}}}|* '''Vandal Bonus:''' {{{3}}} or more breakables smashed <span style="font-style:italic">(+10% Bonus)</span>}}{{#if: {{{4|}}}|* '''Ransack Bonus:''' {{{4}}} or more breakables smashed <span style="font-style:italic">(+15% Bonus)</span>}} | ||
| trap = {{#if: {{{2|}}}|* '''Tamper | | trap = {{#if: {{{2|}}}|{{#ifeq: {{lc:{{{2|}}}}}|random|* '''Traps:''' Bonus varies based on random generation of traps, and where you go in the quest|* '''Tamper Bonus:''' {{{2}}} or more traps disarmed <span style="font-style:italic">(+10% Bonus)</span>}}}}{{#if: {{{3|}}}|* '''Neutralization Bonus:''' {{{3}}} or more traps disarmed <span style="font-style:italic">(+20% Bonus)</span>}}{{#if: {{{4|}}}|* '''Ingenious Debilitation Bonus:''' {{{4}}} or more traps disarmed <span style="font-style:italic">(+30% Bonus)</span>}} | ||
| fewkill = {{#if: {{{2|}}}|* '''Discreet | | fewkill = {{#if: {{{2|}}}|* '''Discreet Bonus:''' {{{2}}} or fewer monsters killed <span style="font-style:italic">(+5% Bonus)</span>}}{{#if: {{{3|}}}|* '''Devious Bonus:''' {{{3}}} or fewer monsters killed <span style="font-style:italic">(+7% Bonus)</span>}}{{#if: {{{4|}}}|* '''Insidious Cunning Bonus:''' {{{4}}} or fewer monsters killed <span style="font-style:italic">(+10% Bonus)</span>}} | ||
| door = {{#if: {{{2|}}}|* '''Observance | | door = {{#if: {{{2|}}}|* '''Observance Bonus:''' {{{2}}} or more secret doors discovered <span style="font-style:italic">(+8% Bonus)</span>}}{{#if: {{{3|}}}|* '''Perception Bonus:''' {{{3}}} or more secret doors discovered <span style="font-style:italic">(+10% Bonus)</span>}}{{#if: {{{4|}}}|* '''Vigilant Bonus:''' {{{4}}} or more secret doors discovered <span style="font-style:italic">(+15% Bonus)</span>}} | ||
|#default = USE ONLY Kill, Breakable, Trap, FewKill, Door}}</onlyinclude> | |#default = USE ONLY Kill, Breakable, Trap, FewKill, Door}}{{#if: {{{5|}}}|** ''{{{5|}}}''}}</onlyinclude> |
Latest revision as of 17:00, 29 August 2023
QuestBonus[edit]
This template displays the values that are possible in a quest for the bonus xp (i.e. ransack, conquest, etc).
Example Usage | |
{{QuestBonus|Kill|6|8}} | * Aggression Bonus: 6 or more monsters killed (+10% Bonus)
|
{{QuestBonus|trap|Random}} | * Traps: Bonus varies based on random generation of traps, and where you go in the quest |
Usage[edit]
{{QuestBonus|(Bonus Type)|(First Amount)|(Second Amount)|(Third Amount)|(Comment)}}
Parameter Documentation | |
Bonus Type | This is which grouping of bonus xp this defines Possible Values:
|
First Amount | This is the amount for the first of three levels that are possible for the bonus. This is optional and if not specified, this level is not display. |
Second Amount | This is the amount for the second of three levels that are possible for the bonus. This is optional and if not specified, this level is not display. |
Third Amount | This is the amount for the third of three levels that are possible for the bonus. This is optional and if not specified, this level is not display. |
Comment | Comment to include for this entry |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
USE ONLY Kill, Breakable, Trap, FewKill, Door