Aller au contenu

« Module:Localisations » : différence entre les versions

m
bugfix
m (imagenoire)
m (bugfix)
Ligne 489 : Ligne 489 :
for s = 1, subrates_list.number do
for s = 1, subrates_list.number do
local subrate_s = subrates_list.subrates[1][s]
if subrates_list.subrates
table.insert(current_subarea_full_locations, '<td class="' .. subrates_list.subrates[3][s] .. '" width="' .. width_local .. 'px" colspan="' .. colspan_local .. '">')
then local subrate_s = subrates_list.subrates[1][s]
if subrates_list.subrates["no_icon"]
table.insert(current_subarea_full_locations, '<td class="' .. subrates_list.subrates[3][s] .. '" width="' .. width_local .. 'px" colspan="' .. colspan_local .. '">')
then table.insert(current_subarea_full_locations, subrate_s .. '</td>')
if subrates_list.subrates["no_icon"]
else table.insert(current_subarea_full_locations, '[[Fichier:Icône ' .. subrate_s .. ' ' .. current_game .. '.png|' .. subrate_s .. '|link=' .. subrates_list.subrates[4][1] .. '|x25px]]</td>')
then table.insert(current_subarea_full_locations, subrate_s .. '</td>')
else table.insert(current_subarea_full_locations, '[[Fichier:Icône ' .. subrate_s .. ' ' .. current_game .. '.png|' .. subrate_s .. '|link=' .. subrates_list.subrates[4][1] .. '|x25px]]</td>')
end
end
end
end
end