Modulo:Periodo attività musicale/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
aggiornato alla versione corrente |
periodi formati da un solo anno specificati ripetendo l'anno in inizio e fine |
||
Riga 90:
local ns0 = mw.title.getCurrentTitle().namespace == 0
local sepCat = args.debug and '<br />' or ''
local singleYear = false
-- categorie configurate per il 'tipo artista' richiesto
Line 105 ⟶ 106:
table.insert(categories, cat)
else
end
Line 116 ⟶ 113:
table.insert(categories, cat)
else
ending = interval.ending and string.format('[[%s]]', interval.ending) or
end
--
if #intervals > 1 and
formattedInterval =
singleYear = true
else
formattedInterval =
end
if interval.note then
local fmt = interval.note:sub(1, 1) == string.char(127) and
Line 137 ⟶ 136:
table.insert(categories, confCat.intermedi)
end
if singleYear then
▲ table.insert(categories, trackingCategory)
end
end
|