Module:WikiProjectBanner/common data
MyWikiBiz, Author Your Legacy — Tuesday November 26, 2024
Jump to navigationJump to searchDocumentation for this module may be created at Module:WikiProjectBanner/common data/doc
-- assessment grades data local importance_grades = { top = { name = 'Top' , color = '#ff00ff' }; high = { name = 'High' , color = '#ff88ff' }; mid = { name = 'Mid' , color = '#ffbbff' }; low = { name = 'Low' , color = '#ffddff' }; bottom = { name = 'Bottom' , color = '#ffeeff' }; no = { name = 'No' , color = '#ffffff' }; na = { name = 'N/A' , color = '#f5f5f5' }; core = { name = 'Core' , color = '#ff00ff' }; _UNKNOWN = { name = 'Unassessed', color = 'transparent' }; } local quality_grades = { fa = { short = 'FA' , full = 'FA-Class' , color = '#6699ff', icon = 'Featured article star.svg' }; a = { short = 'A' , full = 'A-Class' , color = '#66ffff', icon = 'Symbol a class.svg' }; ga = { short = 'GA' , full = 'GA-Class' , color = '#66ff66', icon = 'Symbol support vote.svg' }; b = { short = 'B' , full = 'B-Class' , color = '#b2ff66', }; bplus = { short = 'B+' , full = 'B+-Class' , color = '#66ff66', aliases = { "b+" } }; c = { short = 'C' , full = 'C-Class' , color = '#ffff66', }; start = { short = 'Start' , full = 'Start-Class' , color = '#ffaa66', }; stub = { short = 'Stub' , full = 'Stub-Class' , color = '#ff6666', }; fl = { short = 'FL' , full = 'Featured List' , color = '#6699ff', icon = 'Featured article star.svg' }; list = { short = 'List' , full = 'List-Class' , color = '#aa88ff', }; na = { short = 'N/A' , full = 'N/A' , color = '#f5f5f5', force_imp = importance_grades.na, rated_text = "does not require a rating" }; future = { short = 'Future' , full = 'Future-Class' , color = '#8a95c9', }; current = { short = 'Current' , full = 'Current-Class' , color = '#d462ff', }; category = { short = 'Category', full = 'Category-Class', color = '#ffdb58', force_imp = importance_grades.na }; disambig = { short = 'Disambig', full = 'Disambig-class', color = '#00fa9a', force_imp = importance_grades.na }; file = { short = 'File' , full = 'File-Class' , color = '#ddccff', force_imp = importance_grades.na }; portal = { short = 'Portal' , full = 'Portal-Class' , color = '#cc8899', force_imp = importance_grades.na }; project = { short = 'Project' , full = 'Project-Class' , color = '#c0c090', force_imp = importance_grades.na }; template = { short = 'Template', full = 'Template-Class', color = '#fbceb1', force_imp = importance_grades.na }; redirect = { short = 'Redirect', full = 'Redirect-Class', color = '#c0c0c0', force_imp = importance_grades.na }; fm = { short = 'FM' , full = 'Featured Media', color = '#6699ff', icon = 'Featured article star.svg' }; draft = { short = 'Draft' , full = 'Draft-Class' , color = 'transparent' }; _UNKNOWN = { short = '?' , full = 'Unassessed-Class', color = 'transparent', rated_text = "has not yet been assessed" }; } -- assessment scales data local importance_scales = { none = {}; standard = { _MAIN = { "low", "mid", "high", "top" }; Draft = { "low", "mid", "high", "top" }; _OTHER = "na"; }; -- TODO: "extended" class } local quality_scales = { none = {}; standard = { _REDIRECT = { _MAIN = "redirect"; }; _MAIN = { "_UNKNOWN", "stub", "start", "c", "b", "ga", "a", "fa", "list", "fl" }; Draft = { "_UNKNOWN", "draft", "stub", "start", "c", "b", "ga", "a", "fa", "list", "fl" }; File = { "file", "fm" }; Portal = "portal"; Category = "category"; Template = "template"; Project = "na"; _OTHER = "na"; }; -- TODO: "extended" class } -- stock notices and requests local stock_notices = { -- TODO: the data is somewhat incomplete auto = { param = 'auto'; icon = 'Robot icôn.svg'; text = 'This %s has been [[WP:AUTOASSESS|automatically rated]] by a [[Wikipedia:Bots|bot]] or other tool because one or more other projects use this class. Please ensure the assessment is correct before removing the <code>|auto=</code> parameter.'; }; attention = { param = 'attention'; icon = 'Diamond-caution.svg'; text = "This %s has been marked as needing immediate attention."; }; vital = { -- TODO }; needs_infobox = { icon = 'Gnome-mime-text-x-credits.svg'; text = "An appropriate [[Wikipedia:Manual of Style (infoboxes)|infobox]] may need to be added to this article."; }; needs_image = { icon = 'Camera-photo.svg'; text = "It is requested that a photograph or picture of this person be [[Wikipedia:Uploading images|included]] in this %s to improve its quality."; }; } return { importance_grades = importance_grades; quality_grades = quality_grades; importance_scales = importance_scales; quality_scales = quality_scales; stock_notices = stock_notices; }