Template:Item: Difference between revisions

Template page
StardustLabs>Tera458
No edit summary
No edit summary
Tag: Manual revert
 
(2 intermediate revisions by one other user not shown)
(No difference)

Latest revision as of 20:26, 27 May 2024

Displays an infobox with basic info about an item.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
imageimage

Forces an image not based on the title of the page, useful for putting a GIF. You can also create a diaporama by putting ";" between the images names.

Unknownoptional
pageimagepageimage

Forced .png or .gif set to appear for the page popup and SEO. Obligatory if " ; " is used in the "image" string.

Unknownoptional
image2image2

Adds a second image under the first one. You can also create a diaporama by putting ";" between the images names.

Unknownoptional
baseitembaseitem

What is the base item of the custom item (auto links to the Minecraft Wiki)

Example
Diamond sword
Unknownrequired
durabilitydurability

Indicates the item durability, keep empty if there is none.

Example
465
Unknownsuggested
baseenchantsbaseenchants

Enchants that comes with the item, keep empty if there is none.

Example
Mending<br>Power II
Auto value
Unknownsuggested
attack damageattack damage

Average damage the weapon can inflict on strike if a weapon

Example
{{hp|9}}
Unknownsuggested
attack speedattack speed

Average attack speed if a weapon

Example
2
Unknownsuggested
dpsdps

no description

Unknownoptional
armorarmor

Armor added by the item if an armor

Example
{{Armor|5}}
Unknownsuggested
effectseffects

Effects of the item if it's a potion

Example
{{EffectLink|Haste|Haste I}} (2:00)<br>{{EffectLink|Strength|Strength II}} (2:00)
Unknownsuggested
attributesattributes

no description

Unknownoptional
commandcommand

Command to obtain the item

Default
/loot give @s
Example
/loot give @s loot starmute:artifact/blazing_hatchet
Auto value
/loot give @s
Unknownrequired
notesnotes

Additional notes about the item

Unknownoptional