Module:Cite Q/sandbox: Difference between revisions

Content deleted Content added
remove unnamed parameters
test
Line 176:
end
 
local simple_properties = { -- PXXX, is multiple?
citeq_args.publisher = getValue( {'P123', ps = 1, qid = citeq_args.qid, citeq_args.publisher } )
publisher = {id="P123", maxvals=1},
oclc = {id="P243", maxvals=1},
place = {id="P291", maxvals=1},
doi = {id="P356", maxvals=1},
issue = {id="P433", maxvals=1}
}
for name, data in pairs(simple_properties) do
citeq_args.publisher[name] = getValue( {'P123'data.id, ps = 1, qid = citeq_args.qid, citeq_argsmaxvals=data.publishermaxvals, citeq_args[name] } )
end
 
for k, v in pairs(citeq_args) do