Template:ItemDestroyable: Difference between revisions

From CrossCode Wiki
Jump to navigation Jump to search
(Use <div> for location)
m (Remove `location` border on FandomMobile)
Line 1: Line 1:
<onlyinclude><includeonly>
<onlyinclude><includeonly>
|-
|- {{#if:{{{location|}}}|style="border-bottom-width: 0;"}}
| 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 9: Line 9:
{{{items}}}{{#if:{{{unlockDrops|}}}|<nowiki/>
{{{items}}}{{#if:{{{unlockDrops|}}}|<nowiki/>
{{(!}} style="margin: 0px; width: 100% !important;"
{{(!}} style="margin: 0px; width: 100% !important;"
{{!-}}
{{!}}-
{{!}} style="border-width: 0; border-left: 2px solid #AAAAAA; border-bottom: 2px solid #AAAAAA;" {{!}}
{{!}} style="border-width: 0; border-left: 2px solid #AAAAAA; border-bottom: 2px solid #AAAAAA;" {{!}}
{{!}} 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
{{!}} 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-width: 0; border-right: 2px solid #AAAAAA; border-bottom: 2px solid #AAAAAA;"{{!}}
{{!}} style="border-width: 0; border-right: 2px solid #AAAAAA; border-bottom: 2px solid #AAAAAA;"{{!}}
{{!-}}
{{!}}-
{{!}} style="border-width: 0; height: 1px !important;" {{!}}
{{!}} style="border-width: 0; height: 1px !important;" {{!}}
{{!}} style="border-width: 0; height: 1px !important;" {{!}}
{{!}} style="border-width: 0; height: 1px !important;" {{!}}

Revision as of 00:43, 17 April 2021

File:Template-info.svg Template Documentation
{| 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
50 to unlock
Commonly found everywhere. x to unlock
Omega Ball Plant
20 to unlock
Omega Water Blades
20 to unlock
Rarely found on hard to reach places near water.
Alpha Feather Bush
Commonly found everywhere where no snow falls. x to unlock
{| 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
50 to unlock
Commonly found everywhere. x to unlock
Omega Ball Plant
20 to unlock
Omega Water Blades
20 to unlock
Rarely found on hard to reach places near water.
Alpha Feather Bush
Commonly found everywhere where no snow falls. x to unlock

TemplateData

Used to list destroyable objects on location pages.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namename

The name of the destroyable object.

Contentrequired
Imageimage

no description

Filerequired
Itemsitems

Should use {{ItemLink}}

Contentrequired
Locationslocation

no description

Contentoptional
Needed to unlock dropsunlockDrops

no description

Numberoptional
Needed to unlock locationsunlockLocation

no description

Numberoptional