« Module:Infobox/Lieu » : différence entre les versions
Aucun résumé des modifications |
Proposition d'ajout d'un champ "Nom de cellule" |
||
(2 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(), | |||
general.image(), | |||
{ | { | ||
type = "table", | type = "table", | ||
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"}, | ||
} | |||
}, | }, | ||
{ | { | ||
Ligne 25 : | Ligne 20 : | ||
collapseparameters = {collapsible = true, collapsed = true}, | collapseparameters = {collapsible = true, collapsed = true}, | ||
rows = { | rows = { | ||
{type = "row", label = "Nom de cellule", value = "Nom de cellule"}, | |||
{type = "row", label = "Proto ID", value = "proto"}, | {type = "row", label = "Proto ID", value = "proto"}, | ||
{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"}, | ||
}, | |||
}, | }, | ||
} | } | ||
} | } |
Dernière version du 22 juin 2024 à 23:32
local general = require("Module:Infobox/Fonctions")
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 = "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"},
},
},
}
}