Template:LgRarityItem: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(LgRarityItem, with default size of 40)
 
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{RarityItem|{{{1}}}|40}}</onlyinclude></includeonly><noinclude>
<includeonly><onlyinclude>{{RarityItem
As [[Template:RarityItem]] but sets the default size to 30 instead of 25.
|{{{1}}}
|40
|alias={{{alias|}}}{{{2|}}}
|uid={{{uid|}}}
|override_icon={{{override_icon|}}}
|override_rarity={{{override_rarity|}}}
}}</onlyinclude></includeonly><noinclude>{{documentation|content=
 
As [[Template:RarityItem]] but sets the default size to 40 instead of 25.
 
Examples:
* {{LgRarityItem|Handmaiden's Mace}}
* {{LgRarityItem|Handmaiden's Mace|override_icon=Ring G Faded.png|override_rarity=uncommon}} - with an alternative icon
 
Other options
* [[Template:MdRarityItem]]- sets the default size to 30 instead of 25  
* [[Template:SmRarityItem]] - sets the default size to 20 instead of 25


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
[[Category:Icon templates]]
== Template data ==
<templatedata>
{
"params": {
"1": {
"label": "item name",
"description": "Sets the item name to look up.",
"required": true
},
"2": {
"label": "alias2",
"description": "An alternative for the \"alias\" parameter. Sets the display name of the link."
},
"alias": {
"description": "Sets the display name of the link"
},
"uid": {
"description": "If specified, will search by UID instead of by name."
},
"override_icon": {
"description": "If specified, overrides the icon. In that case, must also specify override_rarity."
},
"override_rarity": {
"description": "Overrides the rarity of the item."
}
},
"description": "Displays an item's rarity and item from a cargo table lookup.",
"paramOrder": [
"alias",
"1",
"uid",
"2",
"override_icon",
"override_rarity"
],
"format": "inline"
}
</templatedata>
}}</noinclude>

Latest revision as of 16:27, 23 June 2024

Template documentation

As Template:RarityItem but sets the default size to 40 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