Module:Infobox/Configs
De Nefald
Autres actions
La documentation pour ce module peut être créée à Module:Infobox/Configs/doc
local configs = {
monde = {
titre = function(args) return args.nom or 'Monde sans nom' end,
image = function(args)
if args.image then
return '[[Fichier:' .. args.image .. '|300px]]'
end
return nil
end,
sections = {
{
champs = {
{ cle = 'seed', label = 'Seed' },
{ cle = 'monde', label = 'Type de monde' },
{ cle = 'x', label = 'Coordonnée X' },
{ cle = 'y', label = 'Coordonnée Y' },
{ cle = 'z', label = 'Coordonnée Z' }
}
},
{
titre = 'Informations',
champs = {
{ cle = 'status', label = 'Statut' },
{ cle = 'difficulte', label = 'Difficulté' }
}
}
}
}
}
return configs