Basculer le menu
Changer de menu des préférences
Basculer le menu personnel
Non connecté(e)
Votre adresse IP sera visible au public si vous faites des modifications.
Version datée du 23 septembre 2025 à 16:37 par Hiob (discussion | contributions) (Page créée avec « return { edifice = { title = "Edifice", headerColor = "#D2691E", -- Couleur construction headerClass = "edifice", fields = { {key = "auteur", label = "Auteur"}, {key = "fonction", label = "Fonction", optional = true}, {key = "monde", label = "Monde", format = "link", optional = true}, {key = "ville", label = "Ville", format = "link", optional = true}, {key = "guilde",... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

La documentation pour ce module peut être créée à Module:Infobox/Configs/doc

return {
    edifice = {
        title = "Edifice",
        headerColor = "#D2691E", -- Couleur construction
        headerClass = "edifice",
        fields = {
            {key = "auteur", label = "Auteur"},
            {key = "fonction", label = "Fonction", optional = true},
            {key = "monde", label = "Monde", format = "link", optional = true},
            {key = "ville", label = "Ville", format = "link", optional = true},
            {key = "guilde", label = "Guilde", format = "link", optional = true},
            {key = "x", label = "X", optional = true},
            {key = "y", label = "Y", optional = true},
            {key = "z", label = "Z", optional = true}
        },
        sections = {
            {title = "Définition", fields = {"auteur", "fonction"}},
            {title = "Géographie", fields = {"monde", "ville", "guilde", "coordonnees"}}
        }
    },

    monde = {
        title = "Monde",
        headerColor = "#86C705",
        headerClass = "monde",
        fields = {
            {key = "seed", label = "Seed", format = "seed"},
            {key = "type", label = "Type"},
            {key = "status", label = "Status", optional = true},
            {key = "difficulte", label = "Difficulté", optional = true},
            {key = "x", label = "X", optional = true},
            {key = "y", label = "Y", optional = true},
            {key = "z", label = "Z", optional = true},
            {key = "monde", label = "Monde", optional = true}
        },
        sections = {
            {title = "Spécificités", fields = {"seed", "type", "spawn"}},
            {title = "Autres infos", fields = {"status", "difficulte"}}
        }
    },

    ville = {
        title = "Ville",
        headerColor = "#20B2AA", -- Couleur ville (à définir selon votre CSS)
        headerClass = "ville",
        fields = {
            {key = "fondation", label = "Fondation"},
            {key = "bourgmestre", label = "Bourgmestre"},
            {key = "guilde", label = "Guilde(s)", optional = true},
            {key = "spec", label = "Spécificité(s)"},
            {key = "projet", label = "Projet", optional = true},
            {key = "production", label = "Production", optional = true},
            {key = "commerce", label = "Liens commerciaux", optional = true},
            {key = "monde", label = "Monde", format = "link", optional = true},
            {key = "region", label = "Région(s)", optional = true},
            {key = "biome", label = "Biome(s)", optional = true},
            {key = "x", label = "X", optional = true},
            {key = "y", label = "Y", optional = true},
            {key = "z", label = "Z", optional = true},
            {key = "carte", label = "Carte", optional = true},
            {key = "taillecarte", label = "Taille carte", optional = true}
        },
        sections = {
            {title = "Informations générales", fields = {"fondation", "bourgmestre", "guilde", "spec", "projet"}},
            {title = "Économie", fields = {"production", "commerce"}},
            {title = "Géographie", fields = {"carte", "monde", "region", "coordonnees", "biome"}}
        }
    }
}