Board Thread:Support Requests - Designing Your Wiki/@comment-37896274-20190921134921/@comment-9605025-20190921211113

Unfortunately, theme-source is the only way to dyamically assign a class to a portable infobox. Therefore, we can't use a separate parameter as a border toggle. However, what we can do is use a standard format to how the parameter input is modified to accomplish the toggle. The CSS will need to be added to Themes.css just like the other theme cusotmizations we already made. It will also require you to revise the current CSS. Let's do that first. First, you will need to rewrite all of the CSS parts that are ".pi-theme-" to "[class*="pi-theme-"]". For example, you currently have: You would need to change it to this: Next, to add the actual text border, something like this: Now, if the template is used like this:

It should appear as it currently does. However, if the template is used like this:

The text in the areas you specified should have the border around them.

I would also like to note that I am not sure why Bunai Di has "theme="default"" in your template. At the very least, I would give it a more meaningful value like "theme="synth"". If the reason it is "default" is because you want to apply it to all infoboxes, then you don't need to use the theme attribute at all. Just write generic CSS that targets all infoboxes.