Editing Module:Icon/docGive feedback
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 8: | Line 8: | ||
An additional resource for other icons can be found at [[Data:ResourceLookup2.json]], a manually maintained table; some entries may rely on a dictionary key. | An additional resource for other icons can be found at [[Data:ResourceLookup2.json]], a manually maintained table; some entries may rely on a dictionary key. | ||
See [[Module:Icon/data]] | See also: [[Module:Icon/data]] | ||
== Usage == | == Usage == | ||
Any of the following templates | Any of the following templates work for any icon type. The module auto-detects the type: | ||
* {{tl|HeroIcon}} | * {{tl|HeroIcon}} | ||
* {{tl|AbilityIcon}} | * {{tl|AbilityIcon}} | ||
| Line 17: | Line 17: | ||
* {{tl|EntityIcon}} | * {{tl|EntityIcon}} | ||
'''Note:''' While all four templates work identically, it is recommended to use the | '''Note:''' While all four templates work identically, it is recommended to use the correct template (e.g., use <nowiki>{{AbilityIcon|Siphon Life}}</nowiki> for clarity even though <nowiki>{{HeroIcon|Siphon Life}}</nowiki> will work). | ||
== Error tracking == | == Error tracking == | ||
Icons that fail to render are added to [[:Category:Module:Icon ERROR]]. | Icons that fail to render are added to [[:Category:Module:Icon ERROR]]. | ||
<includeonly>[[Category:Modules]]</includeonly><noinclude>[[Category:Module documentation]]</noinclude> | <includeonly>[[Category:Modules]]</includeonly><noinclude>[[Category:Module documentation]]</noinclude> | ||