Module:Citation/CS1: Difference between revisions
kill duplication
m>Dragons flight (keep format together with URL) |
m>Dragons flight (kill duplication) |
||
Line 326: | Line 326: | ||
local Periodical = args.journal or args.newspaper or args.magazine or args.work or args.periodical or args.encyclopedia or args.encyclopaedia | local Periodical = args.journal or args.newspaper or args.magazine or args.work or args.periodical or args.encyclopedia or args.encyclopaedia | ||
if ( config.CitationClass == "encyclopaedia" ) then | if ( config.CitationClass == "encyclopaedia" ) then | ||
if ( args.article and args.article ~= "") then | |||
if ( Title and Title ~= "") then Periodical = Title end | |||
Chapter = args.article | |||
TransChapter = TransTitle | TransChapter = TransTitle | ||
else | |||
if ( Periodical and Periodical ~= "") then | |||
if Periodical ~= Title then | |||
Chapter = Title | |||
TransChapter = TransTitle | |||
end | |||
else Periodical = Title | |||
end | |||
end | |||
Title = "" | |||
end | end | ||
local Series = args.series or args.version | local Series = args.series or args.version |