Module:Infobox/Serveur

De wikarphy
Version datée du 1 mars 2025 à 01:16 par Linarphy (discussion | contributions) (Ajout du module de l'infobox Serveur)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

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

local general = require("Module:Infobox/Fonctions")
local localdata = require("Module:Infobox/Localdata")

return {
    parts = {
        general.title(),
        general.image(),
        {
            type = "table",
            title = "Général",
            rows = {
                {type = "row", label = "Domaine", value = "domaine"},
                {type = "row", label = "Localisation", value = "localisation"},
                {type = "row", label = "Locataire", value = "locataire"},
            },
        },
        {
            type = "table",
            title = "Services",
            rows = {
                {type = "row", label = "Accessibles", value = "accessibles"},
                {type = "row", label = "Internes", value = "internes"},
            },
        },
        {
            type = "table",
            title = "Information technique",
            rows = {
                {type = "row", label = "OS", value = "os"},
                {type = "row", label = "Version", value = "version"},
                {type = "row", label = "Ports", value = "ports"},
                {type = "row", label = "IPv4", value = "ipv4"},
                {type = "row", label = "IPv6", value = "ipv6"},
            },
        },
    }
}