« Module:Infobox/Configs/Grade » : différence entre les versions
De Nefald
Autres actions
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 = {... » |
Aucun résumé des modifications |
||
Ligne 8 : | Ligne 8 : | ||
return { | return { | ||
nom = args.image, | nom = args.image, | ||
taille = args.tailleimage or " | taille = args.tailleimage or "300px", | ||
legende = args.legende | legende = args.legende | ||
} | } | ||
Ligne 19 : | Ligne 19 : | ||
titre = 'Informations Générales', | titre = 'Informations Générales', | ||
champs = { | champs = { | ||
{ cle = 'rattachement', label = 'Rattachement' }, -- | { cle = 'rattachement', label = 'Rattachement' }, -- Agora / conseil | ||
{ cle = 'type', label = 'Type' }, -- constructeur / animation | { cle = 'type', label = 'Type' }, -- constructeur / 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 |
Version du 25 septembre 2025 à 14:49
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 = 'type', label = 'Type' }, -- constructeur / animation
{ cle = 'recrutement', label = 'Recrutement' }, -- Nomination / Candidature
{ cle = 'statut', label = 'Statut' }, -- Actif / Inactif
{ cle = 'derniere_revision', label = 'Dernière révision' } -- Date
}
}
}
}
return config