יחידה:תבנית מידע: הבדלים בין גרסאות בדף

מאין תקציר עריכה
אין תקציר עריכה
שורה 94: שורה 94:
if args.usingWikidata then
if args.usingWikidata then
local entity = mw.wikibase.getEntityObject()
local entity = mw.wikibase.getEntityObject()
wbEdit = '//www.wikidata.org/wiki/'..entity.id
wbEdit = '[[File:Wikidata-logo S.svg|20px|link=d:'..entity.id..'|לעריכה בוויקינתונים שמשמש מקור לחלק מהמידע בתבנית]]'
wbEdit = '[[File:Wikidata-logo_S.svg|20px|link='..wbEdit..'|לעריכה בוויקינתונים שמשמש מקור לחלק מהמידע בתבנית]]'
end
end
if #wbEdit > 0 then
if #wbEdit > 0 then