« Module:Infobox/Lieu » : différence entre les versions

Proposition d'ajout d'un champ "Nom de cellule"
mAucun résumé des modifications
Linarphy (discussion | contributions)
Proposition d'ajout d'un champ "Nom de cellule"
 
(10 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
local general = require("Module:Infobox/Fonctions")
return {
return {
     parts = {
     parts = {
         {
         general.title(),
        type = "title",
         general.image(),
        value = "titre",
        subtitle = "sous-titre",
         },
        {
            type = "images",
            imageparameters = {"image", "image2", "image3", "image4", "image5"},
            captionparameter = "légende",
        },
         {
         {
             type = "table",
             type = "table",
             separator = true,
             title = "Informations générales",  
             rows = {
             rows = {
            {type = "row", label = "Type", value = "type"},
                 {type = "row", label = "Système", value = "système"},
                 {type = "row", label = "Système", value = "système"},
                 {type = "row", label = "Faction", value = "faction"},
                 {type = "row", label = "Faction", value = "faction"},
                 {type = "row", label = "Planète", value = "planète"},
                 {type = "row", label = "Planète", value = "planète"},
            }
        },
        {
            type = "table",
            title = "Technique",
            collapseparameters = {collapsible = true, collapsed = true},
            rows = {
            {type = "row", label = "Nom de cellule", value = "Nom de cellule"},
            {type = "row", label = "Proto ID", value = "proto"},
            {type = "row", label = "[[Editor ID]]", value = "editorid"},
            {type = "row", label = "[[Form ID]]", value = "formid"},
             },
             },
         },
         },
     }
     }
}
}
39

modifications