Module:WikiProject banner/config: Difference between revisions

Content deleted Content added
add some config related to banner shell
add importance mask, add category for banners outside shell, remove some unused
Line 33:
non_article_classes = {'Template', 'File', 'Category', 'Disambig', 'Redirect', 'Portal', 'Project', 'Draft', 'FM', 'Help', 'User'},
border = '0.075em solid',
conflict = {--to be removed
border = '0.2em solid red',
category = 'Articles with conflicting quality ratings',
text = 'This article has been given a rating which conflicts with the [[WP:PIQA|project-independent quality rating]] in the banner shell. Please resolve this conflict if possible.'
},
assessment_category = 'Category:%s-Class %s',
colour = { -- to be removed
FA = "#BED3FF",
FL = "#BED3FF",
Line 77 ⟶ 72:
scale = '%s scale',
default_name = 'importance',
colour = { -- to be removed
Top = "#FFBFFF",
High = "#FFCCFF",
Line 86 ⟶ 81:
default = '#DCDCDC'
},
mask = {top = 'Top', high = 'High', mid = 'Mid', low = 'Low', na = 'NA', no = 'NA'},
unknown = 'Unknown',
na = 'NA'
},
task_force = {
Line 167 ⟶ 165:
},
status = {
default_active = 'active', -- to be removed
defunct = 'defunct',
default_inactive = 'inactive',
suffix = '-wikiproject', -- to be removed
inactive_class = 'inactive-wikiproject'
},
Line 479 ⟶ 475:
usage_full = 'It is usual to remove any unused parameters from the template call.',
},
category = {--to be removed
no_banner_shell_articles = 'Articles with WikiProject banners but without a banner shell',
no_banner_shell = 'WikiProject banners without banner shells',
no_quality_rating = 'Pages using WikiProject banner shell without a project-independent quality rating',
redundant_class = 'WikiProject banners with redundant class parameter'
},
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', 'Wpbs'},--to be removed
banner_shell = {
category = {
Line 491 ⟶ 480:
no_banner_shell = 'WikiProject banners without banner shells',
no_quality_rating = 'Pages using WikiProject banner shell without a project-independent quality rating',
redundant_class = 'WikiProject banners with redundant class parameter',
no_banner_shell_articles outside_shell = 'Articles with WikiProject banners butplaced withoutoutside athe banner shell',
},
no_banner_shell_warning = 'Please add <code>{{[[Template:WikiProject banner shell|WikiProject banner shell]]}}</code> to this page and add the quality rating to that template instead of this project banner. See [[WP:PIQA]] for details.',
piqa_warning = 'Please add the quality rating to the <code>{{WikiProject banner shell}}</code> template instead of this project banner. See [[WP:PIQA]] for details.',
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', 'Wpbs'},
conflict = {
border = '0.2em solid red', -- to be removed
category = 'Articles with conflicting quality ratings',
text = 'This article has been given a rating which conflicts with the [[WP:PIQA|project-independent quality rating]] in the banner shell. Please resolve this conflict if possible.'