Module:Infobox/Configs/Mythe
De Nefald
Autres actions
La documentation pour ce module peut être créée à Module:Infobox/Configs/Mythe/doc
local config = {
titre = function(args)
return args.nom or '{{PAGENAME}}'
end,
-- Icône avec type et nom
icone = {
type = 'fas', -- ou 'fab', 'far', 'fal', 'fad'
nom = 'hands-praying'
},
image = function(args)
if args.image then
return '[[Fichier:' .. args.image .. '|300px]]'
end
return nil
end,
sections = {
{
titre = 'Informations générales',
champs = {
{ cle = 'type', label = 'Type' },
{ cle = 'territoire', label = "Territoire d'influence" },
{ cle = 'periode_debut', label = 'Période de début' },
{ cle = 'periode_fin', label = 'Période de fin' },
{ cle = 'affiliation', label = 'Affiliation' },
{ cle = 'statut', label = 'Statut' },
}
},
{
titre = 'Divinité',
champs = {
{ cle = 'genealogie', label = 'Généalogie' },
{ cle = 'domaine', label = 'Domaine' },
{ cle = 'apparence', label = 'Apparence' },
{ cle = 'edifice', label = 'Édifice' },
}
},
{
titre = 'Culte',
champs = {
{ cle = 'veneration', label = 'Vénération' },
}
}
}
}
return config