Template:Image rarity item: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 27: Line 27:
| <nowiki>{{Image rarity item|Moondrop Pendant|Moon Pendant}}</nowiki>
| <nowiki>{{Image rarity item|Moondrop Pendant|Moon Pendant}}</nowiki>
| <nowiki>{{Image rarity item|Moondrop Pendant|w=80}}</nowiki>
| <nowiki>{{Image rarity item|Moondrop Pendant|w=80}}</nowiki>
| <nowiki>{{Image rarity item|Unknown Item|w=80}}</nowiki>
}}
}}



Latest revision as of 07:37, 15 October 2024

This template is similar to RarityItem except it places the icon above the link to the item.

The default size is 50px (width and height).

Examples

Markup Renders as
{{Image rarity item|Moondrop Pendant}}

Moondrop Pendant
{{Image rarity item|Moondrop Pendant|Moon Pendant}}

Moon Pendant
{{Image rarity item|Moondrop Pendant|w=80}}

Moondrop Pendant
{{Image rarity item|Unknown Item|w=80}}
File:Unknown Item Unfaded Icon.png

Template Data Section

Displays an item with rarity, with the icon above the text

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

The page of the item.

Example
Potion of Healing
Page namerequired
22

An alias for the item.

Stringoptional
uiduid

If specified, will instead search by UID.

Stringoptional
ww

The size of the item icon.

Suggested values
40 25 20
Default
50
Numberoptional