Module:WikiProject banner/config: Difference between revisions

Content deleted Content added
create
 
+maintext
Line 1:
local p = {}
p.cfg = {
["subst_warning"] = {
["image"] = '[[File:Stop hand nuvola.svg|40px]]',
["type"] = 'content',
["text"] = '<p>It seems that the <i>WikiProject %s</i> banner has ' ..
-- 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>&#123;&#123;%s&#125;&#125;' ..
'</code> instead.</p>',
["categories"] = '[[Category:WikiProject banners with formatting errors|SUBST]]'[[Category:Pages ..with incorrectly substituted templates]]'
'[[Category:Pages with incorrectly substituted templates]]'
},
["namespace_warning"] = {
["image"] = '[[File:Ambox important.svg|40px]]',
["type"] = 'content',
["text"] = '<p>The WikiProject banner below should be moved to this ' ..
-- 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 ' ..
Line 25 ⟶ 22:
'[[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]]'
},
maintext = "This %s is within the scope of '''%s''', a collaborative effort to improve the coverage of %s on Wikipedia. If you would like to participate, please visit the project page, where you can join [[{{TALKPAGENAME:{{{PROJECT_LINK}}}}}|the discussion]] and see a list of open tasks."
}