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

This Template page is licensed under CC BY-SA 4.0. See bg3.wiki's Template:Spell_action_icon_link for the original.

Shortcut

A universal link template for Spells and Actions. Once all Ability Icons get converted to Ability_Icon.webp it will be complete.

Works for skills:

Markup Renders as
{{SAI|First Aid}}
First AidFirst Aid
{{SAI|Raise Bloated Corpse}}
Raise Bloated CorpseRaise Bloated Corpse


But as for conditions, not all conditions are supported this way. If the link name contains :, /, ( or ), they will be removed in the icon name. In some cases, inline use is undesirable for passive features, in which case use Template:PAS.

Can change its size:

Markup Renders as
{{SAI|Raise Bloated Corpse|w=40}}
Raise Bloated CorpseRaise Bloated Corpse

Can have alternative link text as well as change its size:

Markup Renders as
{{SAI|Raise Bloated Corpse|Alias Link|w=40}}
Alias LinkAlias Link

...where the number is the size of the icon. Best to keep it 16px.

Inline example

Lorem ipsum dolor sit amet, consectetur Guided StrikeGuided Strike elit. Sed porta ornare ipsum nec hendrerit. Etiam tempus placerat dui, nec ornare neque tempus sit amet. Integer convallis erat eget sollicitudin mattis. Integer vehicula consectetur risus, eu suscipit lacus faucibus a. Aliquam tempor sagittis dignissim. Vestibulum sed faucibus nibh. Donec in pharetra ex. Suspendisse potenti.

See also

  • {{LgSAI}} - sets the default size to 40 instead of 25
  • {{MdSAI}} - sets the default size to 30 instead of 25
  • {{SmSAI}} - sets the default size to 20 instead of 25

Template parameters

Inserts a link for a spell or ability.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
name1

Name of the ability

Page namerequired
alias2

Alias for the link text

Stringoptional
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
Blockblock

Whether to wrap the icon and link in a container HTML element.

Stringoptional
Gapgap

If 'block' is set, the exact gap to use between the icon and link.

Numberoptional
Nowrapnowrap

If specified, will add the nowrap css style to the span.

Stringoptional
concentration iconc

Icon size in pixels of the concentration icon. Hidden by default

Numberoptional
ritual iconr

Icon size in pixels of the ritual icon. Hidden by default

Numberoptional