Zum Inhalt springen

Modul:Citation/COinS: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
(COinS_id -> COinS)
Keine Bearbeitungszusammenfassung
Zeile 137: Zeile 137:
if #rft > 2 then
if #rft > 2 then
for key, value in pairs( ci.params ) do
for key, value in pairs( ci.params ) do
if cu.isSet( args[ key ] ) then
if cu.isSet( args[ key ] ) and value.COinS then
if value.COinS and key == 'date' and args.dateFormat == 'R' then
if key == 'date' and args.dateFormat == 'R' then
insertCOinS( value.COinS, string.sub( args[ key ], 1, 4 ) )
insertCOinS( value.COinS, string.sub( args[ key ], 1, 4 ) )
elseif value.COinS and value.COinS ~= 'rft.jtitle' and value.COinS ~= 'rft.title' then
elseif value.COinS ~= 'rft.jtitle' and value.COinS ~= 'rft.title' then
if value.COinS:find( '^rft%.' ) then
if value.COinS:find( '^rft%.' ) then
insertCOinS( value.COinS, args[ key ] )
insertCOinS( value.COinS, args[ key ] )
Anonymer Benutzer