Modul:Citation: Unterschied zwischen den Versionen
K
Korrektur
(umgestellt) |
K (Korrektur) |
||
| Zeile 721: | Zeile 721: | ||
-- handle titles | -- handle titles | ||
if args.type == 'book' or args.type == 'map' or args.type == 'collection' then | if args.type == 'book' or args.type == 'map' or args.type == 'collection' then | ||
insertCOinS( 'rft.title | insertCOinS( 'rft.title', args.title ) | ||
if args.type == 'collection' then | if args.type == 'collection' then | ||
insertCOinS( 'rft.atitle | insertCOinS( 'rft.atitle', args.title ) | ||
insertCOinS( 'rft.btitle | insertCOinS( 'rft.btitle', args.collection ) | ||
table.insert( rft, 1, 'rft.genre=bookitem' ) | table.insert( rft, 1, 'rft.genre=bookitem' ) | ||
else | else | ||
insertCOinS( 'rft.btitle | insertCOinS( 'rft.btitle', args.title ) | ||
table.insert( rft, 1, 'rft.genre=book' ) | table.insert( rft, 1, 'rft.genre=book' ) | ||
end | end | ||
table.insert( rft, 1, 'rft_val_fmt=' .. mw.uri.encode( 'info:ofi/fmt:kev:mtx:book' ) ) | table.insert( rft, 1, 'rft_val_fmt=' .. mw.uri.encode( 'info:ofi/fmt:kev:mtx:book' ) ) | ||
else -- 'journal', 'newspaper' | else -- 'journal', 'newspaper' | ||
insertCOinS( 'rft.title | insertCOinS( 'rft.title', args.title ) | ||
insertCOinS( 'rft.atitle | insertCOinS( 'rft.atitle', args.title ) | ||
if args.type == 'journal' then | if args.type == 'journal' then | ||
insertCOinS( 'rft.jtitle | insertCOinS( 'rft.jtitle', args.journal ) | ||
else | else | ||
insertCOinS( 'rft.jtitle | insertCOinS( 'rft.jtitle', args.newspaper ) | ||
end | end | ||
table.insert( rft, 1, 'rft.genre=journal' ) | table.insert( rft, 1, 'rft.genre=journal' ) | ||