Module:WikiProject banner/config

This is an old revision of this page, as edited by MSGJ (talk | contribs) at 08:08, 28 May 2023. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

local p = {}
p.cfg = {
	subst_warning = {
		image = '[[File:Stop hand nuvola.svg|40px]]',
		type_ = 'content',
		text = '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.',
		categories = '[[Category:WikiProject banners with formatting errors|SUBST]][[Category:Pages with incorrectly substituted templates]]'
	},
	namespace_warning = {
		image = '[[File:Ambox important.svg|40px]]',
		type_ = 'content',
		text = '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',
		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 <b>%s</b>, 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 %s and see a list of open tasks.'
}

return p