Module:WikiProject banner/config
Appearance
![]() | This Lua module is used on approximately 11,300,000 pages, or roughly 18% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
WikiProject banners |
---|
This submodule of Module:WikiProject banner contains the configuration and localized messages used by the main module.
local p = {}
p.cfg = {
["subst_warning"] = {
["image"] = '[[File:Stop hand nuvola.svg|40px]]',
["type"] = 'content',
-- Lua 5.2 gives us access to \z. Pipe dream upgrade.
["text"] = '<p>It seems that the <i>WikiProject %s</i> banner has ' ..
'been [[Wikipedia:Substitution|substituted]] on this page ' ..
'instead of being [[Wikipedia:Transclusion|transcluded]]. ' ..
'Please undo the edit and type <code>{{%s}}' ..
'</code> instead.</p>',
["categories"] = '[[Category:WikiProject banners with formatting errors|SUBST]]' ..
'[[Category:Pages with incorrectly substituted templates]]'
},
["namespace_warning"] = {
["image"] = '[[File:Ambox important.svg|40px]]',
["type"] = 'content',
-- Lua 5.2 gives us access to \z. Pipe dream upgrade.
["text"] = '<p>The WikiProject banner below should be moved to this ' ..
'%s\'s <b>[[%s|talk page]]</b>.</p><p style="font-size:95%%">If ' ..
'this is a demonstration of the template, please set the ' ..
'parameter %s to prevent this page being miscategorised. %s</p>' ..
'<b>Note:</b> When merging or renaming banners, categories, ' ..
'projects or taskforces, you may need to update ' ..
'[[WP:AALERTS/LIST]] for [[WP:AALERTS|Article Alerts]] to work ' ..
'correctly (ask for help at [[WT:AALERTS]]).',
["on_template_page"] = 'If this message appears on the template page itself, please check that the value of the %s parameter is correctly set to <kbd>%s</kbd>.',
["categories"] = '[[Category:WikiProject banners with formatting errors|%s]]'
}
}
return p