Template:Character icon

From Sword of Moonlight Wiki
Revision as of 19:36, 6 April 2024 by dlw>RheingoldRiver
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Character_icon/doc to edit this documentation. (How does this work?)

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".

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page Name1 page

The name for the target page.

Example
Page Name
Page namerequired
Link Label2 label

The text to the be displayed on the link icon's label.

Example
Alternative Page Name
Lineoptional

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}} ? Invisible Boy
{{Character icon|Invisible Boy|The Invisible Boy}} ? The Invisible Boy
{{Character icon|Invisible Boy|notext}} ?
{{Character icon|Missing Boy}} (Missing Page Icon) ? Missing Boy

Dependencies

For this template to work properly, you need the following: