יחידה:תבנית מידע: הבדלים בין גרסאות בדף
מאין תקציר עריכה |
מאין תקציר עריכה |
||
| שורה 142: | שורה 142: | ||
local wbEdit='' -- link to wikidata | local wbEdit='' -- link to wikidata | ||
if self.args.usingWikidata then | if self.args.usingWikidata then | ||
local | local entityId = mw.wikibase.getEntityIdForCurrentPage() | ||
wbEdit = '[[File:Wikidata-logo S.svg|20px|link=d:'.. | wbEdit = '[[File:Wikidata-logo S.svg|20px|link=d:'..entityId..'|לעריכה בוויקינתונים שמשמש מקור לחלק מהמידע בתבנית]]' | ||
end | end | ||
if #wbEdit > 0 then | if #wbEdit > 0 then | ||