Module:WikiProject banner/config

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

return {
	language = 'en',
	subst_warning = {
		image = 'Stop hand nuvola.svg',
		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 %s instead.',
		categories = '[[Category:WikiProject banners with formatting errors|SUBST]][[Category:Pages with incorrectly substituted templates]]'
	},
	namespace_warning = {
		image = 'Ambox important.svg',
		type_ = 'content',
		text = 'The WikiProject banner below should be moved to this %s\'s <b>[[%s|talk page]]</b>.',
		small = 'If this is a demonstration of the template, please set the parameter %s to prevent this page being miscategorised.',
		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 = 'WikiProject banners with formatting errors'
	},
	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.',
	auto = {
		assessed = 'This %s has been [[Wikipedia:Types of bots#WikiProject tagging and auto-assessment bots|automatically rated]] by a [[Wikipedia:Bots|bot]] or other tool %s. Please ensure the assessment is correct before removing the %s parameter.',
		stub = 'as <b>Stub-class</b> because it uses a [[Wikipedia:Stub|stub template]]',
		length = 'based on the length of the article',
		inherit = 'because one or more other projects use this class',
		sort_codes = {A='0', FA='1', FL='2', GA='3', B='4', C='5', Start='6', Stub='7', List='8'},
		default_sort_code = '9',
	},
	quality = {
		name = 'quality scale',
		rating = 'This %s %s on %s.',
		rated = 'has been rated as <b>%s-class</b>',
		not_yet = 'has not yet received a rating',
		not_required = 'does not require a rating',
		default_scale = 'Wikipedia\'s [[Wikipedia:Content assessment|content assessment]] scale',
		project_scale = 'the project\'s %s',
	},
	importance = {
		rating = 'This %s has %s on the %s.',
		rated = 'been rated as <b>%s-%s</b>',
		not_yet = 'not yet received a rating',
		default_scale = '[[Wikipedia:Version 1.0 Editorial Team/Release Version Criteria#Importance of topic|importance scale]]',
		project_scale = 'project\'s %s',
		scale = '%s scale',
		default_name = 'importance',
	},
	template_page = {
		info = 'This [[:Category:WikiProject banner templates|WikiProject banner]] uses %s, a meta-template for easily creating and maintaining banners and talk-page notices. Please report any such errors or feature requests to [[Template talk:WPBannerMeta]].',
		notice_text = 'Information or warnings about the template are below:',
		custom_quality_mask = {
			in_use = 'A <b>[[%s|custom class mask]]</b> is in use.',
			missing = 'The %s parameter is set to <i>subpage</i> but there is no custom class mask held at [[%s]]. Therefore the quality scale has been switched off.',
			unused = 'The [[%s|/class subpage]] is currently not in use. To use it, set %s. To remove this warning, please delete or blank that subpage.'
		},
		custom_importance_mask = {
			in_use = 'A <b>[[%s|custom importance mask]]</b> is in use.',
			missing = 'The %s parameter is set to <i>subpage</i> but there is no custom importance mask held at [[%s]]. Therefore the importance scale has been switched off.',
			unused = 'The [[%s|/importance subpage]] is currently not in use. To use it, set %s. To remove this warning, please delete or blank that subpage.'
		},
		collapsing_notes = {
			text = 'The %s notes in this template will automatically collapse if %s of them are activated. To change this setting, set or update the %s parameter.',
			more_than = 'more than %s',
			any = 'any'
		},
	assessment_link = {
		missing = 'This project banner specifies a non-existent assessment page %s. Please <b>[%s update or remove]</b> the %s parameter to fix this problem.',
		default = 'This project banner does not specify an assessment page but is using, by default, the page [[%s]]. Please check [[Template:WPBannerMeta/Assessment link|here]] for more information and consider [%s adding] the %s parameter to the template.',
		},
	}
}