Vejatz lo contengut

Mòdul:Bendèl/class

Un article de Wikipèdia, l'enciclopèdia liura.

La documentacion d'utilizacion d'aquel modul se pòt crear a Mòdul:Bendèl/class/ús

local formas = {
	article = 'bendel-article',
	systeme = 'bendel-sistema',
	section = 'bendel-seccion',
	discussion = 'bendel-discussion',
	simple = 'bendel-simple',
}
formas['sistèma']=formas.sistema

local nivel = {
	grave = 'bendel-nivel-greu',
	modere = 'bendel-nivel-moderat',
	information = 'bendel-nivel-informacion',
	detail = 'bendel-nivel-detalh',
	neutre = 'bendel-nivel-neutre',
	ebauche = 'bendel-nivel-esbos',  --necessari pel gadget "EsbossesOff"
}
nivel['moderat'] = nivel.moderat
nivel.attention = nivel.moderat
nivel['esbòs'] = nivel.esbos

local iconas = {
	stop = 'grossa-icona gros-warning',
	attention = 'grossa-icona atencion',
	information = 'grossa-icona informacion',
	ebauche = 'grossa-icona esbos',
	archives = 'grossa-icona archius',
	outils = 'grossa-icona mantenenca',
	protection = 'grossa-icona proteccion-admin',
	semiprotection = 'grossa-icona semiproteccion',
	engrenage = 'grossa-icona roda-dentada',
	conflit = 'grossa-icona conflicte-edicion',
	protege = 'grossa-icona titol-protegit',
	ADQ = 'grossa-icona estoile-or',
	BA = 'grossa-icona estela-argent',
	loupe = 'lopia',
	general = 'general',
	accessibilite = 'accessibilitat',
	categorie = 'categoria',
	biblio = 'biblio',
	recyclage = 'reciclatge',
	sons = 'sons',
	videos = 'videos',
	incomplet = 'incomplet',
	sources = 'sfonts',
	important = 'important',
	travaux = 'en-obras',
}
iconas.grave = iconas.stop
iconas['gros-warning'] = iconas.stop
iconas['Octagon delete.svg'] = iconas.stop
iconas['Crystal Clear action stop.png'] = iconas.stop
iconas['Fairytale no.svg'] = iconas.stop
iconas['moderat'] = iconas.atencion
iconas.modere = iconas.atencion
iconas['Ambox content.png'] = iconas.atencion
iconas['Ambox important.svg'] = iconas.atencion
iconas['Emblem-important.svg'] = iconas.atencion
iconas['Ambox notice.png'] = iconas.informacion
iconas['Gtk-dialog-info.svg'] = iconas.informacion
iconas['Info icon 002.svg'] = iconas.informacion
iconas['Info non-talk.svg'] = iconas.informacion
iconas['Information icon.svg'] = iconas.informacion
iconas['esbòs'] = iconas.esbos
iconas['Nuvola apps kedit.svg'] = iconas.esbos
iconas['Filing cabinet icon.svg'] = iconas.esbos
iconas['Replacement filing cabinet.svg'] = iconas.archius
iconas['Tools nicu buculei 01.svg'] = iconas.aisinas
iconas['Crystal Clear action lock1.png'] = iconas.proteccion
iconas['Crystal Clear action half lock.png'] = iconas.semiproteccion
iconas['Crystal Clear action run.png'] = iconas.engrenatge
iconas['accessibilitat'] = iconas.accessibilitat
iconas['categoria'] = iconas.categoria

local class = {
	formas = formas,
	nivel = nivel,
	iconas = iconas,
}

return class