Template:Icon item: Difference between revisions
Jump to navigation
Jump to search
Technochips (talk | contribs) Created page with "[[File:Backpack {{{1}}}.png|96x96px|link={{{1}}}]]" |
VivaRomania (talk | contribs) mNo edit summary |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[File:Backpack {{{1}}}.png|96x96px|link={{{1}}}]] | <includeonly>[[File:Backpack {{{1}}}.png|96x96px|link={{{2|{{{1}}}}}}]]</includeonly><noinclude>{{Doc begin}} | ||
This template is used to generate a 96x96px image of an item's backpack icon that can be clicked to take you to the article for said item. | |||
== Usage == | |||
{{code|<nowiki>{{Icon item|Admiralty Anchor}}</nowiki>}} | |||
Alternately, if you want to change what article the image links to, you can set a 2nd parameter: | |||
{{code|<nowiki>{{Icon item|Admiralty Anchor|Soldier}}</nowiki>}} | |||
== Notes == | |||
When uploading the backpack icon of an item, ensure the image is in ".png" format, and is named "Backpack <proper item name>", for example "Backpack Admiralty Anchor.png". This ensures that if not using the 2nd parameter to link to another article, the linkage to the item's article works correctly. | |||
[[Category:Layout templates]] | |||
</noinclude> | |||
Latest revision as of 19:34, 8 May 2025
Documentation for Icon item
This template is used to generate a 96x96px image of an item's backpack icon that can be clicked to take you to the article for said item.
Usage
{{Icon item|Admiralty Anchor}}
Alternately, if you want to change what article the image links to, you can set a 2nd parameter:
{{Icon item|Admiralty Anchor|Soldier}}
Notes
When uploading the backpack icon of an item, ensure the image is in ".png" format, and is named "Backpack <proper item name>", for example "Backpack Admiralty Anchor.png". This ensures that if not using the 2nd parameter to link to another article, the linkage to the item's article works correctly.