Template:Item: Difference between revisions

From Create: Minecraft Mod Wiki
Jump to navigation Jump to search
Create: Minecraft Mod Wiki>FANDOM
No edit summary
 
Create: Minecraft Mod Wiki>Joker876
No edit summary
Line 1: Line 1:
<infobox type="Item">
<infobox type="Item">
<title source="title"/>
<title source="title">
<image source="image"><caption source="imagecaption"/></image>
<default>{{PAGENAME}}</default>
<data source="type"><label>Type</label></data>
</title>
<data source="effects"><label>Effects</label></data>
<image source="image">
<data source="source"><label>Source</label></data>
<default>{{PAGENAME}}.png</default>
<data source="buy"><label>Cost to buy</label></data>
</image>
<data source="sell"><label>Cost to sell</label></data>
<data source="type">
<label>Type</label>
</data>
<data source="rarity">
<label>[[Rarity]]</label>
</data>
<data source="durability">
<label>[[w:c:minecraft:Item Durability|Durability]]</label>
</data>
<data source="renewable">
<label>[[Renewable resource|Renewable]]</label>
<default>[[Category:Missing renewability]]</default>
</data>
<data source="stackable">
<label>Stackable</label>
<default>[[Category:Missing stackability]]</default>
</data>
<data source="restores">
<label>[[Food Items|Restores]]</label>
</data>
</infobox><includeonly>[[Category:Items]]</includeonly><noinclude>{{Documentation}}</noinclude>
</infobox><includeonly>[[Category:Items]]</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 14:13, 13 April 2021

[view | edit | history | purge]Documentation

Description

To use this template, add the {{Item}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses Fandom's infobox syntax.

Syntax

Parameter R? Type Description Default
title
No
/
The title of the infobox. {{PAGENAME}}
image
No
/
The image. {{PAGENAME}}.png
slot
No
/
The item(s) in the slot underneath the image. Set to none to remove. Accepts any input. {{Slot|{{PAGENAME}}}}
type
No
/
The type of the item. Example inputs are "Material", "Tool", "Food", etc. Item
rarity
No
/
The Rarity of the item.
durability
No
/
The durability of the item, if applicable.
renewable
Yes
/
Whether or not the item is Renewable. ?
stackable
Yes
/
Whether or not the item is Stackable. Accepts inputs such as Yes (64). ?
restores
No
/
The amount of Hunger restored by the food item, if applicable.
effects
No
/
The Status effects given upon consuming the food item, if applicable.
[view | edit | history | purge]The above documentation is transcluded from Template:Item/doc.