Module:Subpages 3: Difference between revisions
Content added Content deleted
m (actually interpolate) |
No edit summary |
||
Line 133: | Line 133: | ||
function sp.tree ( frame ) |
function sp.tree ( frame ) |
||
local page = frame.args[1] or frame:callParserFunction('TOPLEVELPAGE') |
local page = frame.args[1] or frame:callParserFunction('TOPLEVELPAGE') |
||
-- create variant top level page variables |
|||
local mainpage = page; |
|||
local allsptxt = frame:callParserFunction('SUBPAGES', { page, sep = "|" }) |
local allsptxt = frame:callParserFunction('SUBPAGES', { page, sep = "|" }) |