Thread:FishTank/@comment-25683568-20160115220602/@comment-4522253-20160117180846

They are not. That has to do with the simplified syntax of PIs parser more than anything else. However, if the tabber in EquipmentInfoKai is only for images, then that should work. I somehow was under the impression that they handled data also, which would not.

There are lots of problems with using Lua to alter values post-facto, however. Placeholder values are not as easy with it as I think you're going with. So, let's go with some basics out of order from your description above so that we can puzzle this out together.


 * The PI is executed at the earliest possible level, before any ParserFunctions (including #invoke), but it will accept those ParserFunctions inside the XML. It won't pre-process them, but they will be lazy processed later before it does the Templates and wikitext formatting.
 * The individual item fields with a "source=" attribute will poll the invocation template for those parameters.
 * If it finds them, it passes them through, which can be a Lua #invoke, a ParserFunction, classic Templates, or any wikitext.
 * If it doesn't find them, it will output, but it will NOT pass it through . However, there's no reason why can't be a Lua function which both populates from a data Module and formats the result. This is likely to be the case for all your ShipInfoKai parameters, since their parameters are not invoked on the article.
 * If the parameter in "source=" is not invoked in the article, and there's no, there is simply nothing rendered. No blank box, no placeholder. Neither label nor value are rendered. This is meant to replace checking for parameter existence in wikitext, but understandably wrecks layouts that might have occasional blank parameters. However, for your purposes, it means that the variable lengths (from however many equipment slots) and sections like the "Extra Statistics" will either render or not dependent on whether there is any value underneath them. If a has no fields rendered, the does not render.
 * If there's an item (like ) that could use "source=" and doesn't (for example, putting two parameters in the same line), it will will render the if it exists; otherwise it will render nothing, as there is nothing to feed it. Either way, no.

Regarding the tooltipped items (whether they're label or value), they will still render on Desktop, but they might not in Mobile (since there's no way to easily match a cursor hover with your finger on many mobile devices). But they should still work appropriately if your HTML is right. As far as the "conditional" aspect, if they're output by whatever you're using to produce and format your data, that should work. No JavaScript, just HTML / CSS and whatever wikitext will eventually render to HTML.

Does any of that make sense?