Difference between revisions of "Template:QuestReaperXP"

From DDO Compendium
Line 17: Line 17:
}}
}}
</noinclude>
</noinclude>
<onlyinclude>'''Reaper:''' {{#if: {{{3|}}}|N/A|{{#ifexpr: {{{1}}} >= 30|100|50}}+{{#switch: {{lc:{{{2}}}}}
<onlyinclude>'''Reaper:''' {{#if: {{{3|}}}|N/A|{{#ifexpr: {{{1}}} >= 30|2*(}}50+{{#switch: {{lc:{{{2}}}}}
| short= {{#expr: 3*{{{1}}}*.8}} per skull
| short= {{#expr: 3*{{{1}}}*.8}} per skull
| medium= {{#expr: 3*{{{1}}}*1}} per skull
| medium= {{#expr: 3*{{{1}}}*1}} per skull
| long= {{#expr: 3*{{{1}}}*1.2}} per skull
| long= {{#expr: 3*{{{1}}}*1.2}} per skull
| very long = {{#expr: 3*{{{1}}}*1.4}} per skull}}}}</onlyinclude>
| very long = {{#expr: 3*{{{1}}}*1.4}} {{#ifexpr: {{{1}}} >= 30|)}} per skull}}}}</onlyinclude>

Revision as of 12:33, 3 December 2019

QuestReaperXP[edit]

This template is used to format and calculate the base reaper xp given for a quest. This is automatically added by the Quest template.

Example Usage
{{QuestReaperXP|30|Short}}Reaper: 2*(50+72 per skull

Usage[edit]

{{QuestReaperXP|(Quest Level)|(Quest Length)}}

Parameter Documentation
Quest LevelThis is the level of the quest.
Quest LengthThis is the length of the quest.
Possible Values:
  • Short
  • Medium
  • Long
  • Very Long

Template

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


Reaper: Expression error: Unrecognized punctuation character "{".50+