Template:SmRarityItem: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
m (Added nowrap)
 
(3 intermediate revisions by one other user not shown)
Line 3: Line 3:
|20
|20
|alias={{{alias|}}}{{{2|}}}
|alias={{{alias|}}}{{{2|}}}
|nowrap={{{nowrap|}}}
|uid={{{uid|}}}
|uid={{{uid|}}}
|override_icon={{{override_icon|}}}
|override_icon={{{override_icon|}}}
Line 15: Line 16:


Other options
Other options
* [[Template:LGRarityItem]]- sets the default size to 40 instead of 25  
* [[Template:LgRarityItem]]- sets the default size to 40 instead of 25  
* [[Template:MdRarityItem]] - sets the default size to 30 instead of 25
* [[Template:MdRarityItem]] - sets the default size to 30 instead of 25


[[Category:Templates]]
[[Category:Templates]]
[[Category:Icon templates]]


== Template data ==
== Template data ==

Latest revision as of 22:52, 11 October 2024

Template documentation

As Template:RarityItem but sets the default size to 20 instead of 25.

Examples:

Other options

Template data

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

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
aliasalias

Sets the display name of the link

Unknownoptional
item name1

Sets the item name to look up.

Unknownrequired
uiduid

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

Unknownoptional
alias22

An alternative for the "alias" parameter. Sets the display name of the link.

Unknownoptional
override_iconoverride_icon

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

Unknownoptional
override_rarityoverride_rarity

Overrides the rarity of the item.

Unknownoptional