Template:InvSprite/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with "{{lua|SpriteFile}} This template displays an inventory image. == Parameters == {| class="wikitable" ! Name ! Usage |- | {{para|name}} | Sets the image. |- | {{para|link}} | Sets the link for the image and the optional text. If unset or set to <code>none</code>, no link is added<br>Supports both internal and external links<br> |- | {{para|text}} | If set, the value is displayed as text after the image. |- | {{para|scale}} | Sets the scale of the image. If unset the defa...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{lua|SpriteFile}} |
{{lua|Module:SpriteFile}} |
||
This template displays an inventory image. |
This template displays an inventory image. |
||
Latest revision as of 22:10, 21 January 2024
This template uses Lua: |
This template displays an inventory image.
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 addedSupports 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
{{InvSprite}}
Full list
Here is a full list of entities:
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
- {{InvLink}}
- {{Inventory slot}}