Template:Slot

Template documentation[view] [edit] [history] [purge]

Using this template, you can create a single item with a stack number inside of a crafting slot.

UsageEdit

ItemEdit

Using the first parameter, {{{Item}}}, you can set the image to the specified block or item.

CountEdit

Optional. {{{Count}}}, is used to display a stack count for the item. Defaults to 1.

TypeEdit

Optional. {{{Type}}}, is used to change the background color. Defaults to custom.

NameEdit

Optional. {{{Name}}}, is used to change the display name of the item.

LoreEdit

Optional. {{{Lore}}}, is used to change the lore of the item.

LinkEdit

Optional. {{{link}}}, is used to change the lore of the item.

Standard Custom

Example UsageEdit

  {{Slot|Item=Stone|Count=16|type = standard}}

  {{Slot|gm4:Boots of Ostara|Type = Standard}}

  {{Slot|Cobblestone|lore=&e&oTotally not cobble|name=Crushed Stone}}

  {{Slot|Cobblestone|lore=&6&oClick to go to the Sandbox page|link=[[Sandbox]]}}


16




Template Data

Single item display

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
TypeType

The type of cell for the item. "Custom" for GM4 blue background boxes

Example
Custom
Lineoptional
Itemitem 1

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

Example
gm4:Boots of Ostara
Linerequired
Countcount

The amount of this item

Example
8
Numberoptional
Namename

If the item is uniquely named

Example
Lucky Charms
Lineoptional
Lorelore

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
Linklink

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
End Fishing/Enderpuff
Lineoptional