Template:InvSprite/doc: Difference between revisions

mNo edit summary
mNo edit summary
Line 11: Line 11:
! Usage
! Usage
|-
|-
| ''name''
| {{p|name}}
| Sets the image.
| Sets the image.
|-
|-
| <code>link</code>
| {{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.
| 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>
|-
|-
| <code>text</code>
| {{p|text}}
| If set, the value is displayed as text after the image.
| If set, the value is displayed as text after the image.
|-
|-
| <code>scale</code>
| {{p|scale}}
| Sets the scale of the image. If unset the default parameter is <code>1</code>.
| Sets the scale of the image. If unset the default parameter is <code>1</code>.
|}
|}