Template:Character 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 (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-iconclass and any related classes, found in MediaWiki:Common.css.
[view | edit | history | purge]The above documentation is transcluded from Template:Character icon/doc.
