trusted
167
edits
(A title is required) |
(Forgot the table, LOL. Wish I had a better way to test this myself, but I'm doing it live.) |
||
Line 89: | Line 89: | ||
table.insert(result, frame:expandTemplate{title='ProductionChain', args=data}) | table.insert(result, frame:expandTemplate{title='ProductionChain', args=data}) | ||
end | end | ||
prefix = table.insert(frame:expandTemplate{title='ProductionChainTable/head', args={}}) | prefix = table.insert(result, frame:expandTemplate{title='ProductionChainTable/head', args={}}) | ||
return string.format('%s\n%s\n|}', prefix, table.concat(result, '|-')) | return string.format('%s\n%s\n|}', prefix, table.concat(result, '|-')) | ||
end | end |