Changes
sync from sandbox; see talk;
['$aliases'] = 'parameter aliases',
['$flags'] = 'flags',
['$B'] = 'template content', ['$template-name'] = 'template invocation name override',
}
-- Find the invocation name.
local mTemplateInvocation = require('Module:Template invocation')
local name if frame.args['$template-name'] and '' ~= frame.args['$template-name'] then name = frame.args['$template-name'] -- override whatever the template name is with this name else name = mTemplateInvocation.name(frame:getParent():getTitle()) end
-- Combine passed args with passed defaults