Difference between revisions of "Template:Event"
Jump to navigation
Jump to search
>Boblers (adding facility dupe note) |
>Boblers (generalizing Endeavors section to use a cargo query, and use pre-written notes regarding duplicate epithets/stickers. The Endeavors parameter will be removed once the EndeavorSets conversion of old events is complete) |
||
| Line 192: | Line 192: | ||
<div style="padding:1em 0.5em;"> | <div style="padding:1em 0.5em;"> | ||
{{StylizedHeader|Endeavors}} | {{StylizedHeader|Endeavors}} | ||
| − | <div style="display:flex;justify-content:center">{{{Endeavors|}}}</div> | + | <div style="display:flex;justify-content:center"> |
| + | <div style="width:100%"> | ||
| + | <div style="max-height: 500px; overflow: auto;">{{{Endeavors|}}} | ||
| + | {{#invoke:CargoQuery|main | ||
| + | |q?tables=EndeavorSets | ||
| + | |q?fields=Name,Type,StartDate,EndDate,_rowID | ||
| + | |q?orderBy=StartDate ASC, Name ASC | ||
| + | |q?groupBy= | ||
| + | |q?where=Type='EventDaily' AND Event='{{{Name|}}}/{{{Date|}}}' | ||
| + | |template=EndeavorSetsEventDisplay | ||
| + | |default= | ||
| + | |more results text= | ||
| + | }} | ||
| + | {{#invoke:CargoQuery|main | ||
| + | |q?tables=EndeavorSets | ||
| + | |q?fields=Name,Type,StartDate,EndDate,_rowID | ||
| + | |q?orderBy=StartDate ASC, Name ASC | ||
| + | |q?groupBy= | ||
| + | |q?where=Type='Event' AND Event='{{{Name|}}}/{{{Date|}}}' | ||
| + | |template=EndeavorSetsEventDisplay | ||
| + | |default= | ||
| + | |more results text= | ||
| + | }} | ||
| + | If the player has already earned epithets or stickers from this event, those rewards will be replaced by {{Wyrmite-}} as follows:<br> | ||
| + | [[File:Icon Profile 01 Frame.png|32px]] Rank 1 epithet: {{Wyrmite-}} x50.<br> | ||
| + | [[File:Icon Profile 02 Frame.png|32px]] Rank 2 epithet: {{Wyrmite-}} x100.<br> | ||
| + | [[File:Icon Profile 03 Frame.png|32px]] Rank 3 epithet: {{Wyrmite-}} x150.<br> | ||
| + | [[File:Icon Profile 04 Frame.png|32px]] Rank 4 epithet: {{Wyrmite-}} x200.<br> | ||
| + | [[File:10702 en.png|32px]] Sticker: {{Wyrmite-}} x25.</div> | ||
</div> | </div> | ||
</div> | </div> | ||
</div>[[Category:Events]][[Category:{{{Type|}}} Events]]</includeonly><noinclude>[[Category:Templates]]</noinclude> | </div>[[Category:Events]][[Category:{{{Type|}}} Events]]</includeonly><noinclude>[[Category:Templates]]</noinclude> | ||
Revision as of 17:27, 10 April 2020
Usage
{{Event
|Name=
|NameJP=
|NameSC=
|NameTC=
|Date=
|Type=
|Description=
|EnemyElement=
|EnemyAffliction=
|ThemeSong=
|StartDate=
|EndDate=
|Rerun=
|Content=
|RaidBoosts=
|RareRaidBoosts=
|PersonalPerks=
|Battles=
|BattleQuestName1=
|ExclusiveAdventurer=
|ExclusiveDragon=
|ExclusiveWyrmprint=
|ExclusiveFacility=
|ExclusiveWeapon=
|TreasureTradeShop=
|CollectionRewards=
|EventMaterialCollection=
|SummonRewards=
|EventMaterialSummon=
|5StarSummonWyrmprint=
}}
This template defines the table "Events". This table has not been created yet.