Template:InvSprite/doc: Difference between revisions

mNo edit summary
m test
Line 4: Line 4:


[[File:InvSprite.png|thumb|The spritesheet.]]
[[File:InvSprite.png|thumb|The spritesheet.]]
== Parameters ==
{| class="wikitable"
! Name
! Usage
|-
| {{p|name}}
| Sets the image.
|-
| {{p|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>
|-
| {{p|text}}
| If set, the value is displayed as text after the image.
|-
| {{p|scale}}
| Sets the scale of the image. If unset the default parameter is <code>1</code>.
|}


== Example ==
== Example ==