Thread:Jens Ingels/@comment-24416108-20141128155015/@comment-3271569-20141130164220

Before you start to implement things to the common. I highly recommand to test them in the console first. Than you can add them to your personal js ones the code is table. Than the final result get implemented the the wikia common so it's displayed for all users:

Personal-side
 * w:c:age-of-wonders-3:Special:MyPage/common.js
 * w:c:age-of-wonders-3:Special:MyPage/common.css

Wikia-side
 * w:c:age-of-wonders-3:MediaWiki:Common.js
 * w:c:age-of-wonders-3:MediaWiki:Wikia.css

For testing html things you can use:
 * w:c:age-of-wonders-3:Special:MyPage/sandbox

--

The problem is that the html tag "select". Has a really poor image support. Most users that are trying to implement it are using a UI but for an action as small as that one it's really dumb to implement. I actualy did some tests if it was possible with all click call but it just gives terrible touch support. I really don't recommand to implement it. What you can do however is removing the style from the select tag with css. I believe it will go to something like this: If you still want to use the UI system. The trick that they used to implement it is to change the image from the select appearance (black arrow). This however doesn't allow you to change the content to images. Additionaly in order to fully support it you have to have all 5 css commands to just change one image. What's just overkill for a small visual change.

-

Are this 9 the only available upgrade for units? Or are the more for other races or units? I believe I read somewhere that machines had different upgrades?

This will give

This way the values can be called by calling the name of the select option.