Aller au contenu

« Module:Infobox/Addiction » : différence entre les versions

m
aucun résumé des modifications
Kharmitch (discussion | contributions)
Page créée avec « local localdata = require('Module:Infobox/Localdata') local gamesTool = require('Module:Jeux') function buildGamesTable(localdata, index) local row = { type = 'text' } -… »
 
Kharmitch (discussion | contributions)
mAucun résumé des modifications
Ligne 1 : Ligne 1 :
local localdata = require('Module:Infobox/Localdata')
local localdata = require('Module:Infobox/Localdata')
local gamesTool = require('Module:Jeux')
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 = games.buildLinksList({ localdata['jeux'..index], 'Addictions' }), rows = {
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 },
Bureaucrate, commentadmin, emailconfirmed, Administrateurs d’interface, staff, Administrateur
62 737

modifications