Board Thread:Lua Help/@comment-26942307-20151128194431/@comment-26912683-20160124221450

Hi Bent,

The OfferTable would allow you to indicate different classes to suit the appropriate required theme - or better still the CSS would pick the theme based upon the class being enclosed within the associated themed outer class.

So, as an example, if you have a theme for German trains labelled de and Dutch trains labelled nl then you put together code along the lines of:

For the situation you are in I think you have probably come up with the ideal way forward by using the OfferTable. As far as I am aware it is not currently possible to to return extra Infobox code from a template to insert because the Infobox code is evaluated first and the inserts are evaluated after.

Geoff Riley (talk) 22:14, January 24, 2016 (UTC)