Content deleted Content added
copy of current module |
add "nbsp" parameter which, if set to any value, will replace the leading space with |
||
Line 36:
local entity = mw.wikibase.getEntityObject(qid)
if entity then
local thisQid
if qid then thisQid = qid else thisQid = entity.id end
-- Named parameter nbsp allows replacing the leading space with
local space
if frame.args.nbsp and (frame.args.nbsp ~= "") then
space = " "
else
space = " "
end
return
i18n.message ..
" |link=https://www.wikidata.org/wiki/" ..
|