Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:ImageCharLink

Template page
Revision as of 09:26, 10 September 2024 by HiddenDragon (talk | contribs) (Created page with "<includeonly>{{ImageLink|{{#if:{{{icon|}}}|{{{icon}}}|Portrait {{{1}}}.png}}|{{{1}}}|{{{2|{{{1}}}}}}|w={{{w|80}}}|h={{{w|80}}}}}{{#ifexist: File:{{#if:{{{icon|}}}|{{{icon}}}|Portrait {{{1}}}.png}} | | {{Main namespace only|Category:Pages with missing charlink portraits}} }}</includeonly><noinclude>{{documentation|content= {{see also|Template:CharLink}} This template is similar to CharLink except it places the portrait above the link to the character. Like CharLink, i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation

This template is similar to CharLink except it places the portrait above the link to the character. Like CharLink, it expects an icon at File:Portrait {Name}.png, but this icon file can be overridden with the icon field.

The default size is 80px (width and height).

This template has an associated maintenance category at Category:Pages with missing charlink portraits.

Examples

Markup Renders as
{{ImageCharLink|Lae'zel|Bae'zel}}
{{ImageCharLink|Auntie Ethel|icon=Portrait Ethel Human.png}}
{{ImageCharLink|Volo|w=40}}
{{ImageCharLink|Unknown Character}}

Template data

Inserts a link for a character.

Template parameters

ParameterDescriptionTypeStatus
name1

Name of the character

Page namerequired
alias2

Alias for the link text

Stringoptional
iconicon

Specify a different icon

Fileoptional
widthw

Width (and height) of icon

Default
25
Numberoptional