Basculer le menu
Changer de menu des préférences
Basculer le menu personnel
Non connecté(e)
Votre adresse IP sera visible au public si vous faites des modifications.
Version datée du 24 septembre 2025 à 17:42 par Ayd (discussion | contributions) (Page créée avec « local config = { titre = function(args) return args.nom or '{{PAGENAME}}' end, image = function(args) if args.image then return { nom = args.image, taille = args.tailleimage or "250px", legende = args.legende } end return nil end, sections = { { titre = 'Informations Générales', champs = {... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

La documentation pour ce module peut être créée à Module:Infobox/Configs/Grade/doc

local config = {
    titre = function(args)
        return args.nom or '{{PAGENAME}}'
    end,

    image = function(args)
        if args.image then
            return {
                nom = args.image,
                taille = args.tailleimage or "250px",
                legende = args.legende
            }
        end
        return nil
    end,

    sections = {
        {
            titre = 'Informations Générales',
            champs = {
                { cle = 'rattachement', label = 'Rattachement' },  -- Séminaire / conseil
                { cle = 'type', label = 'Type' },                  -- constructeur / animation
                { cle = 'recrutement', label = 'Recrutement' },
                { cle = 'statut', label = 'Statut' },             -- Actif / Inactif
                { cle = 'derniere_revision', label = 'Dernière révision' }  -- Date
            }
        }
    }
}

return config