Module:Testcase table: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 3:
function p.testcase(frame)
local args = frame.args
local template1 = args['_template1'] or (mw.frame:expandTemplate{ title.basePageTitle = 'BASEPAGENAME'})
local template2 = args['_template2'] or (mw.frame:expandTemplate{ title.basePageTitle = 'BASEPAGENAME'} .. '/sandbox')
local heading1 = args['_heading1'] or '{{tld|' .. template1 .. '}}'
local heading2 = args['_heading2'] or '{{tld|' .. template2 .. '}}'