Module:Cite Q/sandbox: Difference between revisions

Content deleted Content added
rm P1810 for author name (this refers to the *subject*, which in this case would be the title of the work)
layer "last, first" functionality on top of existing function
Tag: Reverted
Line 173:
local sitelink = mw.wikibase.getSitelink(qnumber)
if qnumber == "Q2818964" then sitelink = nil end -- suppress link to "Various authors"
if v.qualifiers and v.qualifiers.P1932P9688 and v.qualifiers.P9687 then
label = v.qualifiers.P9688[1].datavalue.value .. ", " .. v.qualifiers.P9687[1].datavalue.value
elseif v.qualifiers and v.qualifiers.P1932 then
label = v.qualifiers.P1932[1].datavalue.value
else