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.

« Module:Infobox/Configs/Grade » : différence entre les versions

De Nefald
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 = {... »
 
Hiob (discussion | contributions)
m icon : shield
 
(2 versions intermédiaires par un autre utilisateur non affichées)
Ligne 3 : Ligne 3 :
         return args.nom or '{{PAGENAME}}'
         return args.nom or '{{PAGENAME}}'
     end,
     end,
 
   
    -- Icône avec type et nom
    icone = {
        type = 'fas',  -- ou 'fab', 'far', 'fal', 'fad'
        nom = 'shield'
    },
   
     image = function(args)
     image = function(args)
         if args.image then
         if args.image then
             return {
             return {
                 nom = args.image,
                 nom = args.image,
                 taille = args.tailleimage or "250px",
                 taille = args.tailleimage or "300px",
                 legende = args.legende
                 legende = args.legende
             }
             }
Ligne 19 : Ligne 25 :
             titre = 'Informations Générales',
             titre = 'Informations Générales',
             champs = {
             champs = {
                 { cle = 'rattachement', label = 'Rattachement' },  -- Séminaire / conseil
                 { cle = 'rattachement', label = 'Rattachement' },  -- Agora / conseil
                 { cle = 'type', label = 'Type' },                  -- constructeur / animation
                 { cle = 'role', label = 'Role' },                  -- Construction / animation
                 { cle = 'recrutement', label = 'Recrutement' },
                 { cle = 'recrutement', label = 'Recrutement' }, -- Nomination / Candidature
                 { cle = 'statut', label = 'Statut' },            -- Actif / Inactif
                 { cle = 'statut', label = 'Statut' },            -- Actif / Inactif
                 { cle = 'derniere_revision', label = 'Dernière révision' }  -- Date
                 { cle = 'derniere_revision', label = 'Dernière révision' }  -- Date