Template:Stack: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:
"1": {
"1": {
"label": "Item",
"label": "Item",
"description": "The item to display",
"description": "The item to be displayed.  Prefix with {{code|gm4:}} for GM4-specific items.",
"example": "Crafting Table",
"example": "gm4:Boots of Ostara",
"type": "line",
"type": "line",
"required": true
"required": true
Line 26: Line 26:
],
],
"label": "Count",
"label": "Count",
"description": "A number to display for the item stack.",
"description": "The amount of this item",
"example": "20",
"example": "20",
"type": "number",
"type": "number",

Revision as of 14:57, 7 June 2021

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