Template:Stack: Difference between revisions

From Parallel Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#invoke:Crafting|Item}}</includeonly><noinclude> {{Documentation}} <templatedata> { "params": { "1": { "label": "Item", "description": "The item to be displayed. Prefix with {{code|gm4:}} for GM4-specific items.", "example": "gm4:Boots of Ostara", "type": "line", "required": true }, "name": { "aliases": [ "Name", "title", "Title" ], "label": "Name", "description": "The display name for the item stack", "exa...")
(No difference)

Revision as of 17:53, 19 May 2022

[create] [⧼smw purge⧽]Documentation
This template has no documentation. If you know how to use this template, please create it.

Display a single item (borderless)

Template parameters

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
Sizesize Size

Size of sprite in pixels

Example
24
Numberoptional