62 737
modifications
Page créée avec « local localdata = require('Module:Infobox/Localdata') local gamesTool = require('Module:Jeux') function buildGamesTable(localdata, index) local row = { type = 'text' } -… » |
mAucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
local localdata = require('Module:Infobox/Localdata') | local localdata = require('Module:Infobox/Localdata') | ||
local | local abb = require('Module:Abréviation') | ||
function buildGamesTable(localdata, index) | function buildGamesTable(localdata, index) | ||
Ligne 7 : | Ligne 7 : | ||
if localdata['jeux'..index] then | if localdata['jeux'..index] then | ||
if games.buildLinksList({ localdata['jeux'..index] }) then | if games.buildLinksList({ localdata['jeux'..index] }) then | ||
row = { type = 'table', title = | row = { type = 'table', title = abb.links({ localdata['jeux'..index], 'Addictions' }), rows = { | ||
{ type = 'row', label = 'Cause', value = 'cause'..index }, | { type = 'row', label = 'Cause', value = 'cause'..index }, | ||
{ type = 'row', label = 'Risque', value = 'risque'..index }, | { type = 'row', label = 'Risque', value = 'risque'..index }, |
modifications