79 548
contributi
m (Added abbrLT (needed in Wikilib/lists grouped lists)) |
(Handling empty form names and Minior Core *** sovrascritto il testo esistente ***) |
||
local genUtil = require('Modulo:Wikilib/gens')
local alt = mw.loadData('Modulo:AltForms/data')
-- Boolean used to avoid double loading of useless forms
local allFormsLoaded = false
--[[
--]]
f.allFormsData = function()
-- Avoid a second loading of all forms
local all = table.copy(alt)▼
if allFormsLoaded then
local useless = require('Modulo:UselessForms/data')▼
end
allFormsLoaded = true
local both = mw.loadData('Modulo:BothForms/data')
--[[
for k, v in pairs(useless) do
if all[k] then
-- This Pokémon is in both useless and altForms, thus it is
--
▲ --]]
else
all[k] = v
black = black and 'black' or ''
poke, extform = f.getnameabbr(poke, extform)
if extform == '
return ''
end
|