« Module:Infobox/Planète » : différence entre les versions

De Starfield Wiki
mAucun résumé des modifications
+cration kit
 
(5 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
local general = require("Module:Infobox/Fonctions")
return {
return {
parts = {
    parts = {
{ type = 'title', value = 'nom', subtitle = 'sous-titre', icon = 'icône', subhead = { games = 'jeux', subject = 'Faction', link = 'Factions' }},
        general.title(),
{ type = 'images', imageparameters = { 'image', 'image2', 'image3', 'image4', 'image5' }, captionparameter = { 'légende', 'image desc' }},
        general.image(),
{ type = 'table', title = 'Caractéristiques physiques', rows = {
        {
{ type = 'row', label = 'Système', value = 'système' },
            type = "table",
{ type = 'row', label = 'Type', value = 'type' },
            title = "Caractéristiques",
{ type = 'row', label = 'Gravité', value = 'gravité' },
            rows = {
{ type = 'row', label = 'Température', value = 'température' },
                {type = "row", label = "Système", value = "système"},
{ type = 'row', label = 'Atmosphère', value = 'atmosphère' },
                {type = "row", label = "Type", value = "type"},
{ type = 'row', label = 'Magnétosphère', value = 'magnétosphère' },
                {type = "row", label = "Gravité", value = "gravité"},
{ type = 'row', label = 'Faune', value = 'faune' },
                {type = "row", label = "Température", value = "température"},
{ type = 'row', label = 'Flore', value = 'flore' },
                {type = "row", label = "Atmosphère", value = "atmosphère"},
{ type = 'row', label = 'Eau', value = 'eau' },
                {type = "row", label = "Magnétosphère", value = "magnétosphère"},
}},
                {type = "row", label = "Ressource", value = "ressource"},
{ type = 'table', title = 'Colonisation', rows = {
                {type = "row", label = "Faune", value = "faune"},
{ type = 'row', label = 'Faction', value = 'faction' },
                {type = "row", label = "Flore", value = "flore"},
{ type = 'row', label = 'Lieu', value = 'lieu' },
                {type = "row", label = "Eau", value = "eau"},
}},
                {type = "row", label = "Satellites", value = "satellites"},
}
                {type = "row", label = "Satellite de", value = "satellite de"},
            }
        },
        {
            type = "table",
            title = "Colonies",
            rows = {
                {type = "row", label = "Faction", value = "faction"},
                {type = "row", label = "Lieu", value = "lieu"}
            },
        },
        general.creation_kit(),
    }
}
}

Dernière version du 25 novembre 2023 à 07:41

Documentation[voir] [modifier] [purger]
local general = require("Module:Infobox/Fonctions")

return {
    parts = {
        general.title(),
        general.image(),
        {
            type = "table",
            title = "Caractéristiques",
            rows = {
                {type = "row", label = "Système", value = "système"},
                {type = "row", label = "Type", value = "type"},
                {type = "row", label = "Gravité", value = "gravité"},
                {type = "row", label = "Température", value = "température"},
                {type = "row", label = "Atmosphère", value = "atmosphère"},
                {type = "row", label = "Magnétosphère", value = "magnétosphère"},
                {type = "row", label = "Ressource", value = "ressource"},
                {type = "row", label = "Faune", value = "faune"},
                {type = "row", label = "Flore", value = "flore"},
                {type = "row", label = "Eau", value = "eau"},
                {type = "row", label = "Satellites", value = "satellites"},
                {type = "row", label = "Satellite de", value = "satellite de"},
            }
        },
        {
            type = "table",
            title = "Colonies",
            rows = {
                {type = "row", label = "Faction", value = "faction"},
                {type = "row", label = "Lieu", value = "lieu"}
            },
        },
        general.creation_kit(),
    }
}