Modül:Unsubst
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.