Template:Item Image
From HorizonXI Wiki
Usage
{{Item Image|<image name>|<hovertext>|<link>}}
- image name: The name of the image, such as "Dagger.png". If left blank, a message asking for the image will display instead.
- hovertext: (optional) The text to display when the mouse is hovered over the image. If left blank, the page's name will display.
- link: (optional) On clicking the image, where you are taken. This should be the item's page, so that the image can be transcluded and used as a link to the item (note that the magic word {{NAMESPACE}} will not work for this function. If left blank, it will link to the image's file.
Examples
Code | Result | ||
---|---|---|---|
{{Item Image|Dagger.PNG}} |
|||
{{Item Image|Silent_Oil.png|Pot of silent oil}} |
|||
{{Item Image|Beehive chip.jpg||Beehive Chip}} |
|||
{{Item Image|}} |
|