Template:Character 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 (Character).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:Invisible Boy (Character).png
was used as the icon for a page called Invisible Boy
.
Code | Result |
---|---|
{{Character icon|Invisible Boy}} |
|
{{Character icon|Invisible Boy|The Invisible Boy}} |
|
{{Character icon|Invisible Boy|notext}} |
|
{{Character icon|Missing Boy}} (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.