User:Mtew/templates/Progress/Prophecies/Ascalon (pre-Searing)

=Code=

{{#ifeq:{{#var:prod}}|prophecies|{{#vardefine:p1|{{lookup|short prof name|{{my|primary}}}}}}{{#switch:{{#var:p1}}|e|me|mo|n|r|w={{#vardefine:p1n|{{ucfirst:{{lookup|full prof name|{{#var:p1}}}}}}}}{{#vardefine:p2|{{my|secondary}}}}{{#if:{{#var:p2}}||Please set the secondary profession of this character on the /my defs page. Fixup: Setting the secondary profession to 'none' {{#vardefine:p2|x}}}}{{#vardefine:p2|{{lookup|short prof name|{{#var:p2}}}}}}{{#switch:{{#var:p2}}|e|me|mo|n|r|w|x={{#vardefine:lev|{{{Level|{{my|level}}}}}}}{{#if:{{#var:lev}}||Please pass parameter level= or set a default leval value on the /my defs oage. Fixup: Setting the current character's level to 0. {{#vardefine:lev|0}}}}{{#vardefine:gold|0}}{{#vardefine:total|0}}&#x20;

in Barradin Estate
Total experience from completed quests: {{#ifeq:{{my|Ascalon Academy}}|finished||

in Lakeside County

 * The Prize Winning Hogs

in Regent Valley

 * The Bear Hunters

in Barradin Estate
Potential experience from avaiable quests:

Blocked by level
}

Quests with multiple blocks
{{#ifeq:{{#var:p2}}|x|&#x20;

Blocked by no Secondary profession
{{#ifeq:{{#var:p1}}|e||&#x20;

Elementalist
}}{{#ifeq:{{#var:p1}}|me||&#x20;

Mesmer
&#x20;}}{{#ifeq:{{#var:p1}}|mo||&#x20;

Monk
&#x20;}}{{#ifeq:{{#var:p1}}|n||&#x20;

Necromancer
}}{{#ifeq:{{#var:p1}}|r||&#x20;

Ranger
}}{{#ifeq:{{#var:p1}}|w||&#x20;

Warrior
}}}} Potential experience from blocked quests:

Potential experience from all quests: }}

Missed quests
Missed experience from unfinishable quests:

Maximum possible experience from all quests:


 * default=Error: MY secondary is not a valid secondary profession in Ascalon (pre-Searing). }}| }}|#default= }}

Check requirements for
TBS

Document requirements for
TBS