Module:Cite Q/sandbox: Difference between revisions

Content deleted Content added
linked=no option
+ composer
Line 200:
isbn = {id="P212", maxvals=1}, -- ISBN 13
illustrator = {id="P110", maxvals=0}, -- goes to "others" section
composer = {id="P86", maxvals=0}, -- goes to "others" section
chapter = {id="P792", maxvals=1},
["date"] = {id="P577", maxvals=1},
Line 217 ⟶ 218:
citeq_args.biorxiv = "10.1101/" .. citeq_args.biorxiv
end
if citeq_args.illustrator and not citeq_args.others then
if citeq_args.illustrator then
citeq_args.others = "Illustrator: " .. citeq_args.illustrator
citeq_args.illustrator = nil
end
if citeq_args.composer then
if not citeq_args.others then
citeq_args.others = "Composer: " .. citeq_args.composer
else
citeq_args.others = citeq_args.others .. ", Composer: " .. citeq_args.composer
end
citeq_args.composer = nil
end
end
citeq_args.isbn = getValue( {"P957", ps = 1, qid = citeq_args.qid, maxvals=0, citeq_args.isbn } ) -- try ISBN 10