יחידה:תבנית מידע: הבדלים בין גרסאות בדף

מאין תקציר עריכה
מאין תקציר עריכה
שורה 166: שורה 166:
renderEditLinks()
renderEditLinks()
local res='<pre>'
return tostring(root)
for k,v in pairs(templateStructure) do
res = res..'\n|*'..k..'* - '..(v.label or '')..'='..(v.data or '')
end
res=res..'</pre>'
return res
--return tostring(root)
end
end


שורה 268: שורה 262:
end
end


return _infobox()
removeEmptyHeaders()
local res='<pre>'
for k,v in pairs(templateStructure) do
res = res..'\n|*'..k..'* - '..(v.label or '')..'='..(v.data or '')
end
res=res..'</pre>'
return res
--return _infobox()
end
end