Template:Large item icon

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

As Template:Item icon but sets the default size to 40 instead of 25.

Examples:

Example Markup Renders as
Default
{{LgItemIcon|Handmaiden's Mace}}
Handmaiden's Mace
With alias
{{LgItemIcon|Handmaiden's Mace|Handlady's Mace}}
Handlady's Mace

Other options

  • {{MdItemIcon}} - sets the default size to 30 instead of 25
  • {{SmItemIcon}} - sets the default size to 20 instead of 25

Template data

Displays an item's icon and link from a cargo table lookup.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
item name1

Sets the item name to look up.

Unknownrequired
alias2

Sets the display name of the link.

Unknownoptional
blockblock

Whether to wrap the icon and text in a containing HTML element and use 'inline-flex' to align the icon and text.

Stringoptional
gapgap

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

Numberoptional
nowrapnowrap

Whether to use 'white-space: nowrap' to prevent line breaks; not needed if 'block' is set.

Stringoptional
Separatorseparator

What to put between the icon and text. Default is an narrow non-breaking space.

Contentoptional
uiduid

If specified, will search by UID instead of by name.

Unknownoptional
override_iconoverride_icon

If specified, overrides the icon. In that case, must also specify override_rarity.

Unknownoptional