Modification de Module:Infobox/Contenu téléchargeable
La modification peut être annulée. Veuillez vérifier les différences ci-dessous pour voir si c’est bien ce que vous voulez faire, puis publier ces changements pour finaliser l’annulation de cette modification.
Version actuelle | Votre texte | ||
Ligne 1 : | Ligne 1 : | ||
local localdata = require('Module:Infobox/Localdata') | local localdata = require('Module:Infobox/Localdata') | ||
function buildReleaseDateRow(localdata, index) | function buildReleaseDateRow(localdata, index) | ||
local row = { type = 'text'} | local row = { type = 'text'} | ||
Ligne 46 : | Ligne 9 : | ||
end | end | ||
function buildPlatformLinkRow(localdata, index) | function buildPlatformLinkRow(localdata, index) | ||
local row = { type = 'text'} | local row = { type = 'text'} | ||
Ligne 57 : | Ligne 19 : | ||
return { | return { | ||
parts = { | parts = { | ||
{ type = 'title', value = 'nom', subtitle = 'sous-titre', icon = 'icône', subhead = { games = 'jeux', subject = | { type = 'title', value = 'nom', subtitle = 'sous-titre', icon = 'icône', subhead = { games = 'jeux', subject = 'Contenu téléchargeable', link = 'Contenus téléchargeables' }}, | ||
{ type = 'images', imageparameters = { 'image', 'image2', 'image3', 'image4', 'image5' }, captionparameter = { 'légende', 'image desc' }}, | { type = 'images', imageparameters = { 'image', 'image2', 'image3', 'image4', 'image5' }, captionparameter = { 'légende', 'image desc' }}, | ||
{ type = 'table', title = 'Général', rows = { | { type = 'table', title = 'Général', rows = { | ||
{ type = 'row', label = 'Développeurs', value = 'développeurs' }, | { type = 'row', label = 'Développeurs', value = 'développeurs' }, | ||
{ type = 'row', label = 'Éditeur', value = 'éditeur | { type = 'row', label = 'Éditeur', value = 'éditeur' } | ||
}}, | }}, | ||
{ type = 'table', title = 'Dates de sortie', rows = { | { type = 'table', title = 'Dates de sortie', rows = { | ||
buildReleaseDateRow(localdata, '1'), | buildReleaseDateRow(localdata, '1'), | ||
buildReleaseDateRow(localdata, '2'), | buildReleaseDateRow(localdata, '2'), | ||
Ligne 82 : | Ligne 42 : | ||
{ type = 'row', label = 'Taille', value = 'taille' }, | { type = 'row', label = 'Taille', value = 'taille' }, | ||
{ type = 'row', label = 'Patch', value = 'patch' } | { type = 'row', label = 'Patch', value = 'patch' } | ||
}}, | }}, | ||
{ type = 'text', value = 'pied' } | { type = 'text', value = 'pied' } | ||
} | } | ||
} | } |