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

m
aucun résumé des modifications
Kharmitch (discussion | contributions)
mAucun résumé des modifications
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 games = 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], 'Aptitudes' }), rows = {
row = { type = 'table', title = abb.links({ localdata['jeux'..index], 'Aptitudes' }), rows = {
{ type = 'row', label = 'SPECIAL', value = 'special'..index },
{ type = 'row', label = 'SPECIAL', value = 'special'..index },
{ type = 'row', label = 'Exigences', value = 'requiert'..index },
{ type = 'row', label = 'Exigences', value = 'requiert'..index },
Bureaucrate, commentadmin, emailconfirmed, Administrateurs d’interface, staff, Administrateur
62 734

modifications