Modulenn:Bandenn/Class
Documentation for this module may be created at Modulenn:Bandenn/Class/doc
local formes = {
article = 'bandeau-article',
discussion = 'bandeau-discussion',
note = 'homonymie',
section = 'bandeau-section',
simple = 'bandeau-simple',
systeme = 'bandeau-systeme',
}
formes['système']=formes.systeme
local niveau = {
aucun = '',
grave = 'bandeau-niveau-grave',
modere = 'bandeau-niveau-modere',
information = 'bandeau-niveau-information',
detail = 'bandeau-niveau-detail',
neutre = 'bandeau-niveau-neutre',
ebauche = 'bandeau-niveau-ebauche', --nécessaire pour le gadget "EbauchesOff"
}
niveau['modéré'] = niveau.modere
niveau.attention = niveau.modere
niveau['ébauche'] = niveau.ebauche
local icones = {
stop = 'grosse-icone gros-warning',
attention = 'grosse-icone attention',
information = 'grosse-icone information',
ebauche = 'grosse-icone ebauche',
archives = 'grosse-icone archives',
outils = 'grosse-icone maintenance',
protection = 'grosse-icone protection-admin',
semiprotection = 'grosse-icone semi-protection',
engrenage = 'grosse-icone roue-dentee',
conflit = 'grosse-icone conflit-edition',
protege = 'grosse-icone titre-protege',
ADQ = 'grosse-icone etoile-or',
BA = 'grosse-icone etoile-argent',
loupe = 'loupe',
general = 'general',
accessibilite = 'accessibilite',
categorie = 'categorie',
biblio = 'biblio',
recyclage = 'recyclage',
sons = 'sons',
videos = 'videos',
incomplet = 'incomplet',
sources = 'sources',
important = 'important',
travaux = 'en-travaux',
}
icones.grave = icones.stop
icones['gros-warning'] = icones.stop
icones['Octagon delete.svg'] = icones.stop
icones['Crystal Clear action stop.png'] = icones.stop
icones['Fairytale no.svg'] = icones.stop
icones['modéré'] = icones.attention
icones.modere = icones.attention
icones['Ambox content.png'] = icones.attention
icones['Ambox important.svg'] = icones.attention
icones['Emblem-important.svg'] = icones.attention
icones['Ambox notice.png'] = icones.information
icones['Gtk-dialog-info.svg'] = icones.information
icones['Info icon 002.svg'] = icones.information
icones['Info non-talk.svg'] = icones.information
icones['Information icon.svg'] = icones.information
icones['ébauche'] = icones.ebauche
icones['Nuvola apps kedit.svg'] = icones.ebauche
icones['Filing cabinet icon.svg'] = icones.archives
icones['Replacement filing cabinet.svg'] = icones.archives
icones['Tools nicu buculei 01.svg'] = icones.outils
icones['Crystal Clear action lock1.png'] = icones.protection
icones['Crystal Clear action half lock.png'] = icones.semiprotection
icones['Crystal Clear action run.png'] = icones.engrenage
icones['accessibilité'] = icones.accessibilite
icones['catégorie'] = icones.categorie
local class = {
formes = formes,
niveau = niveau,
icones = icones,
}
return class