FANDOM


  • (This was originally posted on Community Central here)
    Recently, I replaced the code for the Infobox template on the Constructed Worlds Wiki from its originally long and complicated coding with the Lua implementation of the module version. Although the module works (no "script errors"), when a template uses the child function of the Infobox, it produces the tags "</td></tr>" which appear on top of an article with the template. For example, on this page, it uses this template where you can see "</td></tr>" at the top of the article, interfering with the main text. The template (Infobox officeholder) itself heavily relies on this subtemplate (Infobox officeholder/office) which uses the child function in two instances. When all of the parameters which use the subtemplate (the child infoboxes) are omitted or removed, the tags go away. My guess is that this has something to do with the module itself. Can anyone explain what's going on and help?

      Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+