14 253
modifications
Aucun résumé des modifications |
âge et suppression prod |
||
(4 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
local localdata = require('Module:Infobox/Localdata') | local localdata = require('Module:Infobox/Localdata') | ||
function buildSubject(localdata) | |||
local subject = 'Épisode' | |||
if localdata['type'] then | |||
local types = { | |||
['bâtiment'] = 'Bâtiment', | |||
['pays'] = 'Pays' | |||
} | |||
subject = types[localdata['type']:lower()] or subject | |||
end | |||
return subject | |||
end | |||
return { | return { | ||
Ligne 9 : | Ligne 21 : | ||
{ type = "row", label = "Date de diffusion ", value = "date", "diffusion" }, | { type = "row", label = "Date de diffusion ", value = "date", "diffusion" }, | ||
{ type = "row", label = "Durée", value = "durée" }, | { type = "row", label = "Durée", value = "durée" }, | ||
{ type = "row", label = " | { type = "row", label = "Âge", value = "age" }, | ||
{ type = "row", label = "Description", value = "description" }, | |||
}}, | }}, | ||
{ type = 'table | { type = 'table', rows = { | ||
{ type = | { type = 'succession', value = { | ||
before = function(localdata) return localdata['précédent'] end, | |||
after = function(localdata) return localdata['suivant'] end | |||
{ type = | }}, | ||
{ type = 'row1col', value = { 'partie de' } } | |||
}}, | }}, | ||
{ type = "text", value = "pied" } | { type = "text", value = "pied" } | ||
} | } | ||
} | } |
modifications