Modul:Citation: Unterschied zwischen den Versionen
ol, asin
(check asin, ol) |
(ol, asin) |
||
| Zeile 310: | Zeile 310: | ||
elseif cu.isSet( args.oclc ) then | elseif cu.isSet( args.oclc ) then | ||
cu.insertItem2( tab, args.oclc, args.oclc, ci.formatters.dbOclc ) | cu.insertItem2( tab, args.oclc, args.oclc, ci.formatters.dbOclc ) | ||
elseif cu.isSet( args.ol ) then | |||
local prefix = { | |||
['A']='authors/', | |||
['M']='books/', | |||
['W']='works/' | |||
}; | |||
local link = prefix[ args.ol:sub( -1 ) .. args.ol ] | |||
cu.insertItem2( tab, link, args.ol:sub( 3 ), ci.formatters.dbOl ) | |||
elseif cu.isSet( args.asin ) then | |||
cu.insertItem2( tab, args.asin, args.asin, ci.formatters.dbAsin ) | |||
end | end | ||
if cu.isSet( args.issn ) then | if cu.isSet( args.issn ) then | ||