62 737
modifications
mAucun résumé des modifications |
mAucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
local localdata = require( 'Module:Infobox/Localdata' ) | local localdata = require( 'Module:Infobox/Localdata' ) | ||
local tools = require( 'Module:Outils' ) | local tools = require( 'Module:Outils' ) | ||
Ligne 6 : | Ligne 6 : | ||
----- Calcul des champs à afficher ----- | ----- Calcul des champs à afficher ----- | ||
-------------------------------------------------------- | -------------------------------------------------------- | ||
-- Développeur et Éditeur | |||
local developer = localdata['développeur'] | |||
local editor = localdata['éditeur'] | |||
if developer or editor then | |||
local abb = require( 'Module:Abréviation' ) | |||
if developer then | |||
developer = abb.links({ developer, ['séparateur'] = '<br/>' }) | |||
end | |||
if editor then | |||
editor = abb.links({ editor, ['séparateur'] = '<br/>' }) | |||
end | |||
end | |||
-- MobyGames | -- MobyGames | ||
Ligne 33 : | Ligne 47 : | ||
}}, | }}, | ||
{ type = 'table', title = "Série ''Fallout''", rows = { | { type = 'table', title = "Série ''Fallout''", rows = { | ||
{ type = 'row', label = 'Développeur', value = function( | { type = 'row', label = 'Développeur', value = function() return developer end }, | ||
{ type = 'row', label = 'Éditeur', value = function( | { type = 'row', label = 'Éditeur', value = function() return editor end } | ||
}}, | }}, | ||
{ type = 'table', title = 'Autres jeux', rows = { | { type = 'table', title = 'Autres jeux', rows = { | ||
Ligne 43 : | Ligne 57 : | ||
{ type = 'row', label = 'Site officiel', value = 'site officiel' }, | { type = 'row', label = 'Site officiel', 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( | { type = 'row', label = 'MobyGames', value = function() return mobygames end } | ||
}}, | }}, | ||
{ type = 'text', value = 'pied' } | { type = 'text', value = 'pied' } | ||
} | } | ||
} | } |
modifications