Leaderboard: Difference between revisions
From Dragon Mania Legends (DML) Wiki
imported>Soukupmi No edit summary |
imported>Cryscryb2 m (Set 100% width for mobile and max-width 700 for desktop, add scrollable wrapper for very small mobile.) |
||
Line 1: | Line 1: | ||
{|class="leaderboard-table" style="border-spacing: 0px 8px; border-collapse: separate; vertical-align:middle; width: 700px; height: 371px; color: white; font: 20px Grobold, sans-serif; text-shadow: none; background: #dfdfdf; text-shadow: 1px 1px #222222; line-height:1.6em" | <div class="scroll-all"> | ||
{|class="leaderboard-table" style="border-spacing: 0px 8px; border-collapse: separate; vertical-align:middle; width:100%; max-width:700px; height: 371px; color: white; font: 20px Grobold, sans-serif; text-shadow: none; background: #dfdfdf; text-shadow: 1px 1px #222222; line-height:1.6em" | |||
|- 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 21: | Line 22: | ||
!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; text-indent:15px;"|{{{14|{{i|Gems}} 1}}} | |style="width: 75%; background: #a8a8a8; text-indent:15px;"|{{{14|{{i|Gems}} 1}}} | ||
|}<!--- use {{leaderboard|[Ranks1]|[rewards1]|...}}; unnamed parameters 1-14 !! | |}</div><!--- use {{leaderboard|[Ranks1]|[rewards1]|...}}; unnamed parameters 1-14 !! | ||
example: | example: | ||
{{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}} | {{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}} |