Template:IL
No image defined. Please supply an image in the {{{1}}}
parameter. If you do not know what this message means please report it on the Forum. Thanks in advance.
IL is short for ImageLink (and probably some other things, but this works for a mnemonic).
Meant to simplify combining small images and article backlinks.
- {{IL|Shard of Glim}} ==> Shard of Glim
- {{IL|Shard of Glim|30 x}} ==> 30 x Shard of Glim
- {{IL|Shard of Glim|Appearance=Blue Thing}} ==> Blue Thing
- {{IL|Shard of Glim|Appearance=}} ==> hide the text and only display the image, i.e. . Clicking on it will still lead to the correct article.
- {{IL|Shard of Glim|Size=30px}} ==> Shard of Glim (the default image size is 20px, which will be used if you do not specify a Size)
- {{IL|Shard of Glim|Link=}} ==> Shard of Glim (clicking the icon takes you to image page, not the linked article)
- {{IL|Shard of Glim|Link=Starveling Cat}} ==> Shard of Glim (note that the image now links to Starveling Cat but the text continues to link to Shard of Glim)
- {{IL|Shard of Glim|30 x|Image=Door.png}} ==> 30 x Shard of Glim (use this override only for cases where you want a different icon to clarify, not if the actual image has changed!)
You can combine the optional prefix and the several named parameters freely, as long as the item/quality/… name comes before the prefix, should you specify one:
- {{IL|Appearance=''Sneaky''|Size=15px|Shadowy}} 15 ==> Sneaky 15
- {{IL|Size=25px|Shard of Glim|30 x|Appearance=Blue Thing}} ==> 30 x Blue Thing
It is entirely possible and very very likely that many items and qualities are missing a corresponding image link entry. In this case, the image will render with a broken link intentionally:
- {{IL|I made This One up}} ==> I made This One up
Please help add to the image list if you spot these.
IL is short for ImageLink (and probably some other things, but this works for a mnemonic). Meant to simplify combining small images and article backlinks.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Item name | 1 | The name of the item being linked to.
| Page | required |
Quantity | 2 | If present, the quantity will be unlinked, in-between the image icon and the item link.
| Line | optional |
Small | Small | If "yes", the image will try to use its "small.png" version.
| Boolean | optional |
Image file name | Image | The filename of the image used to decorate the link.
| File | optional |
Image size | Size | The size of the displayed image.
| String | optional |
Image link | Link | If present, the image will link to the image file rather than the item. | Boolean | optional |
Link appearance | Appearance | If present, will change the anchor text of the link.
| Line | optional |
Short | Short | If present, will shorten the default anchor text by removing everything before the first colon. Overridden by the Appearance parameter.
| Line | optional |
Property | Property | The link will also set a Semantic MediaWiki Property. Most Properties should be set using purpose-specific Templates, with direct use of this parameter for ad-hoc spot-fixes.
| Content | optional |