Modul:Citation: Unterschied zwischen den Versionen
keine Bearbeitungszusammenfassung
(format -> prefix, doi; formatIdentifier) |
Keine Bearbeitungszusammenfassung |
||
| Zeile 250: | Zeile 250: | ||
local function formatIdentifier( tab, key, urlPart, text, add ) | local function formatIdentifier( tab, key, urlPart, text, add ) | ||
if cu.isSet( | if cu.isSet( urlPart ) and cu.isSet( text ) then | ||
text = ci.params[ key ].prefix .. | text = ci.params[ key ].prefix .. | ||
cu.makeLink( ci.params[ key ].url:gsub( '%%s', urlPart ), text ) .. | cu.makeLink( ci.params[ key ].url:gsub( '%%s', urlPart ), text ) .. | ||