Difference between revisions of "Template:DropReward"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Canim44
m (Formatting (spacing))
>Canim44
m (Formatting (spaces))
 
Line 29: Line 29:
 
--><div>{{#if:{{{bullets|}}} |  
 
--><div>{{#if:{{{bullets|}}} |  
 
* }}
 
* }}
{{#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|}}} |&nbsp;(~{{{avg|}}} per run) }}</div>
+
{{#if:{{{itemtype|}}}|{{Icon|{{{itemtype|}}}|{{{item|}}}|text=1|size=36px}}|{{{{{item|}}}}}}}&nbsp;{{#if:{{{item2|}}}| OR {{#if:{{{itemtype}}}|{{Icon|{{{itemtype|}}}|{{{item2|}}}|text=1|size=36px}}|OR {{{{{item2|}}}}}}}&nbsp;}}{{#if: {{{min|}}} | x{{{min|?}}}-{{{max|?}}} }}{{#if: {{{exact|}}} | x{{{exact|?}}} }}{{#if:{{{avg|}}} |&nbsp;(~{{{avg|}}} per run) }}</div>
 
</includeonly>
 
</includeonly>

Latest revision as of 07:57, 14 November 2019

50px Documentation

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.
  (~4 per run)


{{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.