2015-10-26

Created page with "Character icon template. Displays the character icon image, character name, and links to the character's page. This template has built-in converters for pages with non-default..."

New page

Character icon template. Displays the character icon image, character name, and links to the character's page. This template has built-in converters for pages with non-default names (e.g. Vajra will link to [[Vajra (Monster)]] when using this template). Also works with companions.

== Usage ==

=== Minimal usage ===

When the character name is the same as the page name and image name.

<pre>

{{Character icon|CHARACTER_NAME}}

</pre>

'''Examples:'''

<pre>{{Character icon|Palpa}}</pre>

{{Character icon|Palpa}}

<pre>{{Character icon|Hiso Alien}}</pre>

{{Character icon|Hiso Alien}}

=== Full usage ===

For when the page name or image name are different from the character name. Also used to change the icon size.<br />

All parameters are optional.

<pre>

{{Item icon|CHARACTER_NAME|image=|size=|link=}}

</pre>

'''Examples:'''

<pre>{{Character icon|Recruit|image=Skill icon 86.png|size=30|link=Characters}}</pre>

{{Character icon|Recruit|image=Skill icon 86.png|size=30|link=Characters}}

=== Alternate usage ===

Link to the [[Characters]] page.

<pre>

{{Character icon}}

</pre>

{{Character icon}}

Link to the [[Companions]] page.

<pre>{{Character icon|Companions}}</pre>

{{Character icon|Companions}}

== Parameters ==

*<code>image</code>

**Optional. Used to change the default image name.

**Default: <code>CHARACTER_NAME</code>.png

*<code>size</code>

**Optional. Used to change the default image icon size in pixels. Accepts a number.

**Default: 50

*<code>link</code>

**Optional. Used to change the default link destination.

**Default: Links to <code>CHARACTER_NAME</code>

__NOEDITSECTION__

<includeonly><!--Template Categories--></includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Show more