Leaderboard: Difference between revisions
From Dragon Mania Legends (DML) Wiki
m (description; optional from bracket 5 on) |
m (bugfix (we need the pipe in the #if)) |
||
Line 14: | Line 14: | ||
|style="width: 75%; background: #a8a8a8;"|{{{8|{{i|Gems}} 20 {{i|Food}} 150,000 {{i|Gold}} 525,000}}} | |style="width: 75%; background: #a8a8a8;"|{{{8|{{i|Gems}} 20 {{i|Food}} 150,000 {{i|Gold}} 525,000}}} | ||
|- | |- | ||
{{#if:{{{9|}}}<!--- check if we have more entries --> | {{#if:{{{9|}}}<!--- check if we have more entries -- | ||
!style="width: 25%; background: #595959; text-align:center;"{{!}}{{{9|101 - 250}}} | -->| !style="width: 25%; background: #595959; text-align:center;"{{!}}{{{9|101 - 250}}} | ||
{{!}}style="width: 75%; background: #a8a8a8;"{{!}}{{{10|{{i|Gems}} 10 {{i|Food}} 37,500 {{i|Gold}} 300,000}}} | {{!}}style="width: 75%; background: #a8a8a8;"{{!}}{{{10|{{i|Gems}} 10 {{i|Food}} 37,500 {{i|Gold}} 300,000}}} | ||
{{!}}- | |||
{{#if:{{{11|}}}<!--- check if we have more entries --> | {{#if:{{{11|}}}<!--- check if we have more entries -- | ||
!style="width: 25%; background: #595959; text-align:center;"{{!}}{{{11|251 - 500}}} | -->| !style="width: 25%; background: #595959; text-align:center;"{{!}}{{{11|251 - 500}}} | ||
{{!}}style="width: 75%; background: #a8a8a8;"{{!}}{{{12|{{i|Gems}} 3 {{i|Food}} 15,000}}} | {{!}}style="width: 75%; background: #a8a8a8;"{{!}}{{{12|{{i|Gems}} 3 {{i|Food}} 15,000}}} | ||
{{!}}- | |||
{{#if:{{{13|}}}<!--- check if we have more entries --> | {{#if:{{{13|}}}<!--- check if we have more entries -- | ||
!style="width: 25%; background: #595959; text-align:center;"{{!}}{{{13|501 - 2000}}} | -->| !style="width: 25%; background: #595959; text-align:center;"{{!}}{{{13|501 - 2000}}} | ||
{{!}}style="width: 75%; background: #a8a8a8;"{{!}}{{{14|{{i|Gems}} 1}}} | {{!}}style="width: 75%; background: #a8a8a8;"{{!}}{{{14|{{i|Gems}} 1}}} | ||
}} }} }}<!--- endif parameters 9,11,13 ----> | }} }} }}<!--- endif parameters 9,11,13 ----> |
Revision as of 11:27, 8 September 2022
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 | Butterfly Dragon |
---|---|
6-10 | 150 750,000 2.25 M |
11-20 | 75 375,000 1.12 M |
21-100 | 20 150,000 525,000 |
101-250 | 10 37,500 300,000 |
251-500 | 3 15,000 |
501-2000 | 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 |
---|---|
6-10 | 150 750,000 2.25 M |
11-20 | 75 375,000 1.12 M |
21-100 | 20 150,000 525,000 |
101-250 | 10 37,500 300,000 |
251-500 | 3 15,000 |
501-2000 | 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 | 5 |
11-50 | 150,000 |
51-100 | 225,000 |
Generates the Leaderboard with the entered parameters. If the reward for the first places is a Dragon egg, use the {{{egg}}} parameter.
Parameter | Description | Type | Status | |
---|---|---|---|---|
First bracket | 1 | Places for the main prize
| String | required |
Reward first bracket | 2 | The reward for the first bracket / first place is entered here. The {egg} parameter overrides this.
| String | required |
Bracket 2 | 3 | Bracket for the reward.
| String | required |
Reward 2 | 4 | Reward for this bracket.
| String | required |
Bracket 3 | 5 | no description
| String | required |
Reward 3 | 6 | no description
| String | required |
Bracket 4 | 7 | no description
| String | required |
Reward 4 | 8 | no description
| String | required |
Bracket 5 | 9 | optional
| String | optional |
Reward 5 | 10 | optional
| String | optional |
Bracket 6 | 11 | optional
| String | optional |
Reward 6 | 12 | optional
| String | optional |
Bracket 7 | 13 | optional
| String | optional |
Reward 7 | 14 | optional
| String | optional |
Dragon egg | egg | If the reward is a Dragon egg, specify here. This parameter overrides {2}.
| String | optional |