Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Image rarity item/Format: Difference between revisions

Template page
mNo edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{ItemIcon Internal
<includeonly>{{ItemIcon Internal
|{{{icon}}}
|{{{icon}}}
|{{{2|50}}}
|{{{size|50}}}
|{{#replace:{{{rarity}}}|<nowiki> </nowiki>|-}}
|{{#replace:{{{rarity}}}|<nowiki> </nowiki>|-}}
|true
|true
Line 11: Line 11:
Usage:
Usage:
<pre>
<pre>
{{Image char link/Format
{{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 char link/Format
{{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:


Leather


Usage:

{{Image rarity item/Format
| icon = Unknown Icon.png
| size = 80
| rarity = uncommon
| page = Unknown Page
}}

Result:

File:Unknown Icon.png
Unknown Page

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
pagepage

The page to link to

Stringrequired
iconicon

The icon of the item.

Fileoptional
rarityrarity

The rarity of the item

Stringoptional