« Module:Infobox/Configs/Mythe » : 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 '300px' end return nil end, sections = { { titre = 'Informations générales', champs = { { cle = 'type', label = 'Type' }, { cle = 'territoire', label = "Territoire d'influenc... » |
m icon : hands-praying |
||
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 = 'hands-praying' | |||
}, | |||
image = function(args) | image = function(args) | ||
if args.image then | if args.image then |