Shop Heroes Wikia
Shop Heroes Wikia

[[File:{{{item}}} Affinity {{{color}}}.png|{{{size}}}px|{{{item}}} ({{{color}}})|link={{{item}}}]]

Template documentation (for the above template, sometimes hidden or invisible)[view] [edit] [history] [refresh]

Contents

==Usage==
{{Item Affinity Icon|item=Daggers|color=Green}}

Result: Daggers (Green)

Arguments

size, in pixels, is optional. Do not add px at the end.

color: Yellow, Green, Red, Gray. Case-sensitive.

item: Case-sensitive. Beware: image file names are not consistent, eg Axes Green.png versus Boot Yellow.png. In general, plural works, but the table below lists valid arguments:

Armors Axes Boots Bows Bracers
Clubs Daggers Footwear Gauntlets Guns
Hats Helmets Music Pendants Potions
Projectiles Remedies Rings Robes Shields
Spears Spells Staves Swords Vests
The above text is transcluded from Template:Item Affinity Icon/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to Template:Item Affinity Icon/doc. (View all subpages of this page.)