Board Thread:Lua Help/@comment-4356266-20150608112036/@comment-24473195-20150608120344

I had the same problem recently, so I emphasize. My structure was basically a wikitable containing all information, but it was easier for me because each row used a template, so  it was easy to make short work of converting it into a lua table using the replace notepad function. This also helped when changing recently parsed a page containing a JSON table into lua. So  been there done that.

Anyway, your problem is simply parsing that data, and changing it into lua. You'll need two specific functions if you don't want to convert that table into lua. First, use mw.title.makeTitle("pagename").getContent to obtain that page's content. Secondly, parse it using loops and the string library, and finally use the HTML_library to create the html nodes.

Or you could use my Module:Tablebuilder to create a table. It is quite rough as the comments in the talk_page indicate, but it still works for my purposes. Any suggestions to improve the naming or syntax are welcome.