Template:Item declare: Difference between revisions

From Everafter Falls Wiki

No edit summary
mNo edit summary
 
(27 intermediate revisions by the same user not shown)
Line 5: Line 5:
_table=Items
_table=Items
|Name=String
|Name=String
|Image=File
|Description=Wikitext
|Description=Wikitext
|Type=String
|Type=String
|Source=Wikitext
|Source=Wikitext
|Collection=String
|Collection=String(hierarchy;allowed values=*Cooking
**Raw Bases
**Classic Recipes
**Breakfast Recipes
**Pizza Recipes
**Sushi Recipes
**Dessert Recipes
**Soup Recipes
**Sandwich and Burger Recipes
*Museum
**Fish
***Tiny Fish
***Koi
***Angel Fish
***Ocean Fish
***Cool Fish
***Purple Fish
***Rainbow Fish
***Sea Animals
**Shells
***Common Shells
***Conch Shells
***Starfish
***Ammonites
***Rare Shells
**Common Critters
**Frogs
***Tiny Frogs
***Mid Sized Frogs
***Giant Frogs
***Iridescent Frogs
**Flutterflies
***Tiny Flutterflies
***Mid Sized Flutterflies
***Giant Flutterflies
***Iridescent Flutterflies
**Dragonflies
***Tiny Dragonflies
***Mid Sized Dragonflies
***Giant Dragonflies
***Iridescent Dragonflies
**Minerals
***Opals
***Shards and Spheres
***Strange Stones
***Amazing Stones
***Metallic Ores
***Gems and Minerals
**Mushrooms
***Shroom Delicacies
***Shrooms Of Everafter
***Saprophytic Shrooms
**Plants and Seeds
***Tree Seeds
***Vegetable Crops
***Berries
***Crop Fruits
***Tree Fruits
***Wild Plants
***Water Plants
***Giant Water Plants
***Flowers
**Tree Sap
**Fresh Animal Produce
**Processed Food Produce
**Processed Sap)
|Machine=String
|Machine=String
|Mat1=String
|Mat1=String
Line 20: Line 86:
|Mat5=String
|Mat5=String
|Amt5=Integer
|Amt5=Integer
|AmtCrafted=Integer
|CraftTime=String
|CraftTime=String
|Season=String
|Size=String
|GrowthTime=String
|Season=Wikitext
|Location=Wikitext
|Rarity=Integer
|SpawnSummer=Boolean
|SpawnAutumn=Boolean
|SpawnWinter=Boolean
|SpawnSpring=Boolean
|GrowthTime=Integer
|RegrowthTime=Integer
|BuyPrice=Wikitext
|BuyPrice=Wikitext
|SellPrice=Integer
|SellPrice=Integer
}}</noinclude>
|CrushOutput=Integer
<infobox>
|SoldAt=String
<title source="name">
|SortIndex=Integer
    <default>{{PAGENAME}}</default>
|Stats=Wikitext
  </title>
|Slot=String
  <image source="image">
|StacksTo=Integer
    <default>{{{name|{{PAGENAME}}}}}.png</default>
|Misc=Wikitext
  </image>
}}[[Category:Cargo templates]]</noinclude>
<group layout="horizontal">
    <data source="description"><format>''{{{description}}}''</format></data>
</group>
<group>
    <data source="type"><label>Type</label><default>''Unknown''</default></data>
    <data source="source"><label>Source</label><default>''Unknown''</default></data>
    <data source="collection"><label>Collection</label><format>{{#switch: {{lc:{{{collection|}}}}}
        | sushi | dessert | pizza | classic | breakfast = [[Bakery#{{ucfirst:{{{collection|}}}}}|{{ucfirst:{{{collection|}}}}}]]
        | #default = [[Museum#{{ucfirst:{{{collection|}}}}}|{{ucfirst:{{{collection|}}}}}]]
        }}</format>
</data>
</group>
<group>
    <header>Crafting</header>
    <data source="machine"><label>Machine</label><format>{{i|{{{machine}}}}}</format></data>
    <data source="mat1"><label>Recipe</label><format>{{i|{{{mat1}}}|{{{amt1|1}}}}}{{#if:{{{mat2|}}}|{{i|{{{mat2}}}|{{{amt2|1}}}}}}}{{#if:{{{mat3|}}}|{{i|{{{mat3}}}|{{{amt3|1}}}}}}}{{#if:{{{mat4|}}}|{{i|{{{mat4}}}|{{{amt4|1}}}}}}}{{#if:{{{mat5|}}}|{{i|{{{mat5}}}|{{{amt5|1}}}}}}}</format></data>
    <data source="time"><label>Time</label></data>
</group>
<group>
    <header>Farming</header>
    <data source="season"><label>Season</label></data>
    <data source="growth"><label>Growth time</label></data>
</group>
<group layout="horizontal">
    <header>Economy</header>
    <data source="buy"><label>Buy price</label></data>
    <data source="sell"><label>Sell price</label><format>{{formatnum:{{{sell|}}}}}{{coin}}</format><default>''Cannot be sold''</default></data>
</group>
</infobox><noinclude>[[Category:Infobox templates]]</noinclude>

Latest revision as of 19:39, 30 March 2025

This template defines the table "Items". View table.