![]() | This Lua module is used on approximately 11,500,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.
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',
note_counter = 'A hook is attached to the %s parameter but no valid counter has been attached to %s. If the hook can output more than one row, you may like to add the [[Template:WPBannerMeta/hooks/notecounter|notecounter hook]] to ensure consistent collapsing behaviour.',
category = '[[Category:WikiProject banners with formatting errors|Hook collapsed]]'
},
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.',
edit_summary = 'set ASSESSMENT_LINK parameter',
},
substcheck = 'A feature for detecting incorrectly [[Wikipedia:Template substitution|substituted]] project banners has not yet been implemented on this template. Please see the [[Template:WPBannerMeta/doc#Simple options|documentation]] for how to set the %s parameter.',
portal = {
text = 'This banner template includes a link to %s, %s',
no_image = 'but there is no custom image defined yet. Please read the %s.',
image_link = 'and the accompanying image is %s. See the %s on how to change this.',
instructions = '[[Template:Portal/doc#Image|instructions]]'
},
}
}