Difference between revisions of "Template:QuestBonus"

From DDO Compendium
Line 1: Line 1:
<noinclude>This template is used for Quest Bonus.[[Category:Template]]
<noinclude>[[Category:Template]]{{TemplateDocumentation
 
|name = QuestBonus
Used in this manner:
|description = This template displays the values that are possible in a quest for the bonus xp (i.e. ransack, conquest, etc).
<br><nowiki>{{QuestBonus|(type)|(value1)|(value2)|(value3)}}</nowiki><br>
|example1 = <nowiki>{{QuestBonus|Kill|6|8}}</nowiki>
<br>Such that <nowiki>{{QuestBonus|Kill|6|8}}</nowiki>
|example1output = {{QuestBonus|Kill|6|8}}
<br>{{QuestBonus|Kill|6|8}}
|parameter1name = Bonus Type
<br>
|parameter1description = This is which grouping of bonus xp this defines
<br>
|parameter1values =
Options for Type - skip any value that isn't possible:
* Kill (Aggression, Onslaught, Conquest)
* Kill (Aggression, Onslaught, Conquest)
* Breakable (Mischief, Vandal, Ransack)
* Breakable (Mischief, Vandal, Ransack)
Line 13: Line 12:
* FewKill (Discreet, Devious, Insidious)
* FewKill (Discreet, Devious, Insidious)
* Door (Observance, Perception, Vigilant)
* Door (Observance, Perception, Vigilant)
|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.
|parameter2values =
|parameter2name = Second Amount
|parameter2description = 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.
|parameter2values =
|parameter2name = Third Amount
|parameter2description = 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.
|parameter2values =
}}
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
| kill = {{#if: {{{2|}}}|* '''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>}}
| kill = {{#if: {{{2|}}}|* '''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>}}

Revision as of 21:29, 5 May 2018

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)
  • Onslaught bonus: 8 or more monsters killed (+15% Bonus)

Usage[edit]

{{QuestBonus|(Bonus Type)|(Third Amount)}}

Parameter Documentation
Bonus TypeThis is which grouping of bonus xp this defines
Possible Values:
  • Kill (Aggression, Onslaught, Conquest)
  • Breakable (Mischief, Vandal, Ransack)
  • Trap (Tamper, Neutralization, Ingenious Debilitation)
  • FewKill (Discreet, Devious, Insidious)
  • Door (Observance, Perception, Vigilant)
Third AmountThis 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.

Template

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