Aller au contenu

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

m
aucun résumé des modifications
(Utilisation d'une sous-fonction pour récupérer le lien de la sous-zone, qui peut désormais être parfois plus spécifique)
mAucun résumé des modifications
Ligne 483 : Ligne 483 :
table.insert(current_game_locations, link_subarea .. " : ")
table.insert(current_game_locations, link_subarea .. " : ")
if not (subrates_list and subrates_list.subrates) then colspan_th = colspan_th + reduced_colspan_rates[current_game] end
if not (subrates_list and subrates_list.subrates) then colspan_th = colspan_th + reduced_colspan_rates[current_game] end
table.insert(current_subarea_full_locations, "<tr><th colspan='" .. colspan_th .. "'>[[" .. subarea .. "]]</th>")
table.insert(current_subarea_full_locations, "<tr><th colspan='" .. colspan_th .. "'>" .. link_subarea .. "</th>")
else table.insert(current_subarea_full_locations, '<tr><td style="background:transparent" colspan="' .. colspan_th .. '"></td>')
else table.insert(current_subarea_full_locations, '<tr><td style="background:transparent" colspan="' .. colspan_th .. '"></td>')
end
end