Template:Rarity item: Difference between revisions
Jump to navigation
Jump to search
m (undo last) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(16 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{ItemIcon | <includeonly><onlyinclude>{{ItemIcon | ||
|name={{{1}}} | |name={{{1}}} | ||
|uid={{{uid|}}} | |||
|size={{{2|25}}} | |size={{{2|25}}} | ||
|alias={{{alias|}}} | |alias={{{alias|}}} | ||
|nowrap={{{nowrap|}}} | |||
|no_padding=true | |no_padding=true | ||
|show_name=true | |show_name=true | ||
|show_rarity=true | |show_rarity=true | ||
|override_icon={{{override_icon|}}} | |override_icon={{{override_icon|}}} | ||
|override_rarity={{{override_rarity|}}} | |override_rarity={{{override_rarity|}}} | ||
}}</onlyinclude></includeonly><noinclude> | }}</onlyinclude></includeonly><noinclude>{{Documentation}} | ||
[[Category:Link templates]] | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 23:45, 19 January 2025
See Template:ItemIcon/Family for more variations of ItemIcon.
Name | Example | Size |
---|---|---|
SmRarityItem: | ![]() |
20 |
RarityItem: | ![]() |
25 |
MdRarityItem: | ![]() |
30 |
LgRarityItem: | ![]() |
40 |
Examples
Markup | Renders as |
---|---|
{{RarityItem|Potion of Supreme Healing}} | ![]() |
{{RarityItem|Potion of Supreme Healing|40}} | ![]() |
{{RarityItem|Potion of Supreme Healing|alias=Supremey Boi}} | ![]() |
{{RarityItem|Leather Armour|uid=UNI_Leather_Minsc}} | ![]() |
{{RarityItem|Handmaiden's Mace|override_icon=Ring G Faded.png|override_rarity=uncommon}} | ![]() |
See also
- {{LgRarityItem}} - sets the default size to 40 instead of 25
- {{MdRarityItem}} - sets the default size to 30 instead of 25
- {{SmRarityItem}} - sets the default size to 20 instead of 25
Template data
Inserts an item's icon, rarity colours, and name into a page. Specialization of Template:ItemIcon.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | 1 | The name of the item | Page name | required |
size | 2 | (optional) Size of the item's icon. Default 25
| Number | optional |
uid | uid | The uid of the item. If specified, will search by UID *instead of* item name. Must be specified with the name parameter as well. | Unknown | optional |
alias | alias | (optional) If specified, renames link text to this. | Unknown | optional |
override_icon | override_icon | If specified, overrides the icon. | Unknown | optional |
override_rarity | override_rarity | If specified along with override_icon, sets the rarity. | Unknown | optional |