Template:DragonBox/doc
From Dragon Mania Legends (DML) Wiki
< Template:DragonBoxDocumentation subpage |
---|
View this documentation's related template: Template:DragonBox |
Template:DragonBox/Values
Template:DragonBox/Obtaining
Template:DragonBox/Biology
See Also
{{ColorCodes}}
, for colors set and used.{{DragonSwitch}}
, for the top nav bar that switches between Dragons.{{DragonSwitcher}}
, for the Infobox Dragon image switcher between adult, baby, and egg.{{Enchantment}}
, for Enchantment Materials Requirements table.{{Stats}}
, for the Stats table.
Documentation
DragonBox complex, this means reading it thoroughly might be tedious. Because of this, we recommend picking a Dragon with the same obtainment method from this category's subcategories and then copying its page content and adapting it to create a similar Dragon, the necessary parameters are already selected. |
The DragonBox template generates 50% to 100% of Dragon page content, it uses parameters, parameter values, and templates to declare a Dragon's characteristics and the color of the box itself on Dragon pages.
Visit MediaWiki Templates and the Manual of Style for a general understanding of how MediaWiki templates work. If the explanation below is unclear or insufficient, or to suggest modifications, feel free to contact the maintainers of this template, namely Soukupmi.
Calling a template on a page is done by adding the template name between double curly braces: {{DragonBox}}
. Note, the term "base value" is used here to represent the stats, characteristics, and attributes a Dragon has at Level 1. These values display on the Base Codex Entry of Dragons housed on islands and not of those just hatched or in the Hatchery.
Parameters
Parameters produce different content depending on their given value. To use a parameter, add it to the template on a new line after a |
symbol (e.g., |description
). To assign a value to the parameter, add the equals sign =
after it, then the desired value (e.g., |description=My description
). Note that parameter names and their values are determined by wiki Staff and are usually case-sensitive. See the examples.
"Accepted Values" are values a parameter will respond to, while "Automatic Values" are those automatically used without being specified, unless given a different value when specified, or overridden by other parameters.
Codex Entry
codex
|
Used to specify the Dragon Codex Entry text, exactly as written in the game, respecting formatting, punctuation, and any additional symbols. This parameter cannot be used with Boss Dragons and Clan Dragons.
section
|
Codex section a Dragon belongs in (not the collection reward). Specify the collection name exactly as written in-game.
collection
|
Dragons given as a collection reward. ONLY for Collection Reward or Meta Collection Reward Dragons.
- Collection Reward Dragons - Give the original codex
section
name it belongs in, then different meta collection name is is given as a reward for. - Meta Collection Reward Dragons - Give the SAME collection name for both
|section=
and|collection
.
Stats
type
|
Used to specify the rarity/type of the Dragon or ?
if rarity is unknown. The parameter does not work for Boss Dragons.
base
|
Used to specify the first Element of a Dragon as listed on their Codex Entry with first letter capitalized.
second
|
Used to specify the second Element of a Dragon as listed on their Codex Entry with first letter capitalized.
third
|
Used to specify the third Element of a Dragon as listed on their Codex Entry with first letter capitalized.
health
|
Overrides the Base Health value, in digits, when the automatically generated value does not match the Dragon's in-game Level 1 Codex Entry.
If this value is used, then health2 and health3 probably also need to be added/overridden.
health2
|
Overrides the second Base Health value, in digits, when the automatically generated value does not match the in-game values. Used for Dragons whose elements can be awoken, applies to Base Health after the second element is awoken.
health3
|
Overrides the third Base Health value, in digits, when the automatically generated value does not match the in-game values. Used for Dragons whose elements can be awoken, applies to Base Health after the third element is awoken.
attack
|
Overrides the Base Attack value, by entering digits, when the automatically generated value does not match the Dragon's in-game Level 1 Codex Entry.
If this value is used, then health2 and health3 probably need to be added/overridden also.
attack2
|
Overrides the second Base Attack value, in digits, when the automatically generated value does not match the in-game values. Used for Dragons whose elements can be awoken, applies to Base Attack after the second element is awoken.
attack3
|
Overrides the third Base Attack value, in digits, when the automatically generated value does not match the in-game values. Used for Dragons whose elements can be awoken, applies to Base Attack after the third element is awoken.
gold
|
Overrides Base Gold per Hour, in digits, when the automatically generated value does not match the Dragon's in-game Level 1 Codex Entry. The unformatted number must be added, no commas are used to separate thousands.
xp
|
Overrides default (hatching) Experience, in digits, when the automatically generated value does not match the Dragon's in-game Level 1 Codex Entry. The unformatted number must be added, no commas are used to separate thousands.
sell
|
Overrides the base sell value, in digits, when the auto-generated sell value does not match the Dragon's in-game Level 1 Codex Entry. The unformatted number must be added, no commas are used to separate thousands. The information is obtained by visiting the Dragon's Codex Entry, clicking the "sell" button, after which a confirmation appears, displaying the amount; the Dragon does not need to be sold to determine sell value.
dcp
|
Overrides the value, in digits, when the automatically generated Base Dragon Collector Points do not match the Dragon's in-game Level 1 Codex Entry. For this parameter, the unformatted number must be added, no commas are used to separate thousands.
Obtaining
available
|
Used to specify the general availability of a Dragon if not already set by other parameters (see second table below). Important: When used, this parameter overrides other parameters (see second table below).
Parameter | Value | Display | Function |
---|---|---|---|
available | ?
|
Currently Unknown | Used when the availability of a Dragon is currently unknown. Not necessary if method also has the same value. |
{{csd}}
|
Card Segments | Used when the Dragon is a regular Card-Segment Dragon, as indicated here, or when it is obtained from Card Packs in the Dragon League, as indicated here. | |
Standard
|
Standard | Used for Normally-Breedable Dragons (always breedable Dragons). | |
Guaranteed
|
Same function as for Standard, but used for Guaranteed-Breedable Dragons (100% breeding outcome chance with two specific parents). |
Parameters that Automatically set the "available" parameter, and that are overridden by "available" if also set | |||
---|---|---|---|
Parameter | Value | Display | Function |
method | ?
|
Currently Unknown | Read this parameter's information section to learn more. |
{{eod}}
|
Occasional | ||
{{wdp}}
|
Card Segments | ||
Clan
| |||
Task
| |||
Top
|
Dragon League | ||
den | Any Value | Enchantment | Used when the Dragon is obtained through Enchanted Breeding. |
league | Dragon League | If the trophies parameter is active, it indicates that the Dragon is obtained through promotions. | |
Dragon League | If trophies is not active, then it indicates that the Dragon is obtained through promotions in the Dragon League. | ||
code | Reward Exclusive | Used when the Dragon is obtained through Recruitment Codes. | |
fp | Used when the Dragon is obtained through the Totem of Friendship. | ||
daily | Used when the Dragon is obtained through the Daily Rewards. | ||
q | Used when the Dragon is obtained through winning certain quests on the Campaign Map. | ||
dungeon | Bottomless Dungeon | Used when the Dragon is obtained through the Bottomless Dungeon. | |
vip | VIP Exclusive | Used if the Dragon is restricted to certain VIP Levels. | |
powers | Clan Action | Used if the Dragon is a Clan-Exclusive Dragon. | |
quest | Unlocking | Used for Boss Dragons. | |
token | Higher than 3000 | Breeding Token | Used when a permanent Breeding Token is given for the Dragon. |
Discontinued | |||
method | |||
Elite
|
Dragon League | ||
Seasonal
|
Clockwork Dungeon |
method
|
Used to specify the method of Dragon obtainment if not already set by other parameters (see second table below). Important: When used, this parameter overrides other parameters (see second table below).
Parameter | Value | Display | Function |
---|---|---|---|
method | ?
|
Currently Unknown | Used when no method of obtaining the Dragon is currently known. |
{{eod}}
|
Events | This is, mostly, a fallback value as most Dragons are obtained through events. It is used when the Dragon does not have a more specific method. | |
{{wdp}}
|
Weekly Dragon Pieces | Used when a Dragon is usually obtained through Weekly Dragon Pieces. | |
Clan
|
Clan Events | Used when a regular Dragon can only be obtained from Milestone Card Packs in Clan Events. | |
Task
|
Daily Tasks | Used when a Dragon can only be obtained from the Daily Tasks. | |
Top
|
Top 5 or Milestone | Used when the Dragon can only be obtained from the Top 5 positions of Dragonscale League 1 and as Breeding Tokens from the Elite League milestones | |
Weekly
|
Dungeon Week Reward | Used when the Dragon can be found within one of the Chests in the Bottomless Dungeon. | |
Discontinued | |||
Elite
|
1st Place | Used when the Dragon can only be obtained from the first position of the Elite League | |
Seasonal
|
Seasonal Reward | Used when the Dragon is a limited reward in the Clockwork Dungeon, as indicated here. |
Parameters that Automatically set the "method" parameter, and that are overridden by "method" if also set | |||
---|---|---|---|
Parameter | Value | Display | Function |
den | Any Value | Enchanted Breeding | The explanation for each parameter is the same that applies for the parameter available. |
league | Dragon League Dragon League | ||
code | Recruitment Code (CodeAmount ) | ||
fp | Friendship Points (PointAmount ) | ||
daily | Daily Rewards (Day NumberOfDay) | ||
q | NameOfMode Mode ( QuestNumber) | ||
vip | Breeding or Purchasing | ||
powers | Community Hatching | ||
quest | Purchasing | ||
token | Higher than 3000 | ||
available | {{csd}}
|
Card Packs | Same description applies here as for this parameter's own section. |
Standard
|
Breeding or Purchasing | If base has Legendary as value, then Unique Breeding is displayed instead of Breeding. | |
Guaranteed
|
limited
|
Overrides a Dragon's obtainment method to show as time limited, used only if DragonBox cannot correctly define the Dragon as time-limited. Add the parameter name and assign ?
as the value.
token
|
Used to specify, in digits, if a limited Breeding Token was made available for a Dragon (1
or any value below 3000), or if the Dragon has a permanent Breeding Token requiring Dragon Collector Points to unlock (values higher than 3000). Leave the number unformatted (no comma to separate thousands).
mode
|
Specifies the Campaign Map mode in which a Reward-Exclusive Dragon is given, after a certain quest is completed. Used with the |q=
parameter which specifies the quest number.
q
|
Used to specify the quest number, in digits, that must be defeated on the Campaign Map to obtain the Reward-Exclusive Dragon. Should be used with the |mode=
parameter.
code
|
Used to specify, in digits, the number of recruits required to obtain the Dragon.
fp
|
Used to specify how many Friendship Points, in digits, are needed at the Totem of Friendship to obtain the Dragon. Separate thousands using a comma. The amount is found by opening the Totem of Friendship screen.
league
|
Used to specify the Dragon League in which the Dragon is given as either Promotion Reward or as a Season Reward. Add only the Element name that represents the league, as shown in Possible Values.
trophies
|
Used to specify the number of trophies, in digits, required to be promoted to the next League in Dragon League. Separate thousands using a comma.
dungeon
|
Used to specify either finding the Dragon in the Dungeon Shop, or in Chests (BDGD-Exclusive Dragons) during its week of appearance. BDGD-Exclusive Dragons are Dragons that can ONLY be obtained in the dungeon periodically and are not to be confused with the Bottomless Dungeon Guaranteed Dragon (bdgd), which can also appear in other events.
daily
|
Used to specify the day number, in digits, that the Dragon is awarded as a Daily Rewards.
vip
|
Used to specify the VIP Level, in digits, needed to breed or purchase the Dragon. The information is found in the VIP Status window when navigating between the benefits of each level.
dotw
|
Used to specify if a Dragon has been a Dragon of the Week (DOTW). Formerly the number was incremented to specify the amount of times appearing as DOTW, though this information is easily seen on the relevant page by pressing CTRL + F and searching for the Dragon's name.
dotm
|
Used to specify if a Dragon has been a Dragon of the Month (DOTM).
bdgd
|
Used to specify if a Dragon has been a Bottomless Dungeon Guaranteed Dragon (BDGD).
rotm
|
Used to specify if a Dragon has been Reward of the Month (ROTM).
den
|
Used to specify the Breeding Den level, in digits, required to breed the Dragon. The information is seen when clicking the "Upgrade" button after selecting the den.
parent1
|
Used to specify the first required parent to breed a Dragon, if it has a unique combination. Omit the word "Dragon" from its name. For Enchantment Dragons, the first parent appears on the left-hand side of the Enchanted Breeding screen.
parent2
|
Used to specify the second required parent to breed a Dragon, if it has a unique combination. Omit the word "Dragon" from its name. For Enchantment Dragons, the second parent appears on the right-hand side of the Enchanted Breeding screen of the Breeding Den.
s
|
Used to specify the required Enchantment Level, in digits, of both parents to allow an Enchanted Dragon's breeding. Used only if both parents require the same level of Enchantment. Seen when opening the Enchanted Breeding screen of the Breeding Den.
s1
|
Used to specify the required Enchantment Level, in digits, of parent1 to allow an Enchanted Dragon's breeding. Used only if the parents each have a different Enchantment Level. Seen when opening the Enchanted Breeding screen of the Breeding Den.
s2
|
Used to specify the required Enchantment Level, in digits, of parent2 to allow an Enchanted Dragon's breeding. Used only if the parents each have a different Enchantment Level. Seen when opening the Enchanted Breeding screen of the Breeding Den.
cost
|
Used to specify the cost, in digits, of the specific In-Game Currency required to purchase a Dragon. Separate thousands using a comma. Note: The currency icon is auto-generated by the values of other parameters, unless overridden (rarely needed).
Parameter | Value | Function |
---|---|---|
cost | Any | Specifies the cost in digits e.g.: 3,000
|
?
|
Returns Currently Unknown and overrides the currency icon. |
Parameters that automatically set override the "cost" icon | ||
---|---|---|
Parameter | Value | Function |
special | Any | Manually overrides the currency icon (only used by Staff). |
base | Any | If the parameter second is not present, returns the icon |
second | Returns the icon | |
den | Returns Unbuyable and overrides the currency icon. | |
type | Divine | |
dungeon | Any | Returns the icon |
available | {{csd}}
|
Returns the icon |
method | {{wdp}}
| |
Clan
| ||
Task
| ||
powers | Any |
special
|
Overrides the automatic currency icon next to cost when a Dragon has an entirely different cost that no other parameter combination can generate. This is rare, staff intervention is likely needed to determine correctly when to use it, as cost, available, method, base, second, and third usually generate cost. Typically used when a Dragon costs real money, and is used in combination with the cost parameter. E.g.,:
|cost=$99.99 {{wp|United States dollar|USD}} |special=99.99
Important for Dragons that cost real money:
- Should be Windows app price, in USD, from US/Canada that gives costs in USD.
- Enter the full price, not sale price.
- Most of the time, Legendary dragons are $99.99 USD.
- Requires other parameters for Dragons that cost real money, Athena Dragon can be used for copy/paste (changing USD and gems/duplicates cost):
|limited=? |available=Non-Standard |method={{wp|Microtransaction|In-App Purchase}} |cost=$99.99 {{wp|United States dollar|USD}} |special=99.99 |obtaining=The {{PAGENAME}} can be obtained only through an {{wp|Microtransaction|in-app purchase}} of $99.99 {{wp|United States dollar|USD}}. |additional={{duplicates|6,284}}
Biology
breeding
|
Overrides the breeding time of a regular Dragon. Used when the auto-generated breeding time does not match the in-game time. Add only the two highest units of time, and write it as x Days & x Hours
, or x Hours & x Minutes
, where x
stands for the number written in digits; then use the {{rt}}
template to indicate the full time, as in the following example: |breeding={{rt|1 Day & 4 Hours|The actual time is 1 Day, 4 Hours & 40 Minutes. The game displays only the two highest units of time.}}
hatching
|
Overrides the hatching time of a Dragon. Used when the auto-generated hatching time does not match the in-game time. Add only the two highest units of time, and write it as x Days & x Hours
, or x Hours & x Minutes
, where x
stands for the number written in digits; then use the {{rt}}
template to indicate the full time, as in the following example: |hatching={{rt|1 Day & 4 Hours|The actual time is 1 Day, 4 Hours & 40 Minutes. The game displays only the two highest units of time.}}
vipbreeding
|
Overrides the automatic VIP breeding time calculated when VIP Status is Level 2 or higher. Used when the auto-generated VIP Breeding time does not match the in-game time. Add only the two highest units of time, and write it as x Days & x Hours
, or x Hours & x Minutes
, where x
stands for the number written in digits; then use the {{rt}}
template to indicate the full time, as in the following example: |vipbreeding={{rt|1 Day & 4 Hours|The actual time is 1 Day, 4 Hours & 40 Minutes. The game displays only the two highest units of time.}}
To calculate the time, use the VIP Status Time Conversion Table.
viphatching
|
Overrides the automatic VIP hatching time calculated when VIP Status is Level 2 or higher. Used when the auto-generated VIP Breeding time does not match the in-game time. Add only the two highest units of time, and write it as x Days & x Hours
, or x Hours & x Minutes
, where x
stands for the number written in digits; then use the {{rt}}
template to indicate the full time, as in the following example: |vipbreeding={{rt|1 Day & 4 Hours|The actual time is 1 Day, 4 Hours & 40 Minutes. The game displays only the two highest units of time.}}
update
|
Used to specify the update in which the Dragon was introduced.
Page Body
style
|
Used to specify the body shape of a Dragon.
description
|
Used to specify the user-written visual description of the Dragon, which must be carefully and correctly written, following the writing standards of the Manual of Style. A small guide can be found here. This parameter must be included when creating an article, even if it means leaving it empty.
obtaining
|
Overrides information on obtaining a Dragon, normally generated by a combination of multiple parameters (usually available, method and the others that interact with the aforementioned). Additionally, if no combination of parameters can generate the description, then "The Name Dragon is" appears as the first line under the "Obtaining" section of the article.
additional
|
Used to specify (necessary) additional information about a Dragon, including additional methods of obtaining, that are not automatically given by the DragonBox. The information must be objectively written and must follow the Manual of Style. This parameter is not to be used if the obtaining parameter is also in use.
Boss Dragons
quest
|
Used to specify the quest number, in digits, that must be defeated to unlock the Boss Dragon for purchasing. Uses the same mechanics as q, but adapted for Boss Dragons.
regular
|
Used to specify the regular Dragon on which the Boss Dragon is based. Omit the word "Dragon" in the name.
Clan Dragons
powers
|
Used to specify Clan Dragon powers, exactly as written in the game. Add before the description text, the power icon present on the in-game description, per the following format: [[File:CDP Icon - IconName.png|25px]]
.
powers2
|
Used to specify a clearer description of Clan Dragon powers, that it is understandable to all users and following the Manual of Style.
cm
|
Used to specify how many times, in digits, a Clan Dragon has to be hatched through Community Hatching before it is finally obtained. This amount appears inside the Clan's Collection of Clan Dragons, on each of the Dragons' snapshot. Separate thousands using a comma.
Other
previous
|
The information may be incorrect or incomplete, and may change without warning.
Used to specify the Dragon before the current one, at the start of alphabetical order. E.g., Abyss Dragon's preceeding Dragon would be Zombie Dragon. This allows the list to be navigated in a cyclical fasion. Periodically, these need to be checked, to do so, go to Dragons and scroll down to the section that says Pages in category "Dragons".
Currently, the only Dragon that should have |previous=
is:
next
|
Used to specify the Dragon after the current one, at the end of alphabetical order. E.g., Zombie Dragon's next/following Dragon would be Abyss Dragon. This allows the list to be navigated in a cyclical fasion. Periodically, these need to be checked, to do so, go to Dragons and scroll down to the section that says Pages in category "Dragons".
Currently, the only Dragon that should have |next=
is:
Examples
Note to always use the Show preview function before saving an article. You can also experiment with this template by using the powerful template-expanding function. This function also allows modifying the template on the spot to produce varied results. The context title can be the name of the Dragon you want to create.
First
- Dragon characteristics: normally obtainable, Rare, Fire as first Element and Water as second Element, costs 1,000 Gems, Winged-Style.
{{DragonBox |codex=This Dragon came out of nowhere to save Dragolandia. Make sure you befriend it! |type=Rare |base=Fire |second=Water |available=Standard |cost=1,000 |style=winged |description= }}
Second
- Dragon characteristics: regular Card-Segment Dragon, Epic, Void as first Element, Energy as second Element, Metal as third Element, costs 50 Dragon Pieces, has a Collection section, Stout-Style.
{{DragonBox |codex=This Dragon is here to teach you how to train other Dragons! |collection=Highlanders |type=Epic |base=Void |second=Energy |third=Metal |available={{csd}} |cost=50 |style=stout |description= }}
Third
- Dragon characteristics: Enchantment-Breedable Dragon, Legendary, Legendary as first Element, Shadow as second Element, Earth as third Element, Saurian-Style, breedable in a Level 3 Den, Aurora Dragon as first parent; needs Enchantment Level 3, Heliotrope Dragon as second parent; needs Enchantment Level 5
{{DragonBox |codex=This Dragon likes to fight. |type=Legendary |base=Legendary |second=Shadow |third=Earth |den=4 |parent1=Aurora |parent2=Heliotrope |s1=3 |s2=5 |style=saurian |description= }}
Unused
switch (UNUSED)
|
Used to specify if a page should not use the {{DragonSwitch}}
template (appears at the top of each page, with arrows to the previous and next Dragon).
unlock (UNUSED)
|
Overrides the automatically generated Trainer Level, in digits, at which the Dragon's Element (or highest Element if it has multiple) is unlocked. A thorough explanation is found here.
division (UNUSED?)
|
Used to specify the division of the Dragon League, in digits, in which the Dragon is given as a promotion reward. Do not use if league has Elite
as value or/and if available has {{csd}}
as value.
unknown (UNUSED)
|
Overrides the color scheme, profile and most DragonBox parameters for a Dragon whose information is entirely unknown.
duration (UNUSED)
|
Overrides the amount of the time, in digits, the Clan Dragon power remains in effect. Omit the unit of time, such as Hours.
cooldown (UNUSED)
|
Overrides the amount of time needed to pass before a Clan Dragon's power can be used again. So far, all Clan Dragons have the same cooldown, but should the need to use this parameter arise, write the amount of time, in digits, and the unit of time with first letter capitalized.
unleash (UNUSED)
|
Used to specify the cost, in digits, needed to use a Clan Dragon's power. Separate thousands using a comma.
lb (UNUSED)
Limited Breeding events show up in a Dragon's "Events" table on-page,
|
Used to specify if a Dragon was made temporary breedable (excluding Breeding Tokens) in a Chain Breeding Event. Chain Breeding Event.