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

Excellent it works perfectly. The padding on the default potBox css seems a bit big, "padding:15 px 10 px". Maybe "10 px 10 px" would suffice, although, it is easy enough to change using css.

Anyway, a particularly interesting thing about some of the infoboxes I designed is that they are generated almost completely through lua. They don't require any input from the users/editors nor have any parameters and will simply generate the data using a lua table and the pagename. The only way to add them to these infoboxes is either:


 * 1) Generate the tags using lua.
 * 2) Create functions that call the module and retrieve the data.
 * 3) Use frame.preprocess and send the variables to it.

Currently I'm using approach 2 because the potBox is in beta, and because other editors could easily see what's going on without knowing lua. But given that this particular module has loads of loops, it doesn't seem like an efficient method, maybe using preprocess would work better:

frame.preprocess("")

I'm wondering if the developers (or anyone else) have any thoughts about what's the best approach?