Template:ImageCharLink

From bg3.wiki
Revision as of 06:11, 15 October 2024 by HiddenDragon (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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
80
Numberoptional