Template:Character link

From bg3.wiki
Jump to navigation Jump to search
Template documentation
Shortcut

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

Alert Icon.png Avoid direct icon overrides when possible
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|Ethel (human)}}
EthelEthel
{{CharLink|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

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