Template:InvSprite/doc: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
! Usage | ! Usage | ||
|- | |- | ||
| | | {{p|name}} | ||
| Sets the image. | | 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 | | 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. | | 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>. | | Sets the scale of the image. If unset the default parameter is <code>1</code>. | ||
|} | |} |