Template:Island: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
Line 27: | Line 27: | ||
-->| 60 = [[File:Fishing Level 60+.png|x32px|center|link=]]<format></br><center>'''Fishing Level 60'''</center></format><!-- | -->| 60 = [[File:Fishing Level 60+.png|x32px|center|link=]]<format></br><center>'''Fishing Level 60'''</center></format><!-- | ||
</data> | </data> | ||
</group> | |||
<data source="added"> | <data source="added"> | ||
<format><center>Added in [[{{{added}}}]]<br />({{PatchDate|{{{added}}}}})</center></format> | <format><center>Added in [[{{{added}}}]]<br />({{PatchDate|{{{added}}}}})</center></format> | ||
Line 51: | Line 51: | ||
"params": { | "params": { | ||
"added": { | "added": { | ||
"description": "Patch (& date) the | "description": "Patch (& date) the island was added", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
Line 58: | Line 58: | ||
"description": "Give the infobox a custom title (defaults to page name)", | "description": "Give the infobox a custom title (defaults to page name)", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"icon": { | "icon": { | ||
Line 92: | Line 87: | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | |||
"trophies": { | |||
"description": "The total number of trophies obtainable on the island", | |||
"type": "number", | |||
"suggested": true | |||
} | } | ||
}, | }, |
Revision as of 12:55, 11 December 2024
There is a problem with parsing the infobox
-
0
-
1<title source="title">
-
2<default>{{PAGENAME}}</default>
-
3</title>
-
4<data source="icon"><format>{{AFix|{{{image}}}|270px}}</format>
-
5</data>
-
6<group>
-
7<header><center>Details</center></header>
-
8<data source="climate">
-
9<format>{{#switch: {{lc:{{{climate}}}}}<!--
-
10-->| temperate = [[File:Icon-Verdant Woods.png|x32px|center|link=]]</br><center>'''Temperate Climate'''</center> [[Category:Temperate]]<!--
-
11-->| tropical = [[File:Icon-Tropical Overgrowth.png|x32px|center|link=]]</br><center>'''Tropical Climate'''</center> [[Category:Tropical]]<!--
-
12-->| barren = [[File:Ancient Sands.png|x32px|center|link=]]</br><center>'''Barren Climate'''</center> [[Category:Barren]]}}</format>
-
13</data>
-
14<group layout="horizontal">
-
15<data source="requiredlevel">
-
16<label>Required Level</label>
-
17{{#switch: {{lc:{{{requiredlevel}}}}}<!--
-
18-->| 0 = [[File:Fishing Level 0+.png|x32px|center|link=]]<format></br><center>'''Unlocked by default'''</center></format><!--
-
19-->| 10 = [[File:Fishing Level 10+.png|x32px|center|link=]]<format></br><center>'''Fishing Level 10'''</center></format><!--
-
20-->| 20 = [[File:Fishing Level 20+.png|x32px|center|link=]]<format></br><center>'''Fishing Level 20'''</center></format><!--
-
21-->| 30 = [[File:Fishing Level 30+.png|x32px|center|link=]]<format></br><center>'''Fishing Level 30'''</center></format><!--
-
22-->| 40 = [[File:Fishing Level 40+.png|x32px|center|link=]]<format></br><center>'''Fishing Level 40'''</center></format><!--
-
23-->| 45 = [[File:Fishing Level 40+.png|x32px|center|link=]]<format></br><center>'''Fishing Level 45'''</center></format><!--
-
24-->| 50 = [[File:Fishing Level 50+.png|x32px|center|link=]]<format></br><center>'''Fishing Level 50'''</center></format><!--
-
25-->| 55 = [[File:Fishing Level 50+.png|x32px|center|link=]]<format></br><center>'''Fishing Level 55'''</center></format><!--
-
26-->| 60 = [[File:Fishing Level 60+.png|x32px|center|link=]]<format></br><center>'''Fishing Level 60'''</center></format><!--
-
27</data>
-
28</group>
-
29<data source="added">
-
30<format><center>Added in [[{{{added}}}]]<br />({{PatchDate|{{{added}}}}})</center></format>
-
31</data>
-
32<group>
-
33<header><center>Total Fish</center></header>
-
34<data source="totalfish">
-
35<format><center>{{{totalfish}}}</center></format>
-
36</data>
-
37</group>
-
38<group layout="horizontal">
-
39<header><center>Value</center></header>
-
40<data source="trophies">
-
41<label>Total</label>
-
42{{#switch: {{{{lc:{{{trophies}}}}<!--
-
43<format><center>1,620 {{Angler Trophy}}</center></format>
-
44</data>
-
45</group>
-
46
Creates a Fishing Island infobox
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | Give the infobox a custom title (defaults to page name) | String | optional |
icon | icon | Icon of the Island | File | suggested |
climate | climate | The climate the island is in
| String | required |
requiredlevel | requiredlevel | Level required to unlock Fishing Island | String | required |
added | added | Patch (& date) the island was added | String | suggested |
totalfish | totalfish | The total number of fish obtainable on the island
| Number | required |
trophies | trophies | The total number of trophies obtainable on the island | Number | suggested |