Template:Slot/doc: Difference between revisions
Jump to navigation
Jump to search
(Include code) |
(Standardizing Documentation pages) |
||
Line 1: | Line 1: | ||
{{ | Using this template, you can create a single item with a stack number inside of a crafting slot. | ||
== Usage == | |||
=== Item === | |||
Using the first parameter, <code>{{{Item}}}</code>, you can set the image to the specified block or item. | |||
=== Count === | |||
''Optional.'' The second parameter, <code>{{{Count}}}</code>, is used to display a stack count for the item. Defaults to 1. | |||
{{ | === Type === | ||
''Optional.'' The third parameter, <code>{{{Type}}}</code>, is used to change the background color. Defaults to custom. | |||
{| class = "wikitable" style="text-align:center;" | |||
{{Slot | ! Standard | ||
| | ! Custom | ||
| | |- | ||
|Type = | | {{Slot|Air|Type=standard}} | ||
| {{Slot|Air|Type=custom}} | |||
|} | |||
== Example Usage == | |||
<pre> | |||
{{Slot|Item=Stone|Count=16|type = standard}} | |||
Item | {{Slot|Item=gm4:Boots of Ostara}} | ||
</pre> | |||
Count | {{Slot|Item=Stone |Count=16|Type = standard}} | ||
{{Slot|Item=gm4:Boots of Ostara}} |
Revision as of 04:10, 14 August 2020
Using this template, you can create a single item with a stack number inside of a crafting slot.
Usage
Item
Using the first parameter, {{{Item}}}
, you can set the image to the specified block or item.
Count
Optional. The second parameter, {{{Count}}}
, is used to display a stack count for the item. Defaults to 1.
Type
Optional. The third parameter, {{{Type}}}
, is used to change the background color. Defaults to custom.
Standard | Custom | ||
---|---|---|---|
|
|
Example Usage
{{Slot|Item=Stone|Count=16|type = standard}} {{Slot|Item=gm4:Boots of Ostara}}
16 |