Difference between revisions of "Template:EndeavorSetsDisplay"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Boblers
(creating EndeavorSetsDisplay template to display Endeavor Sets grabbed from cargo query)
>Caledor92
Line 1: Line 1:
<noinclude>{{doc/start}}
+
<noinclude>{{Doc}}[[Category:Templates]]</noinclude><includeonly>
(Endeavor Sets Display) - Parses endeavor sets cargo field into a formatted header and table, used on the [[Endeavors]] page.
 
 
 
==Usage==
 
<pre>
 
{{EndeavorSetsDisplay
 
|Name        =
 
|Type        =
 
|StartDate    =
 
|EndDate      =
 
|Endeavors    = //several Template:EndeavorRow instances
 
}}
 
</pre>
 
 
 
==Examples==
 
{{EndeavorSetsDisplay
 
|Name        = Catch-Up Campaign (Oct 2019)
 
|Type        = Limited
 
|StartDate    = 11-10-2019 06:00 UTC
 
|EndDate      = 18-10-2029 05:59:59 UTC
 
|Endeavors    = {{EndeavorRow| Clear all Catch-Up Campaign Endeavors|Wyrmite|300}}
 
{{EndeavorRow| Clear [[Avenue to Power]] Two Times|Shadow Orb|100}}
 
{{EndeavorRow| Clear [[Avenue to Power]] Five Times|Mana|30,000}}
 
{{EndeavorRow| Clear [[Avenue to Power]] Seven Times|Gold Crystal|100}}
 
{{EndeavorRow| Clear [[Avenue to Power]] 10 Times|Exquisite Honey|2}}
 
{{EndeavorRow| Clear [[Avenue to Power]] 12 Times|Mana|30,000}}
 
{{EndeavorRow| Clear [[Avenue to Power]] 15 Times|Gold Crystal|200}}
 
{{EndeavorRow| Clear [[Avenue to Power]] 17 Times|Mana|30,000}}
 
{{EndeavorRow| Clear [[Avenue to Power]] 20 Times|Gold Crystal|300}}
 
}}
 
<pre>
 
{{EndeavorSetsDisplay
 
|Name        = Catch-Up Campaign (Oct 2019)
 
|Type        = Limited
 
|StartDate    = 11-10-2019 06:00 UTC
 
|EndDate      = 18-10-2029 05:59:59 UTC
 
|Endeavors    = {{EndeavorRow| Clear all Catch-Up Campaign Endeavors|Wyrmite|300}}
 
{{EndeavorRow| Clear [[Avenue to Power]] Two Times|Shadow Orb|100}}
 
{{EndeavorRow| Clear [[Avenue to Power]] Five Times|Mana|30,000}}
 
{{EndeavorRow| Clear [[Avenue to Power]] Seven Times|Gold Crystal|100}}
 
{{EndeavorRow| Clear [[Avenue to Power]] 10 Times|Exquisite Honey|2}}
 
{{EndeavorRow| Clear [[Avenue to Power]] 12 Times|Mana|30,000}}
 
{{EndeavorRow| Clear [[Avenue to Power]] 15 Times|Gold Crystal|200}}
 
{{EndeavorRow| Clear [[Avenue to Power]] 17 Times|Mana|30,000}}
 
{{EndeavorRow| Clear [[Avenue to Power]] 20 Times|Gold Crystal|300}}
 
}}
 
</pre>
 
 
 
[[Category:Templates]]
 
</noinclude><includeonly>
 
 
<div class="EndeavorSetsDisplay">
 
<div class="EndeavorSetsDisplay">
 
===={{{Name}}}====
 
===={{{Name}}}====

Revision as of 19:36, 17 December 2019

50px Documentation

(Endeavor Sets Display) - Parses endeavor sets cargo field into a formatted header and table, used on the Endeavors page.

Usage

{{EndeavorSetsDisplay
|Name         =
|Type         =
|Description  =
|StartDate    =
|EndDate      =
}}

Examples

Catch-Up Campaign (Oct 2019)

Ends in:

Occurred from 11-10-2019 06:00 UTC to 18-10-2029 05:59:59 UTC.

# Description Reward
1 Clear all Catch-Up Campaign Endeavors Icon Wyrmite.png Wyrmite x300
2 Clear Avenue to Power Two Times
Error: Table Materials not found.
x100
3 Clear Avenue to Power Five Times Icon Resource Mana.png Mana x30,000
4 Clear Avenue to Power Seven Times
Error: Table Materials not found.
x100
5 Clear Avenue to Power 10 Times
Error: Table Consumables not found.
x2
6 Clear Avenue to Power 12 Times Icon Resource Mana.png Mana x30,000
7 Clear Avenue to Power 15 Times
Error: Table Materials not found.
x200
8 Clear Avenue to Power 17 Times Icon Resource Mana.png Mana x30,000
9 Clear Avenue to Power 20 Times
Error: Table Materials not found.
x300
{{EndeavorSetsDisplay
|Name         = Catch-Up Campaign (Oct 2019)
|Type         = Limited
|Description  = These endeavors are a set of examples.
|StartDate    = 11-10-2019 06:00 UTC
|EndDate      = 18-10-2029 05:59:59 UTC
|Endeavors    = {{EndeavorRow| Clear all Catch-Up Campaign Endeavors|Wyrmite|300}}
{{EndeavorRow| Clear [[Avenue to Power]] Two Times|Shadow Orb|100}}
{{EndeavorRow| Clear [[Avenue to Power]] Five Times|Mana|30,000}}
{{EndeavorRow| Clear [[Avenue to Power]] Seven Times|Gold Crystal|100}}
{{EndeavorRow| Clear [[Avenue to Power]] 10 Times|Exquisite Honey|2}}
{{EndeavorRow| Clear [[Avenue to Power]] 12 Times|Mana|30,000}}
{{EndeavorRow| Clear [[Avenue to Power]] 15 Times|Gold Crystal|200}}
{{EndeavorRow| Clear [[Avenue to Power]] 17 Times|Mana|30,000}}
{{EndeavorRow| Clear [[Avenue to Power]] 20 Times|Gold Crystal|300}}
}}