Template:Item Image

From HorizonXI Wiki
Revision as of 23:36, 9 February 2023 by Garnet-HorizonXI (Fandom) (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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}}
Dagger
{{Item Image|Silent_Oil.png|Pot of silent oil}}
{{Item Image|Beehive chip.jpg||Beehive Chip}}
Beehive chip.jpg
{{Item Image|}}
Camera icon.gifThis article is missing a picture of the item it covers. You can help by adding it.