Template:Indicator
Due to the sensitive nature of this template or the fact that it is used on a large number of pages, it has been semi-protected to prevent site-wide damage by vandal bots. Editors: In order to minimize the impact on our servers, please use sandboxes to make and test changes to widely used templates before deployment. For more information, please see this article's talk page. |
Summary
This template is used for adding indicators to the top right of the page.
Parameters
Parameter | Scope | Description |
---|---|---|
1 or image | required | The image to display. This should be the file name only, not a link. |
name | optional | The unique name to use for the indicator. Indicators are always sorted alphabetically by name. In the event that there are duplicate names, the last one wins. |
label | optional | The label to display when the cursor hovers over the image. If label isn't defined, then link is used instead. Set to none to display no label. |
link | optional | The page to link to have the image link to. This should be the page name only, not a link. Leave blank if you don't want the image to redirect anywhere. |
size | optional | The size of the image, in standard image size format, but without the trailing "px". Defaults to 18 pixels high (x18 ). |
Examples
{{Indicator|Attention.svg}}
Result is this image ( ) at the top of the page.
{{Indicator|Information icon.svg|Community Portal|UESPWiki:Community Portal|size=x27}}
Result is this image ( ) at the top of the page, sized to 27 pixels tall, which links to the Community Portal.