Template:Sprites/InvSprite/doc

From Tensura Wiki
Jump to navigation Jump to search

Template:Documentation header

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

This page is copied from another wiki, and thus may need to be kept up to date.

No text provided.

This template displays an inventory image.

The spritesheet.

Parameters

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

{{Sprites/InvSprite|Grass Block}}

Available images

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

Animated icons

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

Game
Other