Modulo:CategoriaMusicale: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica
m fix
Riga 34:
local wikitext = "Questa categoria raggruppa voci su " .. subject2wikilink[subject] .. " [["
if forced_link ~= "" then wikitext = wikitext .. forced_link .. "|" end
wikitext = wikitext .. genre .. "]].\n\n'''Categorie correlate:''' "
if subject == "Gruppi musicali" or subject == "Musicisti" or subject == "Cantanti" then
wikitext = wikitext .. string.format("[[:Categoria:%s per nazionalità|%s per nazionalità]]{{ ·}}", subject, subject)
end
wikitext = wikitext .. string.format("[[:Categoria:%s per genere|%s per genere (tutti)]]{{·}}", subject, subject)
-- aggiungi link alle categorie correlate se diverse da quella attuale
for k, v in pairs(subject2wikilink) do
if subject ~= k then
wikitext = wikitext .. string.format("{{ ·}} [[:Categoria:%s %s|%s %s]]", k, genre, k, genre)
end
end