Modulo:Citazione: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
rimetto a posto opera come da sandbox
-parte da ridiscutere meglio. mai stato nelle linee guida e contrasta con lo stile unico approvato con sondaggio. dp:fonti#Ordine parametri del template Cita pubblicazione
Riga 1 599:
-- Several of the above rely upon detecting this as nil, so do it last.
if is_set(Periodical) then Periodical = wrap( 'italic-title', Periodical ) end
---------------------------------------------------------------
-- In caso di giornali o pubblicazioni il ente, luogo di pubblicazione ed
-- editore tra parentesi dopo il titolo
---------------------------------------------------------------
if (config.CitationClass=="news" or config.CitationClass=="pubblicazione") then
local post_title = {}
if is_set(Institution) then
post_title[1] = Institution
Institution = ''
end
if is_set(Place) then
post_title[#post_title+1] = Place
Place = ''
end
if is_set(PublisherName) then
post_title[#post_title+1] = PublisherName
PublisherName = ''
end
if #post_title > 0 then
if is_set(Periodical) then
Periodical = Periodical .. ' (' .. table.concat(post_title, ', ') .. ')'
elseif is_set(Title) then
Title = Title .. ' (' .. table.concat(post_title, ', ') .. ')'
end
end
end
 
-- set translator / illustrator