Board Thread:New Features/@comment-24739709-20150518230347/@comment-24473195-20150618184147

I was thinking, maybe these potBoxes could have a different extension for XML markup (e.g. Template:Character.pbox or Template:Character/infobox) just like the js files. The benefit of it is that we can completely separate the logic (processing) from the data structure.

Currently, the potBoxes are bundled in templates that explain their logic and sometimes do some processing, the result is that they may end up being as complicated as the current ones are. It will also be hard to add the code editor available for lua, css, and js if it remains in the same page as a regular template.

Some benefits are :


 * Applying syntax highlighting to the page
 * Code editor can be used (e.g. tabbing), and it won't interfere with normal wikitext
 * It will be easier to import the markup to other wikis because it won't include external wikitext.

I know that wikia likely wants it to be as simple as using a. But these changes could really make them Portable Infoboxes. At the very least this could be a design guideline for potBox editors  much like how the current "/doc" can be used for documentation, e.g. "Place the markup in a separate page /infobox".