Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
fix
use cfg
Line 124:
parameter_format('category', 'no')
)
local sortkey = current_title.namespace==10 and 'PARAMETER'cfg.namespace_warning.sortkey_on_template_page or 'LOCATION'cfg.namespace_warning.sortkey
if current_title.namespace==10 then -- on the Template namespace
text = text .. string.format(
Line 136:
type = cfg.namespace_warning.type_,
text = text
})
}) .. '[[Category:' .. add_category(cfg.namespace_warning.categories .. '|' .., sortkey .. ']]')
end
---------------------------