La documentation pour ce module peut être créée à Module:Charte/doc
local p = {}
-- Tableau des couleurs
local couleurs = {
titre = "#339966",
sous_titre = "#66cc99",
hr = "#a2a9b1",
fond = "#e6f4ea"
}
-- Fonction principale
function p.couleur(frame)
local element = frame.args["élément"] or "titre"
return couleurs[element] or couleurs["titre"]
end
return p