Template:Stack

From Official Gamemode 4 Wiki
Revision as of 15:05, 7 June 2021 by Epyon (talk | contribs)
Jump to navigation Jump to search
Template documentation[create]

Display a single item (borderless)

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Item1

The item to be displayed. Prefix with {{code|gm4:}} for GM4-specific items.

Example
gm4:Boots of Ostara
Linerequired
Countcount Count

The amount of this item

Example
20
Numbersuggested
Namename Name title Title

The display name for the item stack

Example
Lucky Charms
Unknownoptional
Lorelore Lore text Text

If the item has unique lore. Formatting codes should be prefixed with & and new lines are inputted using /"

Example
&o&7They're magically delicious!
Lineoptional
Enchantedenchanted Enchanted

Whether or not the item is enchanted

Example
true
Lineoptional
Linklink Link

When the item is clicked, it will redirect the user. Internal links only need the title of the page. External links require the full link.

Example
[[Custom Crafters]], or [https://gm4.co]
Lineoptional
hideTooltiphideTooltip hideToolTip HideTooltip HideToolTip

Whether or not to show the tooltip on hover

Example
true
Booleanoptional