Module:WikiProject banner/config

This is an old revision of this page, as edited by MSGJ (talk | contribs) at 07:56, 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 = '<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]]'
	},
	namespace_warning = {
		image = '[[File:Ambox important.svg|40px]]',
		type = 'content',
		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]]'
	},
	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 %s and see a list of open tasks."
}

return p