Leaderboard: Difference between revisions
From Dragon Mania Legends (DML) Wiki
imported>Cryscryb2 m (Set 100% width for mobile and max-width 700 for desktop, add scrollable wrapper for very small mobile.) |
m (making the last 2 rows optional (parameters 11-14)) |
||
Line 1: | Line 1: | ||
<div class="scroll-all"> | <includeonly><div class="scroll-all"> | ||
{|class="leaderboard-table" style="border-spacing: 0px 8px; border-collapse: separate; vertical-align:middle; width:100%; max-width:700px | {|class="leaderboard-table" style="border-spacing: 0px 8px; border-collapse: separate; vertical-align:middle; width:100%; max-width:700px; color: white; font: 20px Grobold, sans-serif; text-shadow: none; background: #dfdfdf; text-shadow: 1px 1px #222222; line-height:2.2em" | ||
|- border-bottom: 8px solid #dfdfdf; | |- border-bottom: 8px solid #dfdfdf; | ||
!style="width: 25%; background: #595959; text-align:center;"|{{{1|1-5}}} | !style="width: 25%; background: #595959; text-align:center;"|{{{1|1-5}}} | ||
Line 16: | Line 16: | ||
!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; text-indent:15px;"|{{{10|{{i|Gems}} 10 {{i|Food}} 37,500 {{i|Gold}} 300,000}}} | |style="width: 75%; background: #a8a8a8; text-indent:15px;"|{{{10|{{i|Gems}} 10 {{i|Food}} 37,500 {{i|Gold}} 300,000}}} | ||
|- | {{!}}- | ||
!style="width: 25%; background: #595959; text-align:center;" | {{#if:{{{11|}}}<!--- check if we have more entries | ||
-->|!style="width: 25%; background: #595959; text-align:center;"{{!}}{{{11|251-500}}} | |||
|- | {{!}}style="width: 75%; background: #a8a8a8; text-indent:15px;"{{!}}{{{12|{{i|Gems}} 3 {{i|Food}} 15,000}}} | ||
!style="width: 25%; background: #595959; text-align:center;" | {{#if:{{{13|}}}<!--- check if we have more entries | ||
-->|{{!}}- | |||
|}</div>< | !style="width: 25%; background: #595959; text-align:center;"{{!}}{{{13|501-2000}}} | ||
{{!}}style="width: 75%; background: #a8a8a8; text-indent:15px;"{{!}}{{{14|{{i|Gems}} 1}}} | |||
{{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}} | }} }} | ||
------- | |}</div></includeonly><noinclude> | ||
{{leaderboard|1-5||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}} | use <code><nowiki>{{leaderboard|[Ranks1]|[rewards1]|...}}</nowiki></code> with the unnamed parameters 1-14 !! | ||
--->< | ==Examples== | ||
<nowiki>{{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 | |||
}}</nowiki> | |||
{{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 | |||
}} | |||
<nowiki>{{leaderboard | |||
|1-5| | |||
|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 | |||
}}</nowiki> | |||
{{leaderboard | |||
|1-5| | |||
|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}} | |||
<nowiki>{{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]] | |||
}}</nowiki> | |||
{{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]] | |||
}} | |||
[[Category:Infobox templates]]</noinclude> |
Revision as of 03:43, 23 February 2021
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| |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 |