« Module:Infobox/Configs » : différence entre les versions
De Nefald
Autres actions
Aucun résumé des modifications |
Ajout "localité" |
||
| Ligne 1 : | Ligne 1 : | ||
local configs = { | local configs = { | ||
localite = { | |||
sections = { | |||
{ | |||
titre = 'Informations Générales', | |||
champs = { | |||
{ cle = 'type', label = 'Type' }, | |||
{ cle = 'fondation', label = 'Fondation' }, | |||
{ cle = 'destruction', label = 'Destruction' }, | |||
{ cle = 'fondateur', label = 'Fondateur(s)' }, | |||
{ cle = 'symbole', label = 'Symbole' }, | |||
{ cle = 'statut', label = 'Statut' }, | |||
{ cle = 'x', label = 'Coordonnée X' }, -- Sera automatiquement groupé | |||
{ cle = 'y', label = 'Coordonnée Y' }, | |||
{ cle = 'z', label = 'Coordonnée Z' } | |||
} | |||
}, | |||
{ | |||
titre = 'Organisation Interne', | |||
champs = { | |||
{ cle = 'dirigeant', label = 'Dirigeant' }, | |||
{ cle = 'population', label = 'Population' }, | |||
{ cle = 'culte', label = 'Culte' }, | |||
{ cle = 'organisation_rattachee', label = 'Organisation rattachée' } | |||
} | |||
}, | |||
{ | |||
titre = 'Économie et Société', | |||
champs = { | |||
{ cle = 'activite', label = 'Activité' }, | |||
{ cle = 'ressources', label = 'Ressources' } | |||
} | |||
}, | |||
{ | |||
titre = 'Géographie', | |||
champs = { | |||
{ cle = 'monde', label = 'Monde' } | |||
} | |||
} | |||
} | |||
}, | |||
monde = { | monde = { | ||
titre = function(args) return args.nom or '{{PAGENAME}}' end, | titre = function(args) return args.nom or '{{PAGENAME}}' end, | ||