Module:IsSubpage

require('strict') local p = {} p.main = function(frame) local page = frame.args.page local title = mw.title.new(page) return title.isSubpage end return p