Please remember to make use of the DML Wiki Manual of Style and Code of Conduct during your stay.

 Actions

Template

EventBox: Difference between revisions

From Dragon Mania Legends (DML) Wiki

(Add review note to get on workboard)
mNo edit summary
Line 34: Line 34:
}}
}}
|-
|-
|class="dragonbox-header-links" style="height:30px; padding-top:3px; text-align:center; color:#ffffff; font-size: 1.3rem; letter-spacing: 1px; text-shadow: 1px 1px #000000; font-family: 'grobold', 'Segoe UI', 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif; {{EventBox/BorderColor|{{{type|}}}}} {{EventBox/BackgroundColor|{{{type|}}}}}"|{{#switch:{{EventTypeFromName | {{{type|{{#explode:{{PAGENAME}}|(|0}} }}} }}|Clan|{{#ifexpr:{{#time:U|{{getDate}}}} > {{#time:U|25 May 2017}}|Solo}}|{{#ifexpr:{{#time:U|{{getDate}}}} > {{#time:U|10 September 2018}}|Castle}}|Arcade=DESCRIPTION|IN-GAME DESCRIPTION}}
|class="dragonbox-header-links" style="height:30px; padding-top:3px; text-align:center; color:#ffffff; font-size: 1.3rem; letter-spacing: 1px; text-shadow: 1px 1px #000000; font-family: 'grobold', 'Segoe UI', 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif; {{EventBox/BorderColor|{{{type|}}}}} {{EventBox/BackgroundColor|{{{type|}}}}}"|DESCRIPTION
|-
|-
|style="font-size:inherit; padding:10px!important; line-height: inherit; {{EventBox/BorderColor|{{{type|}}}}}"|<i>{{#if:{{{description|}}}|{{{description|}}}<!--
|style="font-size:inherit; padding:10px!important; line-height: inherit; {{EventBox/BorderColor|{{{type|}}}}}"|<i>{{#if:{{{description|}}}|{{{description|}}}<!--
-->|{{#switch:{{{type|{{#explode:{{PAGENAME}}|(|0}} }}}<!--
-->|{{{type|{{#explode:{{PAGENAME}}|(|0}} }}} {{#switch:{{{type|{{#explode:{{PAGENAME}}|(|0}} }}}<!--
-->|Calendar=Log in every day to get these rewards!<!--
-->|Calendar=Log in every day to get these rewards!<!--
-->|Castle={{ctg|Castle Events}} are events in which participants must open a multitude of different chests in order to advance through rooms and earn the final prize.<!--
-->|Castle={{ctg|Castle Events}} are events in which participants must open a multitude of different chests in order to advance through rooms and earn the final prize.<!--
Line 59: Line 59:
-->|Winner Takes All=Win battles to add to your clan's cumulative score.<!--
-->|Winner Takes All=Win battles to add to your clan's cumulative score.<!--
-->|Dragon Dice|Dragon Board=Roll your two dice and make your Dragon progress on the board. Roll pairs to make the story unfold. Collect keys to open chests with parts for different dragons.<!--
-->|Dragon Dice|Dragon Board=Roll your two dice and make your Dragon progress on the board. Roll pairs to make the story unfold. Collect keys to open chests with parts for different dragons.<!--
-->|Dragon Grid=Move your Dragon avatar around the 3x3 grid, collect Tyrant Tickets and other rewards while trying to survive as long as possible.<!--
-->|Dragonmaster Pass=Collect Season Points to progress through the milestones, which are awarded for every Daily Task completed and for every dragon bred or hatched. Complete six Daily Tasks in a day to earn additional Season Points.<!--
-->|Dragonmaster Pass=Collect Season Points to progress through the milestones, which are awarded for every Daily Task completed and for every dragon bred or hatched. Complete six Daily Tasks in a day to earn additional Season Points.<!--
-->|Milestone Rewards=Spend {{ctg|In-Game Currency}} in the ongoing Events to progress through the milestones for epic rewards.<!--
-->|Milestone Rewards=Spend {{ctg|In-Game Currency}} in the ongoing Events to progress through the milestones for epic rewards.<!--
Line 110: Line 111:
|Emerald Wars=<h2>Synopsis</h2>{{#lsth:Emerald Wars|Synopsis}}
|Emerald Wars=<h2>Synopsis</h2>{{#lsth:Emerald Wars|Synopsis}}
|Dragon Dice|Dragon Board=<h2>Synopsis</h2>{{#lsth:Category:Dragon_Dice_Events|Synopsis|History}}
|Dragon Dice|Dragon Board=<h2>Synopsis</h2>{{#lsth:Category:Dragon_Dice_Events|Synopsis|History}}
|Dragon Grid=<h2>Synopsis</h2>{{#lsth:Category:Dragon_Grid_Events|Synopsis|History}}
|Solo=<h2>Synopsis</h2>{{#lst:Category:Solo_Events}}
|Solo=<h2>Synopsis</h2>{{#lst:Category:Solo_Events}}
|Dragonmaster Pass={{#lsth:Dragonmaster Pass||Promotions}}
|Dragonmaster Pass={{#lsth:Dragonmaster Pass||Promotions}}
Line 869: Line 871:
<!----
<!----
{{EventBox|type=Movie Marathon|table=|specific=}}
{{EventBox|type=Movie Marathon|table=|specific=}}
<!----
{{EventBox|type=Dragon Grid|duration=7 Days}}
<!---->
<!---->


Line 1,016: Line 1,020:
</templatedata>
</templatedata>


{{review|update=7.1|user=Soukupmi|notes=Dragon Grid event needs added}}
{{review|update=7.1|user=Soukupmi}}
</noinclude>
</noinclude>

Revision as of 13:20, 30 November 2022

Sticker - Meh.png
template

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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Advertisement Imagead

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.

Example
Chemistry Dragon & Duskwing Dragon Promotion (Weekend Events)
Stringsuggested
Start Datestarted

Date of the start of the event. If omitted the start date is generated from the page title.

Example
12 August 2020
Datesuggested
Durationduration

Number of days the event took place. The ended date is calculated by either the type or with the duration.

Example
2 Days
Stringsuggested
Event Typetype

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.

Example
Calendar
Stringsuggested
Prize Dragonprize

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

Example
Don
Stringsuggested
Vip-only event?vip

Enter "VIP" if this event was only available with active VIP status

Example
VIP
Stringsuggested
Generic Leaderboardgeneric

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

Example
1 (for the "President Day (16/02/15)" event)
Numbersuggested
Badge Namebadge

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 name of the badge must be capitalized.

Stringsuggested
Hero Dragonhero

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.

Example
Bludgeon
Stringsuggested
Gem Spending Milestone Dragondragon

Used to indicate the Dragon given as the final milestone reward in Gem Spending Events. 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 Events.

Example
Phoenix
Stringsuggested
# Tiers / Levels / Dayssection

Used to indicate the total days (Calendar), levels (Castle) or tiers (Solo) an event has.

Example
8
Numbersuggested
Non-Dragon rewardreward

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.

Example
{{#tag:center|525,000 {{i|Gold}}<br>45,000 {{i|Food}}<br>3 {{i|Scrolls}}}}
Stringsuggested
Skip table generatingtable

In those cases in which an event has any of the built-in generic prizes and the generic parameter is also not able to 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.

Example
1 / 2
Numbersuggested
Rewards are atypicalspecific

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 other than the default of 15. If set to "Prize" then no reward (Dragon or other) is shown.

Example
17
Stringsuggested
# Calendar Dragon Piecespieces

Used to indicate the Dragon Pieces needed to collect in order to obtain the main Dragon of the Calendar Event.

Numbersuggested
Sidenote texttext

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.

Example
This event was not available in Australia because of the concurrent G'Day event.
Stringsuggested
Event Descriptiondescription

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.

Example
Some dragons feel at home on both land and sea; welcome them by completing goals to earn rewards.
Stringsuggested

This Wiki is created by players for other players and is not maintained by, or affiliated with, the game maker (Gameloft).
Cookies help us deliver our services. By using our services, you agree to our use of cookies.