Template:CharLink

From bg3.wiki
Revision as of 19:48, 19 January 2025 by HiddenDragon (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation

This template creates a link to a character with an accompanying portrait icon. It expects an icon at File:Portrait {Name}.png, but this icon file can be overridden with the icon field.

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

Examples

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

See also

  • {{LgCharLink}} - sets the default size to 40 instead of 25
  • {{MdCharLink}} - sets the default size to 30 instead of 25
  • {{SmCharLink}} - sets the default size to 20 instead of 25
  • {{ImageCharLink}} - center-aligned large portrait format

Template data

Inserts a link for a character.

Template parameters[Edit template data]

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