Šablonas:InvSprite/doc

Iš MCSlime.LT.
08:45, 27 gegužės 2024 versija, sukurta M0dii (aptarimas | indėlis)
(skirt) ← Ankstesnė versija | Dabartinė versija (skirt) | Vėlesnė versija → (skirt)
Pereiti į navigaciją Jump to search

Script error: The function "docPage" does not exist.

This template uses Module:Sprite, with data stored in Module:InvSprite.
These scripts are written in Lua.

This template displays an inventory image.

The spritesheet.

Parameters[redaguoti vikitekstą]

Name Usage
|name= Sets the image.
|link= Sets the link for the image and the optional text. If unset or set to none, no link is added
Supports both internal and external links
|text= If set, the value is displayed as text after the image.
|scale= Sets the scale of the image. If unset the default parameter is 1.

Example[redaguoti vikitekstą]

{{InvSprite|Grass Block}}

Available images[redaguoti vikitekstą]

Lua klaida: not enough memory.

Animated icons[redaguoti vikitekstą]

See Category:Animated inventory icons for a list of animated icons.
They can be used like the static icons above, just omit the Invslot prefix and extension from the file name.

See also[redaguoti vikitekstą]

Minecraft
Minecraft (legacy)
Minecraft Dungeons
Other