« Module:Infobox/Configs/Geographie » : 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 = 'climat', label = 'Climat' },... » |
m icon : map |
||
Ligne 4 : | Ligne 4 : | ||
end, | end, | ||
-- Icône avec type et nom | |||
icone = { | |||
type = 'fas', -- ou 'fab', 'far', 'fal', 'fad' | |||
nom = 'map' | |||
}, | |||
image = function(args) | image = function(args) | ||
if args.image then | if args.image then |