Content deleted Content added
lets see how effective this is |
hm |
||
Line 23:
local p = {}
function p.parse(
local pframe = frame:getParent()
local config = frame.args -- the arguments passed BY the template, in the wikitext of the template itself
local args = pframe.args -- the arguments passed TO the template, in the wikitext that transcludes the template
-- Page is a string of the page name
local page = frame.page
local pgobject = mw.title.new( page )
local text = pgobject.getContent()
|