Template:Icon
Jump to navigation
Jump to search
Summary
Use this template to display an icon next to a page link. This template assumes that each page has an icon uploaded at a specific location, namely "File:Page Name.png".
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page Name | 1 page | The name for the target page.
| Page name | required |
Link Label | 2 label | The text to the be displayed on the link icon's label.
| Line | optional |
Examples
For the examples below, File:Futurism.png
was used as the icon for the page Futurism
.
Code | Result |
---|---|
{{i|Futurism}} |
|
{{i|Futurism|Futurism (Subideology)}} |
|
{{i|Futurism|notext}} |
|
{{i|Red Flood Wiki}} (Page with missing icon) |
Dependencies
For this template to work properly, you need the following:
- The
.link-icon
class and any related classes, found in MediaWiki:Common.css.