More actions
HiddenDragon (talk | contribs) mNo edit summary |
HiddenDragon (talk | contribs) No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ItemIcon Internal | <includeonly>{{ItemIcon Internal | ||
|{{{icon}}} | |{{{icon}}} | ||
|{{{ | |{{{size|50}}} | ||
|{{#replace:{{{rarity}}}|<nowiki> </nowiki>|-}} | |{{#replace:{{{rarity}}}|<nowiki> </nowiki>|-}} | ||
|true | |true | ||
Line 11: | Line 11: | ||
Usage: | Usage: | ||
<pre> | <pre> | ||
{{Image | {{Image rarity item/Format | ||
| icon = Leather Armour 3 Unfaded Icon.png | | icon = Leather Armour 3 Unfaded Icon.png | ||
| size = 50 | |||
| rarity = uncommon | | rarity = uncommon | ||
| page = Leather Armour | | page = Leather Armour | ||
| alias = Leather | |||
}}</pre> | }}</pre> | ||
Result: | Result: | ||
{{Image | {{Image rarity item/Format | ||
| icon = Leather Armour 3 Unfaded Icon.png | | icon = Leather Armour 3 Unfaded Icon.png | ||
| size = 50 | |||
| rarity = uncommon | | rarity = uncommon | ||
| page = Leather Armour | | page = Leather Armour | ||
| alias = Leather | |||
}} | |||
---- | |||
Usage: | |||
<pre> | |||
{{Image rarity item/Format | |||
| icon = Unknown Icon.png | |||
| size = 80 | |||
| rarity = uncommon | |||
| page = Unknown Page | |||
}}</pre> | |||
Result: | |||
{{Image rarity item/Format | |||
| icon = Unknown Icon.png | |||
| size = 80 | |||
| rarity = uncommon | |||
| page = Unknown Page | |||
}} | }} | ||
Latest revision as of 07:13, 15 October 2024
Meant to be used with a Cargo query. Preview:
Usage:
{{Image rarity item/Format | icon = Leather Armour 3 Unfaded Icon.png | size = 50 | rarity = uncommon | page = Leather Armour | alias = Leather }}
Result:
Usage:
{{Image rarity item/Format | icon = Unknown Icon.png | size = 80 | rarity = uncommon | page = Unknown Page }}
Result:
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
page | page | The page to link to | String | required |
icon | icon | The icon of the item. | File | optional |
rarity | rarity | The rarity of the item | String | optional |