Thread:Nikodamn/@comment-3542404-20150904195236/@comment-3542404-20150907173452

Hmm, it gets a bit tricky now, because the way we had this planned would be to use multiple different infobox themes based on the topic (ie technology, characters, organisation, and vehicles would all have different themes).

That was going to set using a fixed "theme-source=" in each template, but now I'm unsure how to make the template switch between different themes based on the width setting. The plan would be to allow pre-set widths (250, 275 and 300px).

E.g.: .pi-theme-character give the infobox a dark blue colour theme, .pi-theme-tech would use a light green one. To allow for the width change I was going to make several variations of each theme with different width settings: .pi-theme-character-250 .pi-theme-character-275 .pi-theme-character-300

The snag is that I'm not even sure if setting the theme through two variables is possible (ie theme-source=... within each template which sets the main infobox style, and |width= which can affect the width of it).

Sorry for dropping this all on you. Ideas?