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

 Actions

Template

Leaderboard: Difference between revisions

From Dragon Mania Legends (DML) Wiki

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;"|{{{9|101 - 250}}}
{{#if:{{{9|}}}<!--- check if we have more entries -->
|style="width: 75%; background: #a8a8a8;"|{{{10|{{i|Gems}} 10 &nbsp;&nbsp;{{i|Food}} 37,500 &nbsp;&nbsp;&nbsp;{{i|Gold}} 300,000}}}
!style="width: 25%; background: #595959; text-align:center;"{{!}}{{{9|101 - 250}}}
{{!}}-
{{!}}style="width: 75%; background: #a8a8a8;"{{!}}{{{10|{{i|Gems}} 10 &nbsp;&nbsp;{{i|Food}} 37,500 &nbsp;&nbsp;&nbsp;{{i|Gold}} 300,000}}}
{{#if:{{{11|}}}<!--- check if we have more entries
|{{!}}-
-->|!style="width: 25%; background: #595959; text-align:center;"{{!}}{{{11|251 - 500}}}
{{#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 &nbsp;&nbsp;&nbsp;{{i|Food}} 15,000}}}
{{!}}style="width: 75%; background: #a8a8a8;"{{!}}{{{12|{{i|Gems}} 3 &nbsp;&nbsp;&nbsp;{{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 &nbsp;{{i|Food}} 750,000 &nbsp;{{i|Gold}} 2,250,000",
"type": "string",
"default": "{{i|Gems}} 150 &nbsp;{{i|Food}} 750,000 &nbsp;{{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 &nbsp;&nbsp;{{i|Food}} 375,000 &nbsp;{{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 &nbsp;&nbsp;{{i|Food}} 150,000 &nbsp;{{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 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


{{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


{{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 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 &nbsp;{{i|Food}} 750,000 &nbsp;{{i|Gold}} 2,250,000
Example
{{i|Gems}} 150 &nbsp;{{i|Food}} 750,000 &nbsp;{{i|Gold}} 2,250,000
Stringrequired
Bracket 35

no description

Default
11 - 20
Stringrequired
Reward 36

no description

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

no description

Default
21 - 100
Stringrequired
Reward 48

no description

Default
{{i|Gems}} 20 &nbsp;&nbsp;{{i|Food}} 150,000 &nbsp;{{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.