Difference between revisions of "Template:QuestReaperXP"

From DDO Compendium
 
Line 5: Line 5:
|example1 = <nowiki>{{QuestReaperXP|30|Short}}</nowiki>
|example1 = <nowiki>{{QuestReaperXP|30|Short}}</nowiki>
|example1output = {{QuestReaperXP|30|Short}}
|example1output = {{QuestReaperXP|30|Short}}
|example2 = <nowiki>{{QuestReaperXP|30|Short}}</nowiki>
|example2output = {{QuestReaperXP|10|Long}}
|example3 = <nowiki>{{QuestReaperXP|20|Medium}}</nowiki>
|example3output = {{QuestReaperXP|20|Medium}}
|example4 = <nowiki>{{QuestReaperXP|32|Very Long}}</nowiki>
|example4output = {{QuestReaperXP|32|Very Long}}
|parameter1name = Quest Level
|parameter1name = Quest Level
|parameter1description = This is the level of the quest.
|parameter1description = This is the level of the quest.
Line 16: Line 22:
* Very Long
* Very Long
}}
}}
</noinclude>
{{#if: {{{3|}}}|N/A|{{#ifexpr: {{{1}}} >= 30|2*(}}50+{{#switch: {{lc:{{{2}}}}}
<onlyinclude>'''Reaper:''' {{#if: {{{3|}}}|N/A|{{#ifexpr: {{{1}}} >= 30|2*(}}50+{{#switch: {{lc:{{{2}}}}}
| short= {{#expr: 3*{{{1}}}*.8}}
| short= {{#expr: 3*{{{1}}}*.8}}
| medium= {{#expr: 3*{{{1}}}*1}}
| medium= {{#expr: 3*{{{1}}}*1}}
| long= {{#expr: 3*{{{1}}}*1.2}}
| long= {{#expr: 3*{{{1}}}*1.2}}
| very long = {{#expr: 3*{{{1}}}*1.4}}}}{{#ifexpr: {{{1}}} >= 30|)}} per skull}}</onlyinclude>
| very long = {{#expr: 3*{{{1}}}*1.4}}}}{{#ifexpr: {{{1}}} >= 30|)}} per skull}}
</noinclude>
<onlyinclude>'''Reaper:'''
{{#if: {{{3|}}}|N/A|
{{#ifexpr: {{{1}}} >= 30|{{#dplvar:set|multiplier|2}}|{{#dplvar:set|multiplier|1}}}}
{{#switch: {{lc:{{{2}}}}}
| short= {{#expr: {{#dplvar:multiplier}}*(50+(3*{{{1}}}*.8))}}
| medium= {{#expr: {{#dplvar:multiplier}}*(50+(3*{{{1}}}*1))}}
| long= {{#expr: {{#dplvar:multiplier}}*(50+(3*{{{1}}}*1.2))}}
| very long = {{#expr: {{#dplvar:multiplier}}*(50+(3*{{{1}}}*1.4))}}}} RXP per skull
{{#dplvar:set|multiplier|}}}}</onlyinclude>

Latest revision as of 16:09, 23 November 2022

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: 244 RXP per skull
{{QuestReaperXP|30|Short}}Reaper: 86 RXP per skull
{{QuestReaperXP|20|Medium}}Reaper: 110 RXP per skull
{{QuestReaperXP|32|Very Long}}Reaper: 368.8 RXP 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.


Expression error: Unrecognized punctuation character "{".50+Expression error: Unrecognized punctuation character "{". per skull

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

RXP per skull