Difference between revisions of "Template:DropReward"
Jump to navigation
Jump to search
>Seraii |
>Canim44 (Added item2 field for use with Astral Raids (conditional drop)) |
||
| Line 7: | Line 7: | ||
|ItemType=String | |ItemType=String | ||
|Item=String | |Item=String | ||
| + | |Item2=String | ||
|MinDrop=Integer | |MinDrop=Integer | ||
|MaxDrop=Integer | |MaxDrop=Integer | ||
| Line 18: | Line 19: | ||
|ItemType={{{itemtype|}}} | |ItemType={{{itemtype|}}} | ||
|Item={{{item|}}} | |Item={{{item|}}} | ||
| + | |Item2={{{item2|}}} | ||
|MinDrop={{{min|}}} | |MinDrop={{{min|}}} | ||
|MaxDrop={{{max|}}} | |MaxDrop={{{max|}}} | ||
| Line 26: | Line 28: | ||
// Template Display Content | // Template Display Content | ||
--><div>{{#if:{{{bullets|}}} | | --><div>{{#if:{{{bullets|}}} | | ||
| − | * }}{{#if:{{{itemtype|}}}|{{Icon|{{{itemtype|}}}|{{{item|}}}|text=1|size=36px}}|{{{{{item|}}}}}}} {{#if: {{{min|}}} | x{{{min|?}}}-{{{max|?}}} }}{{#if: {{{exact|}}} | x{{{exact|?}}} }}{{#if:{{{avg|}}} | (~{{{avg|}}} per run) }}</div> | + | * }} |
| + | {{#if:{{{itemtype|}}}|{{Icon|{{{itemtype|}}}|{{{item|}}}|text=1|size=36px}}|{{{{{item|}}}}} }} | ||
| + | {{#if:{{{item2|}}}| OR {{#if:{{{itemtype}}}| {{Icon|{{{itemtype|}}}|{{{item2|}}}|text=1|size=36px}}| OR {{{{{item2|}}}}}}} }} | ||
| + | {{#if: {{{min|}}} | x{{{min|?}}}-{{{max|?}}} }} | ||
| + | {{#if: {{{exact|}}} | x{{{exact|?}}} }} | ||
| + | {{#if:{{{avg|}}} | (~{{{avg|}}} per run) }}</div> | ||
</includeonly> | </includeonly> | ||
Revision as of 07:47, 14 November 2019
Parameters
- droptype - Common, Daily, Weekly, First
- itemtype - Currency, Resource, Material, Weapon, Wyrmprint
- item - The name of item dropped
- item2 - The name of item dropped in place of item (i.e., augments in Astral Raids)
- min - The minimum amount that can be obtained
- max - The maximum amount that can be obtained
- exact - The exact amount that can be obtained
- avg - The average amount that can be obtained
- bullets - Specifying this will add a bullet point at the beginning
Examples
{{DropReward|droptype=Common|itemtype=Material|item=Water Orb|avg=4}}
Error: Table Materials not found.
{{DropReward|droptype=Daily|itemtype=Material|item=Royal Jade Insignia|min=3|max=5|avg=10}}
Error: Table Materials not found.
x3-5
(~10 per run)
{{DropReward|droptype=Daily|itemtype=Material|item=Royal Jade Insignia|min=3|max=5|avg=10|bullets=1}}
Error: Table Materials not found.
x3-5
(~10 per run)
{{DropReward|droptype=Daily|itemtype=Material|item=Fortifying Crystal|item2=Amplifying Crystal|exact=1}}
Error: Table Materials not found.
OR Error: Table Materials not found.
x1
This template defines the table "DropRewards". This table has not been created yet.