Template:BlockSprite/doc

From BTA-Mirror
Revision as of 04:47, 12 March 2023 by imported>Ttv pedro270707 (Created page with "This template allows the creation of block sprites. == Arguments == {| class="wikitable" ! Argument !! Value !! Note |- | <code>1</code> || <code>ID</code> || The block's name to be used as an ID. |- | <code>link</code> || <code>y</code>, <code>n</code>, <code>link</code> || If set to y, it will use the block's ID. |- | <code>name</code> || <code>name</code> || The name used if the <code>link</code> parameter is included. |} == Usage == <code><nowiki>{{BlockSprite|Ston...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template allows the creation of block sprites.

Arguments

Argument Value Note
1 ID The block's name to be used as an ID.
link y, n, link If set to y, it will use the block's ID.
name name The name used if the link parameter is included.

Usage

{{BlockSprite|Stone}} gives:

{{BlockSprite|Stone|link=y}} gives:

{{BlockSprite|Stone|link=Steel Ingot}} gives:

{{BlockSprite|Stone|name=Awesome block|link=Steel Ingot}} gives:

Awesome block