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

Proposition d'ajout d'un champ "Nom de cellule"
m retouches
Linarphy (discussion | contributions)
Proposition d'ajout d'un champ "Nom de cellule"
 
(7 versions intermédiaires par un autre utilisateur 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 = "Type", value = "type"},
Ligne 19 : Ligne 13 :
                 {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 = "table",  
{type = 'row', label = "Proto ID", value = "proto"},
            title = "Technique",  
{type = 'row', label = "[[Editor ID]]", value = "editorid"},
            collapseparameters = {collapsible = true, collapsed = true},  
{type = 'row', label = "[[Form ID]]", value = "formid"},
            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