Board Thread:New Features/@comment-4079189-20150913022714

I tried out the theme-source feature and it does not seem to be working as advertised. From the Help:Portable infoboxes/CSS it says "If both attributes are used inside the infobox tag, the theme attribute is treated as the default." This would save duplicating a lot of CSS code if it worked, but something is wrong here.

Here is a test page with my default theme and here is a test page using a theme-source which I want to use to change the flex-basis for this infobox.

The infobox is constructed with this: The theme-source test infobox is called with: The custom CSS for the theme-source is: Both test pages are identical except one has a value for variant and the other leaves it blank. Notice that the theme-source infobox looks nothing like the theme-only infobox. The flex-basis is correct, but all aspects of the default theme have been lost.

While the theme-source feature would come in handy for at least two major infoboxes on my wiki, I would rather not have to touch all pages where they are used just to add the variant parameter (there are hundreds of pages). Yes, I know I could get someone with a bot to do it, but that's beside the point. I request a secondary-theme option, that works just like theme-source is supposed to, except you don't have to specify a parameter for it, you just put it in the infobox. Using my example above, it would be: If you get the theme-source feature working, then it should be a snap to make secondary-theme work. :)

Thanks for listening. 