Modulo:Citazione/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
+ |
correggo |
||
(3 versioni intermedie di uno stesso utente non sono mostrate) | |||
Riga 98:
--[[ ===============================================================================
Ritorna true/false a seconda che la stringa
===============================================================================]]
local function
return require('Modulo:
end
Riga 476:
if type(links) == 'table' then
for _, t in ipairs(links) do
t[2] =
value = value .. ' / ' .. external_link( t[1], t[2] )
end
Riga 1 092:
end
end
if is_set(Issue) and A:ORIGIN('Periodical') ~= "collana" then
if tonumber(Issue:gsub('[-/]', ''), 10) then
Issue = "n. " .. Issue
Riga 1 200:
end
------------------------------------------------------------------------------
------------------------------------------------------------------------------
if is_set(Issue) then
-- Periodical = '';▼
EditorialCollection = EditorialCollection .. ', ' .. Issue;
-- end▼
Issue = '';
end
EditorialCollection = EditorialCollection .. ')';
------------------------------------------------------------------------------
Riga 1 453 ⟶ 1 457:
end
end
Chapter =
if is_set(TransChapter) then Chapter = Chapter .. " " .. TransChapter end
if is_set(Chapter) then
Riga 1 490 ⟶ 1 494:
end
end
Title =
if is_set(TransTitle) then Title = Title .. " " .. TransTitle end
if is_set(Title) then
Riga 1 646 ⟶ 1 650:
fragment_citation:append(fragment_Title)
else
if is_set(
ChapterEditors = 'a cura di ' .. ChapterEditors
fragment_citation = Fragment.new({Contributors, Chapter, ChapterEditors}, sepc)
Riga 1 656 ⟶ 1 660:
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 ⟶ 1 674:
end
end
if is_set(Editors) and (is_set(Authors) or args["anteposizione-curatore"] == "no" and not is_set(
Editors = 'a cura di ' .. Editors
fragment_citation:appends({Authors, fragment_Title, Editors})
Riga 1 680 ⟶ 1 684:
end
end
fragment_citation:appends( { Conference, Periodical, Translator, Illustrator, Others, Series,
local fragment_ID_list = Fragment.new(ID_list, sepc):append(ID):start(",")
local fragment_URL = Fragment.new(URL):start(",")
Riga 1 688 ⟶ 1 692:
local fragment_Via = Fragment.new(Via):start(".")
local fragment_Quote = Fragment.new({Quote}):start(".")
fragment_citation:appends({fragment_ID_list, EditorialCollection, fragment_URL, fragment_AccessDate, fragment_Archived, fragment_Via})
if PostScript == 'nessuno' then
fragment_citation:last("nothing")
|