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

De Starfield Wiki
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
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",
Ligne 19 : Ligne 11 :
                 {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"},
            }
         },
         },
         {
         {
Ligne 28 : Ligne 21 :
             {type = "row", label = "[[Editor ID]]", value = "editorid"},
             {type = "row", label = "[[Editor ID]]", value = "editorid"},
             {type = "row", label = "[[Form ID]]", value = "formid"},
             {type = "row", label = "[[Form ID]]", value = "formid"},
            },
         },
         },
     }
     }
}
}
}
}

Version du 24 novembre 2023 à 16:52

Documentation[voir] [modifier] [purger]
return {
    parts = {
        general.title(),
        general.image(),
        {
            type = "table",
            title = "Informations générales", 
            rows = {
             	{type = "row", label = "Type", value = "type"},
                {type = "row", label = "Système", value = "système"},
                {type = "row", label = "Faction", value = "faction"},
                {type = "row", label = "Planète", value = "planète"},
            }
        },
        {
            type = "table", 
            title = "Technique", 
            collapseparameters = {collapsible = true, collapsed = true}, 
            rows = {
             	{type = "row", label = "Proto ID", value = "proto"},
             	{type = "row", label = "[[Editor ID]]", value = "editorid"},
             	{type = "row", label = "[[Form ID]]", value = "formid"},
            },
        },
    }
}