EventBox: Difference between revisions
From Dragon Mania Legends (DML) Wiki
CrystalClear (talk | contribs) (Per Soukupmi, for now leave off |Opponent Pools from dungeon lsth) |
m (Note added ; Bottomless Dungeon lsth restricted to “no pools”) |
||
Line 12: | Line 12: | ||
|ticket = Wikitext | |ticket = Wikitext | ||
|ticketType = Wikitext | |ticketType = Wikitext | ||
|note = Wikitext | |||
}}</noinclude><includeonly> | }}</noinclude><includeonly> | ||
{{#cargo_store: | {{#cargo_store: | ||
Line 25: | Line 26: | ||
|ticket = {{{ticket|}}} | |ticket = {{{ticket|}}} | ||
|ticketType = {{{ticketType|}}} | |ticketType = {{{ticketType|}}} | ||
|note = {{{note|}}} | |||
}}<!---- | }}<!---- | ||
--->{{Template:EventBox/Values | --->{{Template:EventBox/Values | ||
Line 37: | Line 39: | ||
|ticket = {{{ticket|}}} | |ticket = {{{ticket|}}} | ||
|ticketType = {{{ticketType|}}} | |ticketType = {{{ticketType|}}} | ||
|note = {{{note|}}} | |||
}}<!--- | }}<!--- | ||
--------------- if the date of the event is yet to come display disclaimer -------------------> | --------------- if the date of the event is yet to come display disclaimer -------------------> | ||
Line 130: | Line 133: | ||
-->{{#if:{{{hero|}}}|<br>'''Hero Dragon''' {{di|{{{hero|}}}|n}}<!-- | -->{{#if:{{{hero|}}}|<br>'''Hero Dragon''' {{di|{{{hero|}}}|n}}<!-- | ||
--->|{{#iferror:{{#ifexpr:{{#time:U|{{getDate}}}} > {{#time:U|10 May 2018}}|{{#if:{{{ticket|}}}{{#ifeq:{{{type|}}}|Relay|1|}}{{#ifeq:{{#explode:{{PAGENAME}}|(|0}}|Boss Challenge|1|}}|<br>'''Ticket''' {{#if:{{{ticket|}}}|{{i|{{{ticketType|Divine}}} Ticket {{#ifeq:{{#sub:{{{ticket|}}}|0|1}}|(||- }}{{{ticket|}}}|i|25}}|{{i|Card Dragon Pack Ticket|link|Main Shop#Card Packs|25}}}}}}}}}}}}<!-- | --->|{{#iferror:{{#ifexpr:{{#time:U|{{getDate}}}} > {{#time:U|10 May 2018}}|{{#if:{{{ticket|}}}{{#ifeq:{{{type|}}}|Relay|1|}}{{#ifeq:{{#explode:{{PAGENAME}}|(|0}}|Boss Challenge|1|}}|<br>'''Ticket''' {{#if:{{{ticket|}}}|{{i|{{{ticketType|Divine}}} Ticket {{#ifeq:{{#sub:{{{ticket|}}}|0|1}}|(||- }}{{{ticket|}}}|i|25}}|{{i|Card Dragon Pack Ticket|link|Main Shop#Card Packs|25}}}}}}}}}}}}<!-- | ||
-->{{#if:{{{badge|}}}|<br>'''Badge{{#if:{{{badge2|}}}|s}}''' [[File:{{{badge|}}} Badge.png|25px|link=Achievements#Badges]]{{#if:{{{badge2|}}}|[[File:{{{badge2|}}} Badge.png|25px|link=Achievements#Badges]]}}{{#if:{{{note|}}}|{{rt|<sup>Note</sup>|{{{note|}}}}}}}}}<!-- | -->{{#if:{{{badge|}}}|<br>'''Badge{{#if:{{{badge2|}}}|s}}''' [[File:{{{badge|}}} Badge.png|25px|link=Achievements#Badges]]{{#if:{{{badge2|}}}|[[File:{{{badge2|}}} Badge.png|25px|link=Achievements#Badges]]}}{{#if:{{{note|}}}|{{rt|<sup>Note</sup>|{{{note|}}}}}}}<!-- | ||
-->| {{#if:{{{note|}}}|'''Note''' {{{note}}} }} }}<!-- | |||
-->{{#if:{{{exclusive|}}}|<br>'''Exclusivity''' {{{exclusive|}}}}}<!-- | -->{{#if:{{{exclusive|}}}|<br>'''Exclusivity''' {{{exclusive|}}}}}<!-- | ||
-->{{#if:{{{occasion|}}}|<br>'''Occasion''' {{{occasion|}}}}} | -->{{#if:{{{occasion|}}}|<br>'''Occasion''' {{{occasion|}}}}} | ||
Line 157: | Line 161: | ||
|Sigil Campaign=<h2>Synopsis</h2>{{#lsth:Category:Reward_of_the_Month}} | |Sigil Campaign=<h2>Synopsis</h2>{{#lsth:Category:Reward_of_the_Month}} | ||
|Movie Marathon=<h2>Synopsis</h2>{{#lsth:Movie Marathon|}} | |Movie Marathon=<h2>Synopsis</h2>{{#lsth:Movie Marathon|}} | ||
|Bottomless Dungeon=<h2>Synopsis</h2>{{#lsth:Bottomless Dungeon|Dragon Brawl}} | |Bottomless Dungeon=<h2>Synopsis</h2>{{#lsth:Bottomless Dungeon|Dragon Brawl|Opponent Pools}} | ||
|#default=}} }}<!-- | |#default=}} }}<!-- | ||
------------- end of Mechanics ------------------------- | ------------- end of Mechanics ------------------------- |
Revision as of 15:40, 20 January 2023
This template defines the table "Events". This table has not been created yet.
TESTS
This template is used for all Events taking place. It's quite extensive to satisfy every event type. More extensive documentation can be found on the Talk page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Advertisement Image | ad | Normally, {{Exists}} checks against either the title of the page or the value of prize to retrieve a matching ad. The name of the file must either follow this pattern: File:{NameEvent} (yy.mm.dd) Promotion.jpg, File:{prize} Dragon Event.jpg or this pattern: File:{prize} Dragon Promotion (NameEvent).jpg. In those cases, in which a pattern is not found, the advertisement must be manually inserted. Add the name of the image while omitting File: and its extension, as in "Chemistry Dragon & Duskwing Dragon Promotion (Weekend Events)" for example.
| String | suggested |
Start Date | started | Date of the start of the event. If omitted, the start date is generated from the page title.
| Date | suggested |
Duration | duration | Number of days the event took place. The ended date is calculated by either the type or with the duration.
| String | suggested |
Event Type | type | Type of the event. Choose from: Arcade, Calendar, Castle, Chain Breeding, Clan, Collection, Community, Dragon Dice, Feeding, Food Gathering, Gem Spending, Gold Collecting, Gold Spending, Hatching, Relay, Sigil, Solo. Or enter the new type.
| String | suggested |
Prize Dragon | prize | Add the name of the Dragon, while omitting the additional "Dragon" from the name. This parameter is to be used only if the Dragon is the main reward of the event. In the case of regular events, it is the prize for placing in the highest spots of the leaderboard at the end of the event. For other events, it is the prize given for completing the event. If no prize should get displayed, specify the {specific=Prize} parameter.
| String | suggested |
Vip-only event? | vip | Enter "VIP" if this event was only available with active VIP status
| String | suggested |
Generic Leaderboard | generic | Check the generated Leaderboard with the real one of the event. There are several generic leaderboards that are used for the vast majority of regular events. These can be found here. Some types of events have their own generic leaderboard (such as Hatching Events, Gem Spending Events and Clan Events). Other events make use, more often than not, of a particular generic leaderboard: VIP Events = Leaderboard 1 Gold Collecting Events and Gold Spending Events = Leaderboard 2 VIP Food Gathering Events = Leaderboard 3 Hatching Events with a Dragon as the main prize = Leaderboard 4 Feeding Events and Food Gathering Events = Leaderboard 5
| Number | suggested |
Badge Name | badge | Displays the badge that can be obtained within an event. Add the name of the badge while omitting the additional "Badge" from the name. The first letter of each word in the badge name must be capitalized. | String | suggested |
Hero Dragon | hero | Used to indicate the Hero Dragon needed to participate in the Relay Event (Hero's Challenge). Add the name of the Dragon while omitting the additional "Dragon" from the name.
| String | suggested |
Gem Spending Milestone Dragon | dragon | Used to indicate the Dragon given as the final milestone reward in Gem Spending Events and the Dungeon Shop Dragon. As with prize, add the name of the Dragon while omitting the additional "Dragon" from the name. This parameter is used only with Gem Spending and Bottomless Dungeon Events.
| String | suggested |
# Tiers / Levels / Days | section | Used to indicate the total days (Calendar), levels (Castle) or tiers (Solo) an event has.
| Number | suggested |
Non-Dragon reward | reward | Apart from Clan Events and the majority of Hatching Events, all other events almost always offer Dragons as their main prize. Since the prizes for Hatching Events are automatically generated, this parameter is only used when either a generic prize is not applicable or when a Dragon is not the main prize of the event (thus the prize parameter is not to be used). The parameter is also applicable to any other event that does not offer Dragons as a prize, such as the aforementioned Clan Events, to override the generic default.
| String | suggested |
Skip table generating | table | In those cases in which an event has any of the built-in generic prizes and the generic parameter can also not retrieve matching data, this parameter must be used to either negate the leaderboard or negate the milestone along with the leaderboard. Depending on what is excluded, the prizes must be manually added through the use of {{Milestones}} or/and {{Leaderboard}}. Note that milestone negation is not possible without the inclusion of the leaderboard because the milestone is generated ahead of the leaderboard. So, even if it happens that a milestone is generic (but a leaderboard is not) both must still be negated.
| Number | suggested |
Rewards are atypical | specific | Used when a Calendar Event does not double the prizes for Trainers with an active VIP Status (=novip) or the amount of (Divine) Tickets per round in a Relay Event is apart from the default of 15. If set to "Prize" then no reward (Dragon or other) is shown.
| String | suggested |
# Calendar Dragon Pieces | pieces | Used to indicate the Dragon Pieces needed to collect to obtain the main Dragon of the Calendar Event. | Number | suggested |
Sidenote text | text | Some observations that can be made include whether this type of event had double prizes, took place in the game for the very first or the very last time, or if the event was not available in a particular region because of a concurrent and exclusive event for that region, or any other factual and objective notes. Make sure to follow the writing style as specified in the Manual of Style.
| String | suggested |
Event Description | description | Displays the custom, in-game description. It is used only when an event does not have a generic, built-in description. When a unique description exists, write it exactly as it is written in the game.
| String | suggested |