Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.
Revision as of 17:21, January 28, 2025 by Tesinormed (talk | contribs) (Created page with "local p = {} function p.main(frame) local args = require('Module:Arguments').getArgs(frame) if not args['scope'] then error('"scope" argument is required') end local scope = args['scope'] return frame:callParserFunction('DISPLAYTITLE', 'a' .. mw.title.getCurrentTitle()) end return p")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Removes parentheses in a page title; used by Template:Remove parentheses


local p = {}

function p.main(frame)
	local args = require('Module:Arguments').getArgs(frame)
	if not args['scope'] then error('"scope" argument is required') end
	local scope = args['scope']

	return frame:callParserFunction('DISPLAYTITLE', 'a' .. mw.title.getCurrentTitle())
end

return p