« Module:Infobox/Configs/Grade » : différence entre les versions
De Nefald
Autres actions
Aucun résumé des modifications |
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 = ' | { 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 |