Template:InvSprite/doc: Difference between revisions

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