Modul:Citation: Unterschied zwischen den Versionen

+chapterUrl
(siteurl)
(+chapterUrl)
Zeile 79: Zeile 79:
end
end


-- convert book with chapter to collection
if args.type == 'book' and not cu.isSet( args.collection ) and cu.isSet( args.chapter ) then
if args.type == 'book' and not cu.isSet( args.collection ) and cu.isSet( args.chapter ) then
args.type = 'bookitem'
args.type = 'bookitem'
args.collection = args.title
args.collection, args.title, args.chapter = args.title, args.chapter, ''
args.title = args.chapter
args.siteUrl, args.url, args.chapterUrl = args.url, args.chapterUrl, ''
args.chapter = ''
args.siteUrl = args.url
args.url = ''
end
end


Zeile 563: Zeile 561:
cu.insertItem( result, args.series, ci.formatters.tiSeries )
cu.insertItem( result, args.series, ci.formatters.tiSeries )
makeIsbn( args, result )
makeIsbn( args, result )
if cu.isSet( args.chapter ) and cu.isSet( args.chapterUrl ) then
args.chapter = cu.makeLink( args.chapterUrl, args.chapter )
end
cu.insertItem( result, args.chapter, ci.formatters.tiChapter )
cu.insertItem( result, args.chapter, ci.formatters.tiChapter )
makePages( args, result )
makePages( args, result )
Anonymer Benutzer