Module:WikiProjectBanner/banners/WikiProject Measurement
MyWikiBiz, Author Your Legacy — Friday November 22, 2024
Jump to navigationJump to searchDocumentation for this module may be created at Module:WikiProjectBanner/banners/WikiProject Measurement/doc
return { project = 'Measurement', imageLeft = 'Nuvola apps kruler.svg', imageLeftSmall = '30px', imageLeftLarge = '75px', assessmentLink = 'Wikipedia:WikiProject Measurement/Assessment', comments = true, quality = { topic = 'Measurement', scale = { FQS = true, image = false, disambig = false, portal = false } }, notices = { { params = {'FA'}, text = "This article has been listed as a '''[[Wikipedia:Featured articles|featured article]]''' under the [[Wikipedia:Featured article criteria|featured article criteria]].", image = 'Cscr-featured.svg', size = '25px', category = 'FA-Class Measurement articles' }, { params = {'FL'}, text = "This article has been listed as a '''[[Wikipedia:Featured lists|featured list]]''' under the [[Wikipedia:Featured list criteria|featured list criteria]].", image = 'Cscr-featured.svg', size = '25px', category = 'FL-Class Measurement articles' }, { params = {'GA'}, text = "This article has been listed as a '''[[Wikipedia:Good articles|good article]]''' under the [[Wikipedia:Good article criteria|good article criteria]].", image = 'Symbol support vote.svg', size = '25px', category = 'GA-Class Measurement articles' } }, categories = { { params = {'VA'}, category = 'VA-Class Measurement articles' } }, hooks = { postQuality = function (t) local Row = require('Module:WikiProjectBanner/Row') local bclassRow = Row.new(t.args, t.data, t.cfg, {}) local gradeTable = mw.html.create('table') gradeTable :tag('tr') :tag('th') :wikitext("This article has been checked against the following '''[[Wikipedia:Version 1.0 Editorial Team/Assessment/B-Class criteria|criteria]]''' for B-Class status:") :done() :tag('td') :addClass('mbox-empty-cell') :done() :done() :tag('tr') :tag('td') :css{ ['font-size'] = '90%', width = '100%' } :tag('ol') :tag('li') :wikitext("[[File:Green check.svg|16x16px|link=alt=]] Referencing and citation: ''criterion met''") :done() :tag('li') :wikitext("[[File:Green check.svg|16x16px|link=alt=]] Coverage and accuracy: ''criterion met''") :done() :tag('li') :wikitext("[[File:Green check.svg|16x16px|link=alt=]] Structure: ''criterion met''") :done() :tag('li') :wikitext("[[File:Green check.svg|16x16px|link=alt=]] Grammar: ''criterion met''") :done() :tag('li') :wikitext("[[File:Green check.svg|16x16px|link=alt=]] Supporting materials: ''criterion met''") :done() :tag('li') :wikitext("[[File:Green check.svg|16x16px|link=alt=]] Accessibility: ''criterion met''") :done() :done() :done() :tag('td') :css('font-size', '88%') bclassRow:setIcon('[[File:Bclass-checklist.svg|20px|link=Wikipedia:Version 1.0 Editorial Team/Assessment/B-Class criteria|alt=Checklist icon|center]]') bclassRow:setText( tostring(gradeTable), { class = 'plainlinks collapsible collapsed', style = { background = 'transparent', margin = 0, padding = 0, ['border-collapse'] = 'collapse', width = '100%' } } ) return bclassRow:exportHtml() end } }