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

 Actions

Template

Template:Leaderboard

From Dragon Mania Legends (DML) Wiki

Revision as of 11:27, 8 September 2022 by Soukupmi (talk | contribs) (bugfix (we need the pipe in the #if))

use {{leaderboard|[Ranks1]|[rewards1]|...}} with the unnamed parameters 1-14 !!

Examples

{{leaderboard
 |1-5|{{i|Dragon Egg|i}} [[Butterfly Dragon]]
 |6-10|{{i|Gems}} 150 {{i|Food}} 750,000 {{i|Gold}} 2.25 M
 |11-20|{{i|Gems}} 75 {{i|Food}} 375,000 {{i|Gold}} 1.12 M
 |21-100|{{i|Gems}} 20 {{i|Food}} 150,000 {{i|Gold}} 525,000
 |101-250|{{i|Gems}} 10 {{i|Food}} 37,500 {{i|Gold}} 300,000
 |251-500|{{i|Gems}} 3 {{i|Food}} 15,000
 |501-2000|{{i|Gems}} 1
 }}
1-5 Dragon Egg Icon.png Butterfly Dragon
6-10 Gems Icon.png 150 Food Icon.png 750,000 Gold Icon.png 2.25 M
11-20 Gems Icon.png 75 Food Icon.png 375,000 Gold Icon.png 1.12 M
21-100 Gems Icon.png 20 Food Icon.png 150,000 Gold Icon.png 525,000
101-250 Gems Icon.png 10 Food Icon.png 37,500 Gold Icon.png 300,000
251-500 Gems Icon.png 3 Food Icon.png 15,000
501-2000 Gems Icon.png 1


{{leaderboard
 |1-5| whatever
 |6-10|{{i|Gems}} 150 {{i|Food}} 750,000 {{i|Gold}} 2.25 M
 |11-20|{{i|Gems}} 75 {{i|Food}} 375,000 {{i|Gold}} 1.12 M
 |21-100|{{i|Gems}} 20 {{i|Food}} 150,000 {{i|Gold}} 525,000
 |101-250|{{i|Gems}} 10 {{i|Food}} 37,500 {{i|Gold}} 300,000
 |251-500|{{i|Gems}} 3 {{i|Food}} 15,000
 |501-2000|{{i|Gems}} 1
 |egg=Butterfly
 }}
1-5 Butterfly Dragon Egg.png Butterfly Dragon
6-10 Gems Icon.png 150 Food Icon.png 750,000 Gold Icon.png 2.25 M
11-20 Gems Icon.png 75 Food Icon.png 375,000 Gold Icon.png 1.12 M
21-100 Gems Icon.png 20 Food Icon.png 150,000 Gold Icon.png 525,000
101-250 Gems Icon.png 10 Food Icon.png 37,500 Gold Icon.png 300,000
251-500 Gems Icon.png 3 Food Icon.png 15,000
501-2000 Gems Icon.png 1


{{Leaderboard
 | 1 | [[File:Premium Sigil Chest.png|30px]] x5
 | 2-3|[[File:Premium Sigil Chest.png|30px]] x3
 | 4-10|[[File:Basic Sigil Chest.png|30px]] x3
 |11-25|[[File:Basic Sigil Chest.png|30px]] x2
 |26-50|[[File:Basic Sigil Chest.png|30px]]
 }}
1 File:Premium Sigil Chest.png x5
2-3 File:Premium Sigil Chest.png x3
4-10 File:Basic Sigil Chest.png x3
11-25 File:Basic Sigil Chest.png x2
26-50 File:Basic Sigil Chest.png


{{Leaderboard
 | 1-3 | [[File:Divine Party -- A Birthday Extended Badge.png|30px]]
 | 4-10| {{i|Enchantment Ticket|i}} 5
 |11-50| {{i|Food|i}} 150,000
 |51-100|{{i|Gold|i}} 225,000
 }}
1-3 File:Divine Party -- A Birthday Extended Badge.png
4-10 Enchantment Ticket Icon.png 5
11-50 Food Icon.png 150,000
51-100 Gold Icon.png 225,000

Generates the Leaderboard with the entered parameters. If the reward for the first places is a Dragon egg, use the {{{egg}}} parameter.

Template parameters

ParameterDescriptionTypeStatus
First bracket1

Places for the main prize

Default
1-5
Example
1-5
Stringrequired
Reward first bracket2

The reward for the first bracket / first place is entered here. The {egg} parameter overrides this.

Example
[[File:Premium Sigil Chest.png|30px]] x5
Stringrequired
Bracket 23

Bracket for the reward.

Default
6-10
Example
6-10
Stringrequired
Reward 24

Reward for this bracket.

Default
{{i|Gems}} 150  {{i|Food}} 750,000  {{i|Gold}} 2,250,000
Example
{{i|Gems}} 150  {{i|Food}} 750,000  {{i|Gold}} 2,250,000
Stringrequired
Bracket 35

no description

Default
11 - 20
Stringrequired
Reward 36

no description

Default
{{i|Gems}} 75   {{i|Food}} 375,000  {{i|Gold}} 1,125,000
Stringrequired
Bracket 47

no description

Default
21 - 100
Stringrequired
Reward 48

no description

Default
{{i|Gems}} 20   {{i|Food}} 150,000  {{i|Gold}} 525,000
Stringrequired
Bracket 59

optional

Default
[empty]
Stringoptional
Reward 510

optional

Default
[empty]
Stringoptional
Bracket 611

optional

Default
[empty]
Stringoptional
Reward 612

optional

Default
[empty]
Stringoptional
Bracket 713

optional

Default
[empty]
Stringoptional
Reward 714

optional

Default
[empty]
Stringoptional
Dragon eggegg

If the reward is a Dragon egg, specify here. This parameter overrides {2}.

Default
[empty]
Example
Fire
Stringoptional
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.