Template:ItemInfo: Difference between revisions
Jump to navigation
Jump to search
(Use <onlyinclude>) |
m (Workaround post‑expansion page size limits) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>{| class="wikitable sortable" style=" | <onlyinclude><includeonly>{| class="wikitable sortable" style="width: 100%;" | ||
|- | |- | ||
! Name and Description | ! style="width: 15%;" | Name and Description | ||
{{#ifeq: {{ | {{#ifeq:{{WsBool|{{{removedItems|}}}}}|0|<!-- | ||
! class="unsortable"{{!}} {{# | -->! class="unsortable" style="width: 15%;" {{!}} <!-- | ||
! class="unsortable"{{!}} {{#ifeq: {{ | -->{{#vardefine:itemInfo-isRemoved|0}}<!-- | ||
! class="unsortable" {{!}} | -->{{#vardefine:itemInfo-hasUsesColumn|1}}<!-- | ||
! class="unsortable" {{!}} | -->{{#ifeq:{{WsBool|{{{effect|}}}}}|1<!-- | ||
-->|Effects and Uses<!-- | |||
-->|{{#ifeq: {{WsBool|{{{prop|}}}}}|1<!-- | |||
-->|Properties and Uses<!-- | |||
-->|{{#ifeq: {{WsBool|{{{trade|}}}}}|1<!-- | |||
-->|Uses and Sources<!-- | |||
-->|Uses<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->}} | |||
! class="unsortable" style="width: 70%;" {{!}}<!-- | |||
-->{{#ifeq:{{WsBool|{{{trade|}}}}}|1<!-- | |||
-->|Trade Recipes<!-- | |||
-->|How to Find<!-- | |||
-->}} | |||
|<!-- removedItems == true --><!-- | |||
-->! class="unsortable" <!-- | |||
-->{{#vardefine:itemInfo-isRemoved|1}}<!-- | |||
-->{{#ifeq:{{WsBool|{{{effect|}}}}}|1<!-- | |||
-->|style="width: 15%;" {{!}} Effects and Uses | |||
! class="unsortable" style="width: 70%;" {{!}} {{#vardefine:itemInfo-hasUsesColumn|1}}<!-- | |||
-->|{{#ifeq:{{WsBool|{{{prop|}}}}}|1<!-- | |||
-->|style="width: 15%;" {{!}} Properties and Uses | |||
! class="unsortable" style="width: 70%;" {{!}} {{#vardefine:itemInfo-hasUsesColumn|1}}<!-- | |||
-->|{{#ifeq:{{WsBool|{{{use|}}}}}|1<!-- | |||
-->|style="width: 15%;" {{!}} Uses | |||
! class="unsortable" style="width: 70%;" {{!}} {{#vardefine:itemInfo-hasUsesColumn|1}}<!-- | |||
-->|style="width: 85%;" {{!}} {{#vardefine:itemInfo-hasUsesColumn|0}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->}} <!-- | |||
-->Notes<!-- | |||
-->}} | |||
|- | |- | ||
{{{1}}} | {{{1}}} | ||
|}</includeonly></onlyinclude> | |}<!-- | ||
-->{{#vardefine:itemInfo-isRemoved}}<!-- | |||
-->{{#vardefine:itemInfo-hasUsesColumn}}<!-- | |||
--></includeonly></onlyinclude> | |||
{{Doc}} | {{Doc}} |
Latest revision as of 19:08, 7 May 2021
Examples
Name and Description | Effects and Uses | How to Find | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A simple lunch for travels. Heals 15% of max HP.
|
|
| |||||||||
|
| ||||||||||
A delicious meal for fine adventurers. Heals 50% of max HP.
|
|
|
Name and Description | Notes |
---|---|
Has no real effect, but using it might make you feel better. Sadly, you can't right now.
|
Placeholder for consumable items before they were implemented. Removed in v0.1.3. Old saves replace them with |
Name and Description | Properties and Uses | Notes |
---|---|---|
An extremely rare weapon created by a paramilitary organization of unknown origin.
|
![]() ![]() ![]() ![]() |
Replaced by the LV17 |
{{ItemInfo| {{ItemInfo/entry | name = Sandwich | desc = A simple lunch for travels. Heals 15% of max HP. | use = * HP +15% | find = * Sold by [[Carla Salvatore|Carla]] for 100 Credits * Sold by the [[Rookie Harbor]] item shop for 100 Credits * Find x3 in chest in [[Rhombus Dungeon]] * Find x5 in chest in [[Autumn's Rise]] * Find x3 in chest in [[Autumn's Rise]] * Dropped by [[Hedgehag]] (high-rank) * Reward for the {{QuestLink|Round and Round}} quest in [[Autumn's Rise]] }} {{ItemInfo/entry | name = Hi-Sandwich | use = * HP +30% | find = * Sold by Carla for 300 Credits * Sold by the Rookie Harbor item shop for 300 Credits * Find x5 in chest in Autumn's Rise * Dropped by [[Rockin' Hillkat]], [[Flamin' Hillkat]] (both high-rank) * Reward for the {{QuestLink|Petty Crime Hunter}} quest in Rookie Harbor x3 * Reward for the {{QuestLink|Round and Round}} quest in Autumn's Rise }} {{ItemInfo/entry | name = Chef Sandwich | desc = A delicious meal for fine adventurers. Heals 50% of max HP. | use = * HP +50% | find = * Sold by the Rookie Harbor item shop for 700 Credits (after reaching [[Bergen Trail]]) * Sold by the Bergen Village item shop for 700 Credits * Find x6 in chest in Bergen Trail * Reward for the {{QuestLink|Round and Round}} quest in Autumn's Rise * Trade | trade = {{TradeTable| {{TradeTable/Entry | Chef Sandwich | 1 | Veggie Set | 1 | Fruit Set | 1 | location = [[Rookie Harbor]] Marketplace | cost = 420 | storeInCargo = 0 }} }} }} | effect = 1 }} <br /> {{ItemInfo| {{ItemInfo/entry | name = Placebotion | desc = Has no real effect, but using it might make you feel better. Sadly, you can't right now. | note = Placeholder for consumable items before they were implemented. Removed in v0.1.3. Old saves replace them with {{nowrap|{{ItemLink|Mega-Sandwich|nowrap=0}}es}}. }} | removedItems = 1 }} <br /> {{ItemInfo| {{ItemInfo/entry | name = Brostick of Force | desc = An extremely rare weapon created by a paramilitary organization of unknown origin. | use = {{StatsList | maxHP = +23 | atk = +10 | def = +2 | ironStance = +5 }} | note = Replaced by the {{ItemLink|Battered Fist}} in v0.2.0, but can still be carried forward from old savegames. }} | prop = 1 | removedItems = 1 }}
There are no line breaks needed. But these are recommended to improve the legibility of the code.
Name and Description | Effects and Uses | How to Find |
---|---|---|
A simple lunch for travels. Heals 15% of max HP.
|
|
|
|
|
{{ItemInfo|{{ItemInfo/entry|name=Sandwich|icon=Sandwich_FoodIcon|desc=A simple lunch for travels. Heals 15% of max HP.|use=*HP +15%|find=*Sold by [[Carla Salvatore|Carla]] for 100 Credits *Sold by the [[Rookie Harbor]] item shop for 100 Credits *Find x3 in chest in [[Rhombus Dungeon]] *Find x5 in chest in [[Autumn's Rise]] *Find x3 in chest in [[Autumn's Rise]] *Dropped by [[Hedgehag]] (high-rank) *Reward for the ''Round and Round'' quest in Autumn's Rise}}{{ItemInfo/entry|name=Hi-Sandwich|icon=Sandwich_FoodIcon|effect=*HP +30%|find=*Sold by Carla for 300 Credits *Sold by the Rookie Harbor item shop for 300 Credits *Find x5 in chest in Autumn's Rise *Dropped by [[Rockin' Hillkat]], [[Flamin' Hillkat]] (both high-rank) *Reward for the ''Petty Crime Hunter'' quest in Rookie Harbor x3 *Reward for the ''Round and Round'' quest in Autumn's Rise}}|effect=1}}
(The begin of Hi-Sandwich is harder to find)
Different Table Types
Name and Description | Notes |
---|
{{ItemInfo| | removedItems = 1 }}
Name and Description | Effects and Uses | Notes |
---|
{{ItemInfo| | removedItems = 1 | effect = 1 }}
Name and Description | Properties and Uses | Notes |
---|
{{ItemInfo| | removedItems = 1 | prop = 1 }}
Name and Description | Uses | Notes |
---|
{{ItemInfo| | removedItems = 1 | use = 1 }}
Name and Description | Effects and Uses | How to Find |
---|
{{ItemInfo| | effect = 1 }}
Name and Description | Properties and Uses | How to Find |
---|
{{ItemInfo| | prop = 1 }}
Name and Description | Uses and Sources | Trade Recipes |
---|
{{ItemInfo| | trade = 1 }}
Name and Description | Uses | How to Find |
---|
{{ItemInfo| }}
TemplateData
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Content | 1 | Use {{ItemInfo/entry}} | Content | required |
Removed Items | removedItems | Whether the table lists removed items.
| Boolean | optional |
Has Effects | effect | Whether the second column lists "Effects" alongside "Uses".
| Boolean | optional |
Has Properties | prop | Whether the second column lists "Properties" alongside "Uses".
| Boolean | optional |
Is Trade | trade | Whether this table is for Trades by Component.
| Boolean | optional |
Show Uses | use | Whether to show the "Uses" column.
| Boolean | optional |