Modul:Citation/CS1/Identifiers
Prijeđi na navigaciju
Prijeđi na pretraživanje
Script error: The function "nonexistent" does not exist.
-- Modul:Citation/CS1/Identifiers
-- Minimalna verzija
local p = {}
function p.format(id, value)
if not value or value == "" then return nil end
if id == "ISBN" then
return string.format("ISBN: [%s %s]", "https://www.worldcat.org/isbn/" .. value, value)
elseif id == "DOI" then
return string.format("DOI: [%s %s]", "https://doi.org/" .. value, value)
elseif id == "PMID" then
return string.format("PMID: [%s %s]", "https://pubmed.ncbi.nlm.nih.gov/" .. value, value)
end
return id .. ": " .. value
end
return p