Template talk:ArmourIcon/color

From Wynncraft Wiki
Jump to navigation Jump to search

There is no Clearsight Spectacles. What do I do to have its color? --RycsWikiAccount (talk) 22:56, 10 January 2017 (EST)

Just message me on the forums and I can add the item.
{{ArmourIcon|Leather Helmet|clearsight}} or {{ArmourIcon|Leather Helmet|clearsight spectacles}}
How do you get the color of the armor? I'd like too add them myself if I have little time left to work on the wiki or in other situations... --RycsWikiAccount (talk) 02:37, 15 January 2017 (EST)
You can make an API call for the item and analyze the JSON response. It contains the color of the item as RGB values like "armorColor":"204,204,204". Then you have to convert them to hexadecimal values (you can use the Windows calculator in programmer mode for this) and concatenate them to a single value like #CCCCCC. That is the color value to add to the template. You can make API requests with this link: [1]. Replace the last word with the search term you are looking for. -Gr4phene (talk) 06:15, 15 January 2017 (EST)
Or you can just google RGB to hex converter --Colin350 (talk) 20:05, 16 January 2017 (EST)
Could you tell me how to access and process these things? --RycsWikiAccount (talk) 03:07, 20 January 2017 (EST)
What more do you need? I told you all you need to know in my answer above. Just click the link and read the result. -Gr4phene (talk) 03:27, 20 January 2017 (EST)
What will I do for other items. You spoke too scientific there and I couldn't understand half of the steps. --RycsWikiAccount (talk) 13:05, 20 January 2017 (EST)
Nevermind, I know what to do now.
You can also look at the item ingame, the hexcode should be mentioned below the Name. --ADDB (talk) 00:17, 22 January 2017 (EST)