Difference between revisions of "Template:Collectable dpl"

Line 1: Line 1:
[[{{{Name}}}]]
+
<includeonly>[[{{{Name}}}]]
 
{{!}}{{#vardefine:shape|{{#switch:{{{Class}}}|Carpenter|CRP|Blacksmith|BSM|Armorer|ARM|Goldsmith|GSM|Leatherworker|LTW|Weaver|WVR|Alchemist|ALC|Culinarian|CUL|Armorer, Blacksmith|Blacksmith, Armorer|Goldsmith, Armorer, Blacksmith|Goldsmith, Blacksmith, Armorer|Blacksmith, Armorer, Goldsmith|Blacksmith, Goldsmith, Armorer|Armorer, Goldsmith, Blacksmith|Armorer, Blacksmith, Goldsmith=Crafters'|Botanist|BTN|Miner|MIN|Fisher|FSH=Gatherers'}}}}{{#switch:{{{Scrip}}}|Blue={{#vardefine:scrip|[[File:Blue {{#var:shape}} Scrip Icon.png|40px|link=Blue {{#var:shape}} Scrip]]}}|Red={{#vardefine:scrip|[[File:Red {{#var:shape}} Scrip Icon.png|40px|link=Red {{#var:shape}} Scrip]]}}|#default=[[File:Blue {{#var:shape}} Scrip Icon.png|40px|link=Blue {{#var:shape}} Scrip]]}}{{#vardefine:basecollectmax|{{#expr:{{{Bonus1}}}-1}}}}{{#vardefine:bonuscollectmax|{{#expr:{{{Bonus2}}}-1}}}}
 
{{!}}{{#vardefine:shape|{{#switch:{{{Class}}}|Carpenter|CRP|Blacksmith|BSM|Armorer|ARM|Goldsmith|GSM|Leatherworker|LTW|Weaver|WVR|Alchemist|ALC|Culinarian|CUL|Armorer, Blacksmith|Blacksmith, Armorer|Goldsmith, Armorer, Blacksmith|Goldsmith, Blacksmith, Armorer|Blacksmith, Armorer, Goldsmith|Blacksmith, Goldsmith, Armorer|Armorer, Goldsmith, Blacksmith|Armorer, Blacksmith, Goldsmith=Crafters'|Botanist|BTN|Miner|MIN|Fisher|FSH=Gatherers'}}}}{{#switch:{{{Scrip}}}|Blue={{#vardefine:scrip|[[File:Blue {{#var:shape}} Scrip Icon.png|40px|link=Blue {{#var:shape}} Scrip]]}}|Red={{#vardefine:scrip|[[File:Red {{#var:shape}} Scrip Icon.png|40px|link=Red {{#var:shape}} Scrip]]}}|#default=[[File:Blue {{#var:shape}} Scrip Icon.png|40px|link=Blue {{#var:shape}} Scrip]]}}{{#vardefine:basecollectmax|{{#expr:{{{Bonus1}}}-1}}}}{{#vardefine:bonuscollectmax|{{#expr:{{{Bonus2}}}-1}}}}
 
{{{!}} class="itembox" style="color:white; width:95%; cellpadding=0; cellspacing=1;" border=0 background-color:#D7D8DB;
 
{{{!}} class="itembox" style="color:white; width:95%; cellpadding=0; cellspacing=1;" border=0 background-color:#D7D8DB;
Line 21: Line 21:
 
{{!}}{{#if:{{{Base EXP|}}}|{{#var:bonus2exp}}|{{{Bonus2 EXP|0}}}}}
 
{{!}}{{#if:{{{Base EXP|}}}|{{#var:bonus2exp}}|{{{Bonus2 EXP|0}}}}}
 
{{!}}}
 
{{!}}}
 +
</includeonly><noinclude>Template for calculating the amount of Scrips received, and EXP rewarded.[[Category:Template]]</noinclude>

Revision as of 17:13, 11 June 2016

Template for calculating the amount of Scrips received, and EXP rewarded.