Template:InvSprite/doc: Difference between revisions
No edit summary |
|||
| Line 11: | Line 11: | ||
! Usage | ! Usage | ||
|- | |- | ||
| | | ''name'' | ||
| Sets the image. | | Sets the image. | ||
|- | |- | ||
| | | <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> | ||
|- | |- | ||
| | | <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. | ||
|} | |} | ||