Template:Rarity item: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
* [[Template:SmRarityItem]] - sets the default size to 20 instead of 25 | * [[Template:SmRarityItem]] - sets the default size to 20 instead of 25 | ||
:{{SmRarityItem|Potion of Supreme Healing}} | {| class="wikitable" | ||
:{{RarityItem|Potion of Supreme Healing}} | |+Icon Sizes | ||
:{{MdRarityItem|Potion of Supreme Healing}} | !Name | ||
:{{LgRarityItem|Potion of Supreme Healing}} | !Example | ||
!Size | |||
|- | |||
|SmRarityItem: | |||
|{{SmRarityItem|Potion of Supreme Healing}} | |||
|20 | |||
|- | |||
|RarityItem: | |||
|{{RarityItem|Potion of Supreme Healing}} | |||
|25 | |||
|- | |||
|MdRarityItem: | |||
|{{MdRarityItem|Potion of Supreme Healing}} | |||
|30 | |||
|- | |||
|LgRarityItem: | |||
|{{LgRarityItem|Potion of Supreme Healing}} | |||
|40 | |||
|} | |||
== Examples == | == Examples == | ||
{{Template demo | {{Template demo |
Latest revision as of 22:24, 23 October 2024
See Template:ItemIcon/Family for more variations of ItemIcon.
Other options
- Template:LgRarityItem- sets the default size to 40 instead of 25
- Template:MdRarityItem - sets the default size to 30 instead of 25
- Template:SmRarityItem - sets the default size to 20 instead of 25
Name | Example | Size |
---|---|---|
SmRarityItem: | Potion of Supreme Healing | 20 |
RarityItem: | Potion of Supreme Healing | 25 |
MdRarityItem: | Potion of Supreme Healing | 30 |
LgRarityItem: | Potion of Supreme Healing | 40 |
Examples
Markup | Renders as |
---|---|
{{RarityItem|Potion of Supreme Healing}} | Potion of Supreme Healing |
{{RarityItem|Potion of Supreme Healing|40}} | Potion of Supreme Healing |
{{RarityItem|Potion of Supreme Healing|alias=Supremey Boi}} | Supremey Boi |
{{RarityItem|Leather Armour|uid=UNI_Leather_Minsc}} | Leather Armour |
{{RarityItem|Handmaiden's Mace|override_icon=Ring G Faded.png|override_rarity=uncommon}} | Handmaiden's Mace |
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 |