Board Thread:Lua Help/@comment-26009169-20150522130955

I've had some issues with custom modules for InfoboxBuilder, I have a module which looks like this w:c:elite-dangerous:Module:ShipInfobox.

But whenever I try to do something like this in the template and preview it:

It throws out a `Lua error: bad argument #1 to 'gsub' (string expected, got nil)`. as soon as I import that module, which I'm guessing comes from Module:InfoboxBuilder, but I have problems understanding what's wrong.

Where have I misunderstood how the template works? 