Modulo:Citazione/sandbox: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
parametro anteposizione curatore
m versione attuale
Riga 98:
 
--[[ ===============================================================================
Ritorna true/false a seconda che la stringa siasi esclusivamentepossa inscrivere caratteriin latinicorsivo
===============================================================================]]
local function is_latinis_italicizable( str )
return require('Modulo:IsLatinValido in corsivo')._IsLatin_main({ str })
end
 
Riga 476:
if type(links) == 'table' then
for _, t in ipairs(links) do
t[2] = is_latinis_italicizable( t[2] ) and wrap( 'italic-title', t[2] ) or t[2]
value = value .. ' / ' .. external_link( t[1], t[2] )
end
Riga 1 453:
end
end
Chapter = is_latinis_italicizable( Chapter ) and wrap( 'italic-title', Chapter ) or Chapter;
if is_set(TransChapter) then Chapter = Chapter .. " " .. TransChapter end
if is_set(Chapter) then
Riga 1 490:
end
end
Title = is_latinis_italicizable( Title ) and wrap('italic-title', Title ) or Title;
if is_set(TransTitle) then Title = Title .. " " .. TransTitle end
if is_set(Title) then
Riga 1 646:
fragment_citation:append(fragment_Title)
else
if is_set(ChapterEditors) and (is_set(Contributors) or args["anteposizione -curatore"] == "no") then
ChapterEditors = 'a cura di ' .. ChapterEditors
fragment_citation = Fragment.new({Contributors, Chapter, ChapterEditors}, sepc)
Riga 1 656:
if is_set(Authors) then
Contributors, Authors = Authors, ""
elseif is_set(Editors) and args["anteposizione -curatore"] ~= "no" then
ChapterEditors, Editors = wrap(msg_editors, Editors), ""
end
Riga 1 670:
end
end
if is_set(Editors) and (is_set(Authors) or args["anteposizione -curatore"] == "no" and not is_set(Chapter)) then
Editors = 'a cura di ' .. Editors
fragment_citation:appends({Authors, fragment_Title, Editors})