Modification de Module:Infobox/Trait
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 | local games = require('Module:Jeux') | ||
function buildGamesTable(localdata, index) | function buildGamesTable(localdata, index) | ||
Ligne 6 : | Ligne 6 : | ||
if localdata['jeux'..index] then | if localdata['jeux'..index] then | ||
if | if games.buildLinksList({ localdata['jeux'..index] }) then | ||
row = { type = 'table', title = | row = { type = 'table', title = games.buildLinksList({ localdata['jeux'..index], 'Traits' }), rows = { | ||
{ type = 'row', label = 'Exigences', value = 'requiert'..index }, | { type = 'row', label = 'Exigences', value = 'requiert'..index }, | ||
{ type = 'row', label = 'Bénéfices', value = 'bonus'..index }, | { type = 'row', label = 'Bénéfices', value = 'bonus'..index }, |