View source for Module:Clade/transclude
MyWikiBiz, Author Your Legacy — Wednesday June 04, 2025
Jump to navigationJump to searchYou do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
require('Module:No globals')
local DEBUG=false
--DEBUG=true -- comment out or not runtime or debug
local p ={}
local pargs ={}
p.main = function(frame) -- called from template
pargs = frame:getParent().args
local output
local selectedTree -- subtree extracted from page content
local modifiedTree -- subtree after pruning and grafting
-- (1) get page
local page = pargs['page'] or frame.args['page']
if not page then
return p.errorMsg("Target page not provided")
end
-- (2) get content of page (move from _section(), _label, etc)
000
1:0
Templates used on this page:
Return to Module:Clade/transclude.