Aller au contenu

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

43 octets ajoutés ,  4 octobre 2023
Utilisation d'une sous-fonction pour récupérer le lien de la sous-zone, qui peut désormais être parfois plus spécifique
(bugfix sur les remplacements auto d'identifiants)
(Utilisation d'une sous-fonction pour récupérer le lien de la sous-zone, qui peut désormais être parfois plus spécifique)
Ligne 480 : Ligne 480 :
if multiple_ids then colspan_th = 3 end
if multiple_ids then colspan_th = 3 end
if subarea
if subarea
then table.insert(current_game_locations, "[[" .. subarea .. "]] : ")
then link_subarea = subareas.get_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 .. "'>[[" .. subarea .. "]]</th>")