Template:ItemDestroyable: Difference between revisions
Jump to navigation
Jump to search
(Miscellaneous fixes and allow file name in `image` parameter) |
(Use <div> for location) |
||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>|- | <onlyinclude><includeonly> | ||
|- | |||
| style="border-right-width: 0;{{#if:{{{location|}}}|<nowiki/> border-bottom-width: 0;}}"|{{#ifeq:[[{{#sub:{{{image}}}|2|-2}}]]|{{{image}}} | | style="border-right-width: 0;{{#if:{{{location|}}}|<nowiki/> border-bottom-width: 0;}}"|{{#ifeq:[[{{#sub:{{{image}}}|2|-2}}]]|{{{image}}} | ||
| {{{image}}} | | {{{image}}} | ||
Line 17: | Line 18: | ||
{{!)}} | {{!)}} | ||
}} | }} | ||
{{#if:{{{location|}}}| | {{#if:{{{location|}}}| | ||
{{!}}- | |||
{{!}} colspan="3" style="border-top: 0px;" {{!}} | {{!}} colspan="3" style="border-top: 0px;" {{!}} | ||
<div style="border-top: 2px dotted #AAA; padding: 1px; padding-top: 5px; margin: 2px;" | |||
>[[File:Loc-Icon.png]] {{{location}}}{{#if:{{{unlockLocation|}}} | |||
|<nowiki/> <sub>{{nowrap|{{{unlockLocation}}} to unlock}}</sub> | |||
|<nowiki/> <sub>{{nowrap|{{{unlockLocation}}} to unlock}}</sub>}} | }}</div>}} | ||
|- | |||
</includeonly></onlyinclude> | |||
{{Doc}} | {{Doc}} |
Revision as of 00:14, 17 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 |