« Module:Infobox/Configs/Grade » : différence entre les versions
De Nefald
Autres actions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 20 : | Ligne 20 : | ||
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 |
Version du 29 septembre 2025 à 13:15
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 "300px",
legende = args.legende
}
end
return nil
end,
sections = {
{
titre = 'Informations Générales',
champs = {
{ cle = 'rattachement', label = 'Rattachement' }, -- Agora / conseil
{ cle = 'role', label = 'Role' }, -- Construction / animation
{ cle = 'recrutement', label = 'Recrutement' }, -- Nomination / Candidature
{ cle = 'statut', label = 'Statut' }, -- Actif / Inactif
{ cle = 'derniere_revision', label = 'Dernière révision' } -- Date
}
}
}
}
return config