Open main menu

Changes

Module:Citation

194 bytes removed, 14:52, 30 August 2012
Fixed substring calculations.
domain = "co." .. domain
end
local text = return externallinkid(frame, {link="Amazon Standard Identification Number",label="ASIN",prefix="//www.amazon."..domain.."/dp/",id=id})--[=[ this applies to DOI not ASIN if ( string.sub(id,1,3) ~= "10." ) then text = text .. "[[Category:Pages with DOI errors]]" end ]=] return text
end
local cat = ""
local prefix = ""
local code = string.id:sub(id,string.length(id)-1,-1)
if ( code == "A" ) then
prefix = "http://openlibrary.org/authors/OL"
Anonymous user