Template:Icon-source

From Warcraft Wiki
Jump to navigation Jump to search
Syntax
{{icon-source|<icon-filename>|<file-id>|<content-hash>|<key>}}
Parameter Priority Description
1 required The filename with ".blp". DO NOT include the full filepath, ONLY the filename: some_filename.blp. The filename should be lowercase in this field as this allows an ease of copy and paste to other articles.
2 required The filedataid for the image.
3 optional The MD5 hash of the file; must be its ".blp" format. Could be obtained multiple ways; OpenHashTab is useful on Windows. Optional since Dragonflight.
4 optional Places the icon into the Category:WoW Icons: Encrypted category. If it is known to be encrypted, insert the TACT key_name like some_random_string
If we know it is an encrypted icon but we don't know what the tact key is, just use 1 so the icon is still in the proper category.
continue optional Only used if this template is used multiple times on one file, any usage after the first should include this parameter.
location optional Changes the ICONS in the path to something else. Useful for images that are not in the Interface/ICONS path. Interface remains as it is, only include the new name to replace "ICONS".
classic optional Places the icon into the Category:WoW Icons: Classic category.
tbc optional Places the icon into the Category:WoW Icons: Burning Crusade Classic category.
wotlk optional Places the icon into the Category:WoW Icons: Wrath of the Lich King Classic category.
cata optional Places the icon into the Category:WoW Icons: Cataclysm Classic category.

Icon example

Icons should also include a category from Category:WoW Icons below all the Icon-source usage. Using File:inv_brontosaurusmount.png icon as an example, a typical icon article would look like this:

{{icon-source|inv_brontosaurusmount.blp|1881827|38b288d14f93bba8870e54ab4fa77b36}}

[[Category:WoW Icons: Inventory]]

Classic and encrypted example

For a classic image and an encrypted icon example: using File:inv_tuskarrgliderwotlk.png as an example, a typical classic icon and/or an encrypted icon will look like this:

{{icon-source|inv_tuskarrgliderwotlk.blp|4501546|b497928d0b0eccf93388aa42d59d28c7|409FC8B6C2286508|wotlk=}}

[[Category:WoW Icons: Inventory]]

Other location example

For images that are not in the Interface/ICONS path, they more than likely should be categorized in Category:WoW Icons: Pseudo. Using File:UI-ChatIcon-Share.png as an example, a typical image from another location will look like this:

{{icon-source|UI-ChatIcon-Share.blp|location=chatframe|1092906}}

[[Category:WoW Icons: Pseudo]]