Modulo:Fumetto e animazione/sandbox: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
semplifico
m -
Riga 87:
local function categorizza(args, base_name, table_name, lowercase)
local categories = {}
local anno = get_year(args['data inizio']) or get_year(args['data_finedata fine'])
local index = 1
while true do
Riga 144:
----------------------------------------------------------------------------------
function p.categorie(frame)
local args = getArgs(frame, {parentOnly = not frame.args.debugtrue})
local current_pageisMainspace = mw.title.getCurrentTitle().namespace == 0
local current_namespacecatEnabled = current_pageargs.namespacecategorie ~= 'no'
if not (current_namespace ~= 0 or args.categorietipo ==and 'no')isMainspace and not frame.args.debugcatEnabled) then return '' end
local categories = {}
local tipo = get_category(cfg[args.tipo .. (args.sottotipo and (' ' .. args.sottotipo) or ''), 'tipo')]
local tipo
local counter
if args.tipo then
tipo = get_category(args.tipo .. (args.sottotipo and (' ' .. args.sottotipo) or ''), 'tipo')
end
-- Categorizzazioni specifiche
if tipo == "Serie televisive d'animazione" then