Modification de Module:Infobox/Entreprise de jeux vidéo
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' ) | ||
local abb = require( 'Module:Abréviation' ) | |||
local tools = require( 'Module:Outils' ) | local tools = require( 'Module:Outils' ) | ||
Ligne 6 : | Ligne 6 : | ||
----- Calcul des champs à afficher ----- | ----- Calcul des champs à afficher ----- | ||
-------------------------------------------------------- | -------------------------------------------------------- | ||
-- MobyGames | -- MobyGames | ||
Ligne 37 : | Ligne 23 : | ||
{ type = 'table', title = 'Informations', rows = { | { type = 'table', title = 'Informations', rows = { | ||
{ type = 'row', label = 'Fondateur', value = 'fondateur' }, | { type = 'row', label = 'Fondateur', value = 'fondateur' }, | ||
{ type = 'row', label = 'Date de fondation', value = 'date fondation' }, | { type = 'row', label = 'Date de fondation', value = 'date fondation' }, | ||
{ type = 'row', label = 'Date de fermeture', value = 'date fermeture' }, | { type = 'row', label = 'Date de fermeture', value = 'date fermeture' }, | ||
Ligne 48 : | Ligne 33 : | ||
}}, | }}, | ||
{ type = 'table', title = "Série ''Fallout''", rows = { | { type = 'table', title = "Série ''Fallout''", rows = { | ||
{ type = 'row', label = 'Développeur', value = function() return | { type = 'row', label = 'Développeur', value = function(localdata) return icon.abb({ localdata['développeur'] }) end }, | ||
{ type = 'row', label = 'Éditeur', value = function() return | { type = 'row', label = 'Éditeur', value = function(localdata) return icon.abb({ localdata['éditeur'] }) end } | ||
}}, | }}, | ||
{ type = 'table', title = 'Autres jeux', rows = { | { type = 'table', title = 'Autres jeux', rows = { | ||
Ligne 56 : | Ligne 41 : | ||
}}, | }}, | ||
{ type = 'table', title = 'Liens externes', rows = { | { type = 'table', title = 'Liens externes', rows = { | ||
{ type = 'row', label = 'Site | { type = 'row', label = 'Site officie', value = 'site officiel' }, | ||
{ type = 'row', label = 'Wikipédia', value = 'wikipédia' }, | { type = 'row', label = 'Wikipédia', value = 'wikipédia' }, | ||
{ type = 'row', label = 'MobyGames', value = function() return mobygames end | { type = 'row', label = 'MobyGames', value = function(localdata) return mobygames end } | ||
}}, | }}, | ||
{ type = 'text', value = 'pied' } | { type = 'text', value = 'pied' } | ||
} | } | ||
} | } |