Content deleted Content added
No edit summary |
No edit summary |
||
Line 2:
function p.testcase(frame)
local
local title = mw.ustring.gsub(mw.title.getCurrentTitle().text, '/testcases$', '');
local template1 =
local template2 =
local heading1 =
local heading2 =
local t = {}
for k, v in pairs(args) do
local res1 = frame:expandTemplate{ title = template1, args = table }▼
end
local res2 = frame:expandTemplate{ title = template2, args = t }
return '<table><tr><th>' .. heading1 .. '</th><th>' .. heading2 .. '</tr>\n' ..
|