Template:Item icon/doc: Difference between revisions
Jump to navigation
Jump to search
dlw>Karmaworks No edit summary |
Verdite cat (talk | contribs) m 1 revision imported |
(No difference)
|
Latest revision as of 18:53, 12 September 2024
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 (Item).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:Mystic Feather (Item).png
was used as the icon for a page called Mystic Feather
.
Code | Result |
---|---|
{{Item icon|Mystic Feather}} |
|
{{Item icon|Mystic Feather|Mystic Feathers}} |
|
{{Item icon|Mystic Feather|notext}} |
|
{{Item icon|Missing Item}} (Missing Page Icon) |
Dependencies
For this template to work properly, you need the following:
- The base
{{Link icon}}
template. - The
.link-icon
class and any related classes, found in MediaWiki:Common.css.