Leaderboard: Difference between revisions
From Dragon Mania Legends (DML) Wiki
CrystalClear (talk | contribs) m (Who knew the missing one would be in the template data text lol) |
CrystalClear (talk | contribs) (Most CSS moved to global styles) |
||
Line 2: | Line 2: | ||
{|class="leaderboard-table" | {|class="leaderboard-table" | ||
|- border-bottom: 8px solid #dfdfdf; | |- border-bottom: 8px solid #dfdfdf; | ||
!style="width: 25% | !style="width: 25%;"|{{{1|1-5}}} | ||
|style="width: 75% | |style="width: 75%;"|{{#if:{{{egg|}}}|[[File:{{{egg|}}} Dragon Egg.png|25px]] [[{{{egg}}} Dragon|<font color="white">{{{egg}}} Dragon</font>]]|{{{2|''Reward for place 1 - 5''}}}}} | ||
|- | |- | ||
!style="width: 25% | !style="width: 25%;"|{{{3|6 - 10}}} | ||
|style="width: 75% | |style="width: 75%;"|{{{4|{{i|Gems}} 150 {{i|Food}} 750,000 {{i|Gold}} 2,250,000}}} | ||
|- | |- | ||
!style="width: 25% | !style="width: 25%;"|{{{5|11 - 20}}} | ||
|style="width: 75% | |style="width: 75%;"|{{{6|{{i|Gems}} 75 {{i|Food}} 375,000 {{i|Gold}} 1,125,000}}} | ||
|- | |- | ||
!style="width: 25% | !style="width: 25%;"|{{{7|21 - 100}}} | ||
|style="width: 75% | |style="width: 75%;"|{{{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% | -->| !style="width: 25%;"{{!}}{{{9|101 - 250}}} | ||
{{!}}style="width: 75% | {{!}}style="width: 75%;"{{!}}{{{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% | -->| !style="width: 25%; text-align:center;"{{!}}{{{11|251 - 500}}} | ||
{{!}}style="width: 75% | {{!}}style="width: 75%;"{{!}}{{{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% | -->| !style="width: 25%;"{{!}}{{{13|501 - 2000}}} | ||
{{!}}style="width: 75% | {{!}}style="width: 75%;"{{!}}{{{14|{{i|Gems}} 1}}} | ||
}} }} }}<!--- endif parameters 9,11,13 ----> | }} }} }}<!--- endif parameters 9,11,13 ----> | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> |
Revision as of 12:25, 27 February 2023
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 |{{i|Premium Sigil Chest|i|30px}} x5 | 2-3|{{i|Premium Sigil Chest|i|30px}} x3 | 4-10|{{i|Basic Sigil Chest|i|30px}} x3 |11-25|{{i|Basic Sigil Chest|i|30px}} x2 |26-50|{{i|Basic Sigil Chest|i|30px}} }}
1 | x5 |
---|---|
2-3 | x3 |
4-10 | x3 |
11-25 | x2 |
26-50 |
{{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 |