Leaderboard: Difference between revisions
From Dragon Mania Legends (DML) Wiki
CrystalClear (talk | contribs) m (Move styles for better control) |
m (description; optional from bracket 5 on) |
||
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}}} | ||
|- | |- | ||
!style="width: 25%; background: #595959; text-align:center;" | {{#if:{{{9|}}}<!--- check if we have more entries --> | ||
!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}}} | ||
{{#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: 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 ----> | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
use <code><nowiki>{{leaderboard|[Ranks1]|[rewards1]|...}}</nowiki></code> with the unnamed parameters 1-14 !! | use <code><nowiki>{{leaderboard|[Ranks1]|[rewards1]|...}}</nowiki></code> with the unnamed parameters 1-14 !! | ||
Line 49: | Line 50: | ||
<nowiki>{{leaderboard | <nowiki>{{leaderboard | ||
|1-5| | |1-5| whatever | ||
|6-10|{{i|Gems}} 150 {{i|Food}} 750,000 {{i|Gold}} 2.25 M | |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 | |11-20|{{i|Gems}} 75 {{i|Food}} 375,000 {{i|Gold}} 1.12 M | ||
Line 59: | Line 60: | ||
}}</nowiki> | }}</nowiki> | ||
{{leaderboard | {{leaderboard | ||
|1-5| | |1-5| whatever | ||
|6-10|{{i|Gems}} 150 {{i|Food}} 750,000 {{i|Gold}} 2.25 M | |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 | |11-20|{{i|Gems}} 75 {{i|Food}} 375,000 {{i|Gold}} 1.12 M | ||
Line 83: | Line 84: | ||
|26-50|[[File:Basic Sigil Chest.png|30px]] | |26-50|[[File:Basic Sigil Chest.png|30px]] | ||
}} | }} | ||
[[Category:Infobox templates]]</noinclude> | |||
<nowiki>{{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 | |||
}}</nowiki> | |||
{{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 | |||
}} | |||
[[Category:Infobox templates]] | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "First bracket", | |||
"description": "Places for the main prize", | |||
"example": "1-5", | |||
"type": "string", | |||
"default": "1-5", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Reward first bracket", | |||
"description": "The reward for the first bracket / first place is entered here. The {egg} parameter overrides this.", | |||
"example": "[[File:Premium Sigil Chest.png|30px]] x5", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"3": { | |||
"label": "Bracket 2", | |||
"description": "Bracket for the reward.", | |||
"example": "6-10", | |||
"type": "string", | |||
"default": "6-10", | |||
"required": true | |||
}, | |||
"4": { | |||
"label": "Reward 2", | |||
"description": "Reward for this bracket.", | |||
"example": "{{i|Gems}} 150 {{i|Food}} 750,000 {{i|Gold}} 2,250,000", | |||
"type": "string", | |||
"default": "{{i|Gems}} 150 {{i|Food}} 750,000 {{i|Gold}} 2,250,000", | |||
"required": true | |||
}, | |||
"5": { | |||
"label": "Bracket 3", | |||
"type": "string", | |||
"default": "11 - 20", | |||
"required": true | |||
}, | |||
"6": { | |||
"label": "Reward 3", | |||
"type": "string", | |||
"default": "{{i|Gems}} 75 {{i|Food}} 375,000 {{i|Gold}} 1,125,000", | |||
"required": true | |||
}, | |||
"7": { | |||
"label": "Bracket 4", | |||
"type": "string", | |||
"default": "21 - 100", | |||
"required": true | |||
}, | |||
"8": { | |||
"label": "Reward 4", | |||
"type": "string", | |||
"default": "{{i|Gems}} 20 {{i|Food}} 150,000 {{i|Gold}} 525,000", | |||
"required": true | |||
}, | |||
"9": { | |||
"label": "Bracket 5", | |||
"description": "optional", | |||
"type": "string", | |||
"default": "[empty]" | |||
}, | |||
"10": { | |||
"label": "Reward 5", | |||
"description": "optional", | |||
"type": "string", | |||
"default": "[empty]" | |||
}, | |||
"11": { | |||
"label": "Bracket 6", | |||
"description": "optional", | |||
"type": "string", | |||
"default": "[empty]" | |||
}, | |||
"12": { | |||
"label": "Reward 6", | |||
"description": "optional", | |||
"type": "string", | |||
"default": "[empty]" | |||
}, | |||
"13": { | |||
"label": "Bracket 7", | |||
"description": "optional", | |||
"type": "string", | |||
"default": "[empty]" | |||
}, | |||
"14": { | |||
"label": "Reward 7", | |||
"description": "optional", | |||
"type": "string", | |||
"default": "[empty]" | |||
}, | |||
"egg": { | |||
"label": "Dragon egg", | |||
"description": "If the reward is a Dragon egg, specify here. This parameter overrides {2}.", | |||
"example": "Fire", | |||
"type": "string", | |||
"default": "[empty]" | |||
} | |||
}, | |||
"description": "Generates the Leaderboard with the entered parameters. If the reward for the first places is a Dragon egg, use the {{{egg}}} parameter." | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 09:24, 31 August 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 |
{{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 |
{{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 |
{{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 |