Module:Official website: Difference between revisions

No edit summary
No edit summary
 
Line 105: Line 105:
local qid = mw.wikibase.getEntityIdForCurrentPage()
local qid = mw.wikibase.getEntityIdForCurrentPage()
if qid then
if qid then
ret[#ret + 1] = '[[File:OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px |alt=Edit this at Wikidata |link=https://wiki.tiffa.net/wiki/' .. qid .. '#P12|Edit this at Wikidata]]'
ret[#ret + 1] = '[[File:OOjs UI icon edit-ltr-progressive.svg |frameless |text-top |10px |alt=Edit this at Wikidata |link=https://wiki.tiffa.net/wiki/Item:' .. qid .. '#P87|Edit this at Wikidata]]'
end
end
end
end