Module:WikiProject banner/config
Jump to navigation
Jump to search
Documentation for this module may be created at Module:WikiProject banner/config/doc
return {
language = 'en',
subst_warning = {
image = 'Stop hand nuvola.svg',
type_ = 'content',
text = 'It seems that the <i>%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 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 errors',
sortkey = 'Location',
sortkey_on_template_page = 'Parameter'
},
pale_colours = {
FA = "#BED3FF",
FL = "#BED3FF",
FM = "#BED3FF",
A = "#C0FFFF",
AL = "#C0FFFF",
GA = "#C0FFC0",
B = "#DFFFBF",
BL = "#DFFFBF",
C = "#FFFFBE",
CL = "#FFFFBE",
Start = "#FFDBBF",
Stub = "#FFC0C0",
SL = "#FFC0C0",
List = "#D2C0FF",
Top = "#FFBFFF",
High = "#FFCCFF",
Mid = "#FFD9FF",
Low = "#FFE7FF",
NA = "#F5F5F5"
},
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.',
task_force = {
text = 'This %s is supported by <b>%s</b>%s.',
importance = '(assessed as %s)',
},
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',
default_cat = 'Automatically assessed %s articles',
icon = 'Robot icôn.svg',
},
attention = {
text = 'This %s has been marked as needing immediate attention.',
icon = 'Diamond-caution.svg',
default_cat = '%s articles needing attention',
},
infobox = {
text = 'This %s has been marked as needing an [[Wikipedia:Manual of Style/Infoboxes|infobox]]',
icon = 'Gnome-mime-text-x-credits.svg',
default_cat = '%s articles needing infoboxes',
},
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',
non_article_classes = {'Template', 'File', 'Category', 'Disambig', 'Redirect', 'Portal', 'Project', 'Draft', 'Book', 'FM', 'Help'},
},
b_checklist = {
background = '#b2ff66',
image = '[[File:Bclass-checklist.svg|20px|link=Wikipedia:Content assessment/B-Class criteria|alt=B checklist|center]]',
text = 'This article has %s <b>[[%s|criteria]]</b> for B-class status:',
checked = 'been checked against the following',
not_checked = 'not yet been checked against the',
default_scale = 'Wikipedia:Content assessment/B-Class criteria',
mask = {
yes = 'y', y = 'y', ['1'] = 'y', pass = 'y', -- pass
no = 'n', n = 'n', ['0'] = 'n', fail = 'n', -- fail
na = 'x', ['n/a'] = 'x', -- not applicable
['<yes/no>'] = 'u', ['yes/no'] = 'u', ['?'] = 'u', [''] = 'u', -- unevaluated
default = 'i' -- invalid
},
icon = {
y = 'Green check',
n = 'Red x',
x = 'Tilde',
i = 'Orange exclamation mark',
u = 'Purple question mark',
},
status = {
y = 'criterion met',
n = 'criterion not met',
x = 'not applicable',
i = 'invalid parameter',
u = 'not checked',
},
criteria = {
[1] = 'Referencing and citation',
[2] = 'Coverage and accuracy',
[3] = 'Structure',
[4] = 'Grammar and style',
[5] = 'Supporting materials',
[6] = 'Accessibility'
},
syntax = {
text = 'To fill out this checklist, please [%s add] the following code to the template call:',
prompt = '| b%s<!--%s--> = <yes/no>',
max_width = 24,
assess = 'assessing the article against each criterion.'
},
},
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',
},
status = {
inactive = 'inactive',
['semi-active'] = 'semi-active',
semiactive = 'semi-active',
defunct = 'defunct',
default = 'active'
},
unknown_parameters = {
tracking = 'Category:Pages using %s with unknown parameters',
default = 'Category:WikiProject templates with unknown parameters',
preview = 'Page using %s with unexpected parameter "_VALUE_"',
},
todo_list = {
default_title = 'To-do list',
edit = 'edit',
history = 'history',
watch = 'watch',
purge = 'purge',
},
template_page = {
info = 'This [[:Category:WikiProject banner templates|WikiProject banner]] uses %s, a meta-template for easily creating and maintaining project banners. Please report any 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.',
tracking = {sort_key = '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',
},
project = {
text = 'The required PROJECT parameter has not been defined.',
banner = 'The page name of the banner template does not exist. Please check the PROJECT or BANNER_NAME parameters.',
tracking = {sort_key = 'Missing PROJECT parameter'},
},
substcheck = {
text = '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.',
tracking = {sort_key = 'Check'},
},
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]]',
missing = 'but this portal does not exist - you may have defined %s incorrectly or the portal may have been deleted.',
tracking = {sort_key = 'O'},
},
task_force = {
text = 'A task force does not have a defined name, which is needed for proper classification of these articles. Please add the %s parameter.',
tracking = {sort_key = 'N'},
quality_tracking = 'A task force is using an unrecognised value for parameter %s. Please check and use "yes" to activate quality assessments for this task force.',
quality_cat = {sort_key = 'Q'},
},
quality_criteria = {
custom = 'This project is using a non-standard scale and has opted out of project-independent quality assessments.',
custom_tracking = {category = 'WikiProjects using a non-standard quality scale'},
standard = 'This project is using the standard quality assessment scale but may be using a customised class mask. Please review the %s parameter.',
standard_tracking = {category = 'WikiProjects using the standard quality scale with customised class masks'},
},
check_assessment = {
classes = {'FA', 'FL', 'A', 'GA', 'B', 'C', 'Start', 'Stub', 'List', 'Unassessed', 'NA'},
extended_classes = {'File', 'Category', 'Portal', 'Template', 'Project', 'Disambig', 'Draft'},
importances = {'Top', 'High', 'Mid', 'Low', 'NA', 'Unknown'},
text = 'Some of the assessment categories required for %s do not currently exist, and should to be created to avoid redlinks appearing on talk pages. Alternatively, you may need to set or update the %s parameter in this template.',
icon = 'Nuvola apps kfig.svg',
create_summary = 'Creating category for [[WP:1.0/A|1.0 Assessment scheme]]',
quality_preload = 'Template:WPBannerMeta/templatepage/preloadqual',
importance_preload = 'Template:WPBannerMeta/templatepage/preloadimp',
meta_preload = 'Template:WPBannerMeta/templatepage/preloadmeta',
editintro = 'Template:WPBannerMeta/templatepage/editintro',
parameter_suffix = 'ASSESSMENT_CAT',
tracking = {sort_key = 'Assessment categories missing'},
too_many = 'There are too many task forces to check the assessment categories for each one, so the following selection have been checked: %s.',
},
check_other = {
text = 'The following categories are required for the banner to work correctly. Please either create these categories or adjust the banner so that they are not required.',
icon = 'Nuvola apps kfig.svg',
tracking = {sort_key = 'Z'},
},
default_tracking = 'WikiProject banners with errors',
template_categories = {
non_standard = {category = 'WikiProject banners with non-standard names'},
sandbox = {category = 'WikiProject banner template sandboxes'},
with_quality = {category = 'WikiProject banners with quality assessment'},
without_quality = {category = 'WikiProject banners without quality assessment'},
},
parameters = {
preview = 'Unexpected or deprecated parameter _VALUE_',
config = {'PROJECT', 'BANNER_NAME', 'PROJECT_NAME', 'PROJECT_LINK', 'substcheck', 'DOC', 'IMAGE_LEFT', 'IMAGE_LEFT_SIZE', 'IMAGE_RIGHT', 'IMAGE_RIGHT_SIZE', 'QUALITY_SCALE', 'QUALITY_CRITERIA', 'AUTO_ASSESS_CAT', 'IMPORTANCE_SCALE', 'ASSESSMENT_CAT', 'ASSESSMENT_LINK', 'MAIN_TEXT', 'MAIN_ARTICLE', 'PORTAL', 'MAIN_CAT', 'ATTENTION_CAT', 'INFOBOX_CAT', 'NOTE_SIZE', 'COLLAPSED', 'COLLAPSED_HEAD', 'BOTTOM_TEXT', 'TF_SIZE', 'INHERIT_IMPORTANCE', 'HOOK_NESTED', 'HOOK_NESTED_ASSESS', 'HOOK_ASSESS', 'HOOK_TF', 'HOOK_NOTE', 'HOOK_BOTTOM', 'HOOK_COLLAPSED', 'HOOK_IMPORTANCE', 'PROJECT_STATUS', 'TODO_TITLE', 'TODO_LINK', 'TODO_EDITLINKS', 'TODO_TEXT', 'TODO_TITLE_STYLE', 'TODO_STYLE', 'QII_FORMAT', 'QII_SUPPRESS_NA', 'QII_SUPPRESS_NA_CLASS', 'QII_SUPPRESS_NA_IMPORTANCE'},
passthrough = {'category', 'listas', 'class', 'auto', 'b1', 'b2', 'b3', 'b4', 'b5', 'b6', 'importance', 'priority', 'attention', 'infobox'},
taskforce = {
prefix = 'TF_%s_',
suffix = {'LINK', 'NAME', 'NESTED', 'IMAGE', 'TEXT', 'QUALITY', 'ASSESSMENT_CAT', 'MAIN_CAT', 'PORTAL', 'HOOK', 'SIZE'},
},
note = {
prefix = 'NOTE_%s_',
suffix = {'TEXT', 'IMAGE', 'CAT', 'SIZE'},
},
b_checklist = {
categories = {'B1_CAT', 'B2_CAT', 'B3_CAT', 'B4_CAT', 'B5_CAT', 'B6_CAT', 'B_MAIN_CAT'},
other = {'B_DISPLAY_ON_START'},
},
tracking = 'Automatic parameter checking is enabled and pages with invalid parameters can be found in %s.',
create = 'Automatic parameter checking is enabled. Create %s to track invalid parameters.',
},
},
WPBS_redirects = {'WikiProject banner shell', 'WikiProject banner shell/sandbox', 'Bannershell', 'Multiple wikiprojects', 'Project shell', 'Scope shell', 'WPB', 'WPBS', 'WPBannerShell', 'WP Banner Shell', 'WP banner shell', 'WikiProjectBannerShell', 'WikiProjectBanner Shell', 'WikiProjectBanners', 'WikiProject BannerShell', 'WikiProject Banner Shell', 'WikiProject Banners', 'WikiProject Banners Shell', 'WikiProject Shell', 'WikiProject banner', 'WikiProject banner shell/redirect', 'WikiProject shell', 'WikiprojectBannerShell', 'Wikiproject banner holder', 'Wikiproject banner shell', 'Wikiprojectbanners', 'Wikiprojectbannershell', 'Wpb', 'Wpbannershell', 'Wpbsgclass', 'Article assessment'},
}