Template:Character link

From bg3.wiki
(Redirected from Template:CharLink)
Jump to navigation Jump to search
Template documentation
Shortcut

Insert a link to a character accompanied by the associated portrait.

Usage

Alert Icon.png Use icon links, and especially portrait overrides, only when called for by the style guide

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 associated maintenance categories:

Examples

Markup Renders as
{{CharLink|Lae'zel|Bae'zel}}
Bae'zelBae'zel
{{CharLink|Orpheus|icon=Orphic Hammer Icon.png}}
OrpheusOrpheus
{{CharLink|Volo|w=40}}
VoloVolo
{{CharLink|Unknown Character}}
Unknown Character

Edge Cases

Example Markup Renders as
Override for Ethel's hag portrait
{{CharLink|Ethel (human)}}
EthelEthel
Override for Aylin's paladin portrait
{{CharLink|Nightsong}}
NightsongNightsong
Deities are overridden with {{Deity}}
{{CharLink|Vlaakith}}
VlaakithVlaakith

See also

Variants

  • {{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

Override the width of the image.

Numberoptional
Heighth

Override the height of the image.

Numberoptional
Sizesize

Set the size of the image to this by this.

Numberoptional