Thread:Bane7670/@comment-4705324-20190608192902/@comment-4705324-20190610184745

Hi! So I made a start on designing the infoboxes over on my test wiki.

So the first thing to address is that the infoboxes look basically the same as they do on the wiki at the moment. Here's a look at the PI version of Rex!

Secondly, you use a system on the wiki where you manually input colours into the infobox. That wouldn't work with PIs but PIs use a really efficient method to achieve this. Don't worry, it sounds complicated but it isn't. :)

As you can see with Cody, I added a  field to the bottom to tell us the Legion he's a part of. What I can do here is, with CSS, automatically assign a colour scheme to the infobox for characters in that legion. Here's the particular CSS snippet:

This way, when a Clone trooper has, the colour scheme will be yellow as you have now. The same applies to Rex above for the 501st.

How does this sound? The code is readily available for you to read and use. I'm happy to help with the implementation of this as well. :)