« Module:Infobox/Configs/Localite » : différence entre les versions
De Nefald
Autres actions
m Hiob a déplacé la page Module:Infobox/Configs/Localité vers Module:Infobox/Configs/Localite sans laisser de redirection : pas d'accent |
*champs |
||
Ligne 6 : | Ligne 6 : | ||
image = function(args) | image = function(args) | ||
if args.image then | if args.image then | ||
return | return { | ||
nom = args.image, | |||
taille = args.tailleimage or "250px", | |||
legende = args.legende | |||
} | |||
end | end | ||
return nil | return nil | ||
end, | end, | ||
sections = { | -- Tous les champs à plat (pas de sections pour l'instant) | ||
champs = { | |||
-- Informations Générales | |||
{ 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' }, | |||
{ cle = 'y', label = 'Coordonnée Y' }, | |||
{ cle = 'z', label = 'Coordonnée Z' }, | |||
-- Organisation Interne | |||
{ cle = 'dirigeant', label = 'Dirigeant' }, | |||
{ cle = 'population', label = 'Population' }, | |||
{ cle = 'culte', label = 'Culte' }, | |||
{ cle = 'organisation_rattachee', label = 'Organisation rattachée' }, | |||
{ cle = 'gouvernement', label = 'Type de gouvernement' }, | |||
{ cle = 'quartiers', label = 'Quartiers' }, | |||
-- Économie et Société | |||
{ cle = 'activite', label = 'Activité' }, | |||
{ cle = 'ressources', label = 'Ressources' }, | |||
{ cle = 'monnaie', label = 'Monnaie' }, | |||
{ cle = 'commerce', label = 'Commerce' }, | |||
{ cle = 'culture', label = 'Culture' }, | |||
{ cle = 'langues', label = 'Langues' }, | |||
-- Géographie | |||
{ cle = 'monde', label = 'Monde' }, | |||
{ cle = 'climat', label = 'Climat' }, | |||
{ cle = 'biome', label = 'Biome' }, | |||
{ cle = 'relief', label = 'Relief' }, | |||
{ cle = 'superficie', label = 'Superficie' }, | |||
{ cle = 'cours_eau', label = 'Cours d\'eau' }, | |||
{ cle = 'batiments', label = 'Bâtiments notables' } | |||
} | } | ||
} | } | ||
return config | return config |