trusted
167
edits
(Add direct methods to use directly without a template) |
(A title is required) |
||
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{'ProductionChainTable/head'}) | prefix = table.insert(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 |