Home
Random
Log in
Settings
About BTA-Mirror
Disclaimers
BTA-Mirror
Search
Editing
Template:Inventory slot/doc
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
This template allows for the creation of Minecraft inventory slots. The slots can either be empty or contain an item. They can also be rescaled. == Arguments == {| class="wikitable" ! Argument !! Default value !! Note |- | <code>item</code> || ''None'' || Defines the item that should be shown on the slot. By default, no item is displayed. |- | <code>width</code> || <code>32</code> || Sets the width of the slot in pixels. Note that only the item area is counted, and not the border. |- | <code>height</code> || <code>32</code> || Sets the height of the slot in pixels. Note that only the item area is counted, and not the border. |- | <code>link</code> || <code>y</code> if the item is not the page's name, <code>n</code> otherwise || Sets the link. Can either be a boolean (<code>y</code> or <code>n</code>) or the name of a page. |} == Usage == <code><nowiki>{{Inventory slot}}</nowiki></code> gives: {{Inventory slot}} <code><nowiki>{{Inventory slot|item=Steel Ingot}}</nowiki></code> gives: {{Inventory slot|item=Steel Ingot}} <code><nowiki>{{Inventory slot|item=Steel Ingot|width=36|height=36}}</nowiki></code> gives: {{Inventory slot|item=Steel Ingot|width=36|height=36}} <code><nowiki>{{Inventory slot|item=Steel Ingot|link=n}}</nowiki></code> gives: {{Inventory slot|item=Steel Ingot|link=n}} <code><nowiki>{{Inventory slot|item=Steel Ingot|link=Gold Nugget}}</nowiki></code> gives: {{Inventory slot|item=Steel Ingot|link=Gold Nugget}}
Summary:
Please note that all contributions to BTA-Mirror may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BTA-Mirror:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Boolean
(
edit
)
Template:Boolean
(
edit
)
Template:FileUrl
(
edit
)
Template:Inventory slot
(
edit
)
Module:InvSprite
(
edit
)
Module:Inventory slot
(
edit
)
Module:Inventory slot/aliases
(
edit
)
Module:Inventory slot/descriptions
(
edit
)
Module:Inventory slot/links
(
edit
)
Module:ProcessArgs
(
edit
)
Module:Sprite
(
edit
)