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
Aucun résumé des modifications
Hiob (discussion | contributions)
m icon : shield
 
(Une version intermédiaire par un autre utilisateur non affichée)
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
Ligne 20 : Ligne 26 :
             champs = {
             champs = {
                 { cle = 'rattachement', label = 'Rattachement' },  -- Agora / conseil
                 { cle = 'rattachement', label = 'Rattachement' },  -- Agora / conseil
                 { cle = 'type', label = 'Type' },                  -- constructeur / animation
                 { cle = 'role', label = 'Role' },                  -- Construction / animation
                 { cle = 'recrutement', label = 'Recrutement' },  -- Nomination / Candidature
                 { cle = 'recrutement', label = 'Recrutement' },  -- Nomination / Candidature
                 { cle = 'statut', label = 'Statut' },            -- Actif / Inactif
                 { cle = 'statut', label = 'Statut' },            -- Actif / Inactif