Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,676
edits
m (Transclude documentation - Removes error on this page.) |
m (Added size parameter) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:Crafting|Item}}</includeonly><noinclude> | <includeonly>{{#invoke:Crafting|Item}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | <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", | |||
"example": "Lucky Charms" | |||
}, | |||
"count": { | |||
"aliases": [ | |||
"Count" | |||
], | |||
"label": "Count", | |||
"description": "The amount of this item", | |||
"example": "20", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"enchanted": { | |||
"aliases": [ | |||
"Enchanted" | |||
], | |||
"label": "Enchanted", | |||
"description": "Whether or not the item is enchanted", | |||
"example": "true", | |||
"type": "line" | |||
}, | |||
"link": { | |||
"aliases": [ | |||
"Link" | |||
], | |||
"label": "Link", | |||
"description": "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]", | |||
"type": "line" | |||
}, | |||
"lore": { | |||
"aliases": [ | |||
"Lore", | |||
"text", | |||
"Text" | |||
], | |||
"label": "Lore", | |||
"description": "If the item has unique lore. Formatting codes should be prefixed with & and new lines are inputted using /\"", | |||
"example": "&o&7They're magically delicious!", | |||
"type": "line" | |||
}, | |||
"hideTooltip": { | |||
"aliases": [ | |||
"hideToolTip", | |||
"HideTooltip", | |||
"HideToolTip" | |||
], | |||
"label": "hideTooltip", | |||
"description": "Whether or not to show the tooltip on hover", | |||
"example": "true", | |||
"type": "boolean" | |||
}, | |||
"size": { | |||
"aliases": [ | |||
"Size" | |||
], | |||
"label": "Size", | |||
"description": "Size of sprite in pixels", | |||
"example": "24", | |||
"type": "number" | |||
} | |||
}, | |||
"description": "Display a single item (borderless)", | |||
"maps": { | |||
"test": {} | |||
}, | |||
"paramOrder": [ | |||
"1", | |||
"count", | |||
"name", | |||
"lore", | |||
"enchanted", | |||
"link", | |||
"hideTooltip", | |||
"size" | |||
] | |||
} | |||
</templatedata></noinclude> |
edits