Difference between revisions of "Template:Collectable dpl"

m (Bot: Replacing category Template with Templates)
(Yellow scrip)
Line 1: Line 1:
 
<includeonly>[[{{{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]]}}|Yellow={{#vardefine:scrip|[[File:Yellow {{#var:shape}} Scrip Icon.png|40px|link=Yellow {{#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;
 
{{!}} &nbsp;
 
{{!}} &nbsp;

Revision as of 20:56, 5 July 2017

Template for calculating the amount of Scrips received, and EXP rewarded. Used on Template:CollectableList.