Module:Sandbox/CodeHydro

return { main = function(frame) local count = {} table.insert(count, frame:getTitle) table.insert(count, frame:getParent:getTitle) table.insert(count, mw.getCurrentFrame:getTitle) table.insert(count, mw.getCurrentFrame:getParent:getTitle) table.insert(count, mw.getCurrentFrame:getParent:getParent and mw.getCurrentFrame:getParent:getParent:getTitle or 'no grandparent') return '\n*'..table.concat(count, '\n*') .. frame:preprocess'' .. frame:getParent:preprocess'' end }