Template:ItemDestroyable: Difference between revisions
Jump to navigation
Jump to search
Streetclaw (talk | contribs) (mobile screen width fix) |
(Miscellaneous fixes and allow file name in `image` parameter) |
||
Line 1: | Line 1: | ||
<includeonly>|- | <onlyinclude><includeonly>|- | ||
|style="border-right: | | style="border-right-width: 0;{{#if:{{{location|}}}|<nowiki/> border-bottom-width: 0;}}"|{{#ifeq:[[{{#sub:{{{image}}}|2|-2}}]]|{{{image}}} | ||
|style="border-left: | | {{{image}}} | ||
|style="border-bottom: | | [[{{#if:{{#pos:{{{image}}}|:}}|{{{image}}}|File:{{{image}}}}}|center|frameless]] | ||
{{{items}}}{{#if:{{{unlockDrops|}}}| | }} | ||
{{ | | style="border-left-width: 0;{{#if:{{{location|}}}|<nowiki/> border-bottom-width: 0;}}" | {{{name}}} | ||
| {{#if:{{{location|}}}|style="border-bottom-width: 0;"}} | | |||
{{{items}}}{{#if:{{{unlockDrops|}}}|<nowiki/> | |||
{{(!}} style="margin: 0px; width: 100% !important;" | |||
{{!-}} | {{!-}} | ||
{{!}}style="border: | {{!}} style="border-width: 0; border-left: 2px solid #AAAAAA; border-bottom: 2px solid #AAAAAA;" {{!}} | ||
{{!}}rowspan="2" style="border: | {{!}} rowspan="2" style="border-width: 0; text-align:center; color: #AAAAAA; font-size: 9pt; width: 1px !important; height: 1px !important; white-space: nowrap;" class="nowrap" {{!}} {{{unlockDrops}}} to unlock | ||
{{!}}style="border: | {{!}} style="border-width: 0; border-right: 2px solid #AAAAAA; border-bottom: 2px solid #AAAAAA;"{{!}} | ||
{{!-}} | {{!-}} | ||
{{!}}style="border: | {{!}} style="border-width: 0; height: 1px !important;" {{!}} | ||
{{!}}style="border: | {{!}} style="border-width: 0; height: 1px !important;" {{!}} | ||
{{! | {{!)}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{location|}}}| | {{#if:{{{location|}}}| | ||
{{!}} colspan="3" style="border-top: 0px;" {{!}} | {{!}} colspan="3" style="border-top: 0px;" {{!}} | ||
{{ | {{(!}} style="margin: 0px; width: 100% !important;" | ||
{{!-}} | {{!-}} | ||
{{!}} style="border: 0px; border-top: 2px dotted #AAAAAA; padding: 5px 1px 1px 1px; width: 100% !important;" {{!}} [[File:Loc-Icon.png]] {{{location}}}{{#if:{{{unlockLocation|}}}| <sub>{{{unlockLocation}}} to unlock</sub>}} | {{!}} style="border: 0px; border-top: 2px dotted #AAAAAA; padding: 5px 1px 1px 1px; width: 100% !important;" {{!}} [[File:Loc-Icon.png]] {{{location}}}{{#if:{{{unlockLocation|}}} | ||
{{! | |<nowiki/> <sub>{{nowrap|{{{unlockLocation}}} to unlock}}</sub>}} | ||
}}</includeonly> | {{!)}} | ||
}}</includeonly></onlyinclude> | |||
{{Doc}} | |||
</ | |||
Revision as of 01:16, 16 April 2021
{| class="wikitable" ! colspan="2" style="text-align:center" | Destroyable ! Contents {{ItemDestroyable | name = Alpha Ball Plant | image = [[File:Autumn-Ground-1.png|center]] | location = Commonly found everywhere. | unlockLocation = x | items = * {{ItemLink|Autumn Leaves}} (12 %) * {{ItemLink|Season Apples}} (8 %) |unlockDrops = 50 }} {{ItemDestroyable | name = Omega Ball Plant | image = [[File:Autumn-Special.png|center]] | unlockLocation = x | items = * {{ItemLink|Season Apples}} (70 %) * {{ItemLink|Bear Cicada}} (30 %) | unlockDrops = 20 }} {{ItemDestroyable | name = Omega Water Blades | image = [[File:Autumn-Water-Special.png|center]] | location = Rarely found on hard to reach places near water. | items = * {{ItemLink|Twilight Dew}} (70 %) * {{ItemLink|Azure Dragonfly}} (30 %) | unlockDrops = 20 }} {{ItemDestroyable | name = Alpha Feather Bush | image = [[File:BergenTrail-Grass-1.png|center]] | location = Commonly found everywhere where no snow falls. | unlockLocation = x | items = * {{ItemLink|Feather Leaf}} (12 %) * {{ItemLink|Rusty Bits}} (8 %) }} |}
Destroyable | Contents | ||||||
---|---|---|---|---|---|---|---|
![]() |
Alpha Ball Plant |
| |||||
| |||||||
![]() |
Omega Ball Plant |
| |||||
![]() |
Omega Water Blades |
| |||||
| |||||||
![]() |
Alpha Feather Bush |
| |||||
|
{| class="wikitable" ! colspan="2" style="text-align:center" | Destroyable ! Contents {{ItemDestroyable|name=Alpha Ball Plant|image=Autumn-Ground-1.png|location=Commonly found everywhere.|unlockLocation=x|items=* {{ItemLink|Autumn Leaves}} (12 %) * {{ItemLink|Season Apples}} (8 %)|unlockDrops=50}}{{ItemDestroyable|name=Omega Ball Plant|image=[[File:Autumn-Special.png|center]]|unlockLocation=x|items=* {{ItemLink|Season Apples}} (70 %) * {{ItemLink|Bear Cicada}} (30 %)|unlockDrops=20}}{{ItemDestroyable|name=Omega Water Blades|image=Autumn-Water-Special.png|location=Rarely found on hard to reach places near water.|items=* {{ItemLink|Twilight Dew}} (70 %) * {{ItemLink|Azure Dragonfly}} (30 %)|unlockDrops=20}}{{ItemDestroyable|name=Alpha Feather Bush|image=BergenTrail-Grass-1.png|location=Commonly found everywhere where no snow falls.|unlockLocation=x|items=* {{ItemLink|Feather Leaf}} (12 %) * {{ItemLink|Rusty Bits}} (8 %)}} |}
Destroyable | Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Alpha Ball Plant |
| |||||||||
|
![]() |
Omega Ball Plant |
| ||||||||
![]() |
Omega Water Blades |
| |||||||||
|
![]() |
Alpha Feather Bush |
| ||||||||
|
TemplateData
Used to list destroyable objects on location pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the destroyable object. | Content | required |
Image | image | no description | File | required |
Items | items | Should use {{ItemLink}} | Content | required |
Locations | location | no description | Content | optional |
Needed to unlock drops | unlockDrops | no description | Number | optional |
Needed to unlock locations | unlockLocation | no description | Number | optional |