Content deleted Content added
No edit summary |
No edit summary |
||
Line 3,981:
local tcommon2; -- used for book cite when |contributor= is set
if utilities.in_array (config.CitationClass, {"
tcommon = safe_join( {Others, Title, TitleNote, Periodical, TitleType, Series, Language, Edition, Publisher, Volume}, sepc );▼
elseif utilities.in_array (config.CitationClass, {"book", "citation"}) and not utilities.is_set (Periodical) then -- special cases for book cites▼
if utilities.is_set (Contributors) then -- when we are citing foreword, preface, introduction, etc.
tcommon = safe_join (
tcommon2 = safe_join
else
tcommon = safe_join
end
elseif 'map' == config.CitationClass then -- special cases for cite map
if utilities.is_set (Chapter) then -- map in a book; TitleType is part of Chapter
tcommon = safe_join
elseif utilities.is_set (Periodical) then -- map in a periodical
tcommon = safe_join
else -- a sheet or stand-alone map
tcommon = safe_join
end
elseif 'episode' == config.CitationClass then -- special case for cite episode
tcommon = safe_join
▲ elseif utilities.in_array (config.CitationClass, {"
▲ tcommon = safe_join (
else -- all other CS1 templates
tcommon = safe_join
end
|