|
|
Line 27: |
Line 27: |
| }} }} }}<!--- endif parameters 9,11,13 ----> | | }} }} }}<!--- endif parameters 9,11,13 ----> |
| |}</includeonly><noinclude> | | |}</includeonly><noinclude> |
| use <code><nowiki>{{leaderboard|[Ranks1]|[rewards1]|...}}</nowiki></code> with the unnamed parameters 1-14 !!
| | {{documentation}} |
| ==Examples==
| | <!-- Add categories to the /doc subpage --> |
| <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| 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
| |
| }}</nowiki>
| |
| {{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}}
| |
| | |
| | |
| <nowiki>{{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}}
| |
| }}</nowiki>
| |
| {{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}}
| |
| }}
| |
| | |
| | |
| <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": "{{i|Premium Sigil Chest|i|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> | | </noinclude> |
Note(s)
- Use
{{leaderboard|[Ranks1]|[rewards1]|...}}
with the unnamed parameters 1-14 !!
Example(s)
{{Leaderboard|mod=n}}
gives:
1-5
|
Reward for place 1 - 5
|
6 - 10
|
150 750,000 2,250,000
|
11 - 20
|
75 375,000 1,125,000
|
21 - 100
|
20 150,000 525,000
|
{{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
}}
Gives:
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
}}
Gives:
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}}
}}
Gives:
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
}}
Gives:
1-3
|
|
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. Note: For food/gold amounts provided by GL, the highest tier / player level amount should be displayed, so multiply the base “scaleable” by 15 and entered that into the leaderboard table.
Template parameters
Parameter | Description | Type | Status |
---|
First bracket | 1 | Places for the main prize - Default
- 1-5
- Example
- 1-5
| String | required |
---|
Reward first bracket | 2 | The reward for the first bracket / first place is entered here. The {egg} parameter overrides this. - Example
- {{i|Premium Sigil Chest|i|30px}} x5
| String | required |
---|
Bracket 2 | 3 | Bracket for the reward. - Default
- 6-10
- Example
- 6-10
| String | required |
---|
Reward 2 | 4 | Reward for this bracket. - Default
- {{i|Gems}} 150 {{i|Food}} 750,000 {{i|Gold}} 2,250,000
- Example
- {{i|Gems}} 150 {{i|Food}} 750,000 {{i|Gold}} 2,250,000
| String | required |
---|
Bracket 3 | 5 | no description - Default
- 11 - 20
| String | required |
---|
Reward 3 | 6 | no description - Default
- {{i|Gems}} 75 {{i|Food}} 375,000 {{i|Gold}} 1,125,000
| String | required |
---|
Bracket 4 | 7 | no description - Default
- 21 - 100
| String | required |
---|
Reward 4 | 8 | no description - Default
- {{i|Gems}} 20 {{i|Food}} 150,000 {{i|Gold}} 525,000
| String | required |
---|
Bracket 5 | 9 | optional - Default
- [empty]
| String | optional |
---|
Reward 5 | 10 | optional - Default
- [empty]
| String | optional |
---|
Bracket 6 | 11 | optional - Default
- [empty]
| String | optional |
---|
Reward 6 | 12 | optional - Default
- [empty]
| String | optional |
---|
Bracket 7 | 13 | optional - Default
- [empty]
| String | optional |
---|
Reward 7 | 14 | optional - Default
- [empty]
| String | optional |
---|
Dragon egg | egg | If the reward is a Dragon egg, specify here. This parameter overrides {2}. - Default
- [empty]
- Example
- Fire
| String | optional |
---|
(Override, modifier text) mod | mod | no description - Example
- Provide any value to make modifier text not appear.
| Boolean | optional |
---|