Difference between revisions of "Template:EndeavorSetsDisplay"
Jump to navigation
Jump to search
>Eave m (pass through stickerID field) |
>Eave m (move to named args) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
{{EndeavorTable | {{EndeavorTable | ||
|style= | |style= | ||
| − | |endeavors={{# | + | |endeavors={{#invoke:CargoQuery|main|q?tables=EndeavorSetsRow |
| − | |fields=Description,RewardType,RewardItem,RewardAmount,StickerID | + | |q?fields=Description,RewardType,RewardItem,RewardAmount,StickerID |
| − | |where=Name="{{{Name}}}" | + | |q?where=Name="{{{Name}}}" |
| − | | | + | |q?orderBy=OrderNum |
| − | | | + | |q?limit=200 |
|template=EndeavorSetsDisplayRow | |template=EndeavorSetsDisplayRow | ||
| − | |||
}} | }} | ||
}} | }} | ||
</div> | </div> | ||
</div></includeonly> | </div></includeonly> | ||
Latest revision as of 06:32, 13 April 2020
(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:
These endeavors are a set of examples.These Endeavors occurred from 11-10-2019 06:00 UTC to 18-10-2029 05:59:59 UTC.
| # | Description | Reward
Lua error: Error: Table EndeavorSetsRow not found.. |
|---|
{{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}}
}}