Visa källa för Modul:Unsubst
← Modul:UnsubstDu har inte behörighet att redigera denna sida, av följande anledning:
Du kan se och kopiera denna sidas källtext.
local checkType = require('libraryUtil').checkType
local p = {}
local BODY_PARAM = '$B'
local specialParams = {
['$params'] = 'parameter list',
['$aliases'] = 'parameter aliases',
['$flags'] = 'flags',
['$B'] = 'template content'
}
function p.main(frame, body)
-- If we are substing, this function returns a template invocation, and if
-- not, it returns the template body. The template body can be specified in
-- the body parameter, or in the template parameter defined in the
-- BODY_PARAM variable. This function can be called from Lua or from
-- #invoke.
-- Return the template body if we aren't substing.
000
1:0
Mall som används på den här sidan:
Tillbaka till Modul:Unsubst.