42 912
modifications
m (+ propre) |
(modèle bordure au lieu du module + nom du jeu en gras) |
||
Ligne 3 : | Ligne 3 : | ||
["infosPokemon"] = require("Module:Ressources/infosPokemon") | ["infosPokemon"] = require("Module:Ressources/infosPokemon") | ||
} | } | ||
local game_to_game_long = require("Module:Data/NomsJeux") | local game_to_game_long = require("Module:Data/NomsJeux") | ||
local subareas = require("Module:Localisations/sousZones") | local subareas = require("Module:Localisations/sousZones") | ||
Ligne 128 : | Ligne 127 : | ||
local locdatas = {} | local locdatas = {} | ||
for _, game in pairs(games) do | for _, game in pairs(games) do | ||
borders[game] = | borders[game] = frame:expandTemplate{title='Bordure', args={game}} | ||
game_displays[game] = game_to_game_long[game] | game_displays[game] = game_to_game_long[game] | ||
local game_link = game_to_game_long[game] | local game_link = game_to_game_long[game] | ||
Ligne 326 : | Ligne 325 : | ||
then table.insert(result, '</td></tr>') | then table.insert(result, '</td></tr>') | ||
end | end | ||
table.insert(result, '<tr><td rowspan="' .. number_subareas .. '" class="' .. borders[last_game] .. '">[[' .. game_links[last_game] .. '|' .. game_displays[last_game] .. ']]</td>') | table.insert(result, '<tr><td rowspan="' .. number_subareas .. '" class="' .. borders[last_game] .. '"><b>[[' .. game_links[last_game] .. '|' .. game_displays[last_game] .. ']]</b></td>') | ||
-- if all encounters in the place are restricted to a single game of the two | -- if all encounters in the place are restricted to a single game of the two |