יחידה:תבנית מידע: הבדלים בין גרסאות בדף
מ עט אדום למידע חסר תרגום |
מ הכנסה להערה |
||
| שורה 324: | שורה 324: | ||
local missingTranslation = mw.ustring.find(res, '%[%[קטגוריה:ויקינתונים:ערכים_חסרי_תווית_בעברית%]%]') | local missingTranslation = mw.ustring.find(res, '%[%[קטגוריה:ויקינתונים:ערכים_חסרי_תווית_בעברית%]%]') | ||
local link = 'd:'..mw.wikibase.getEntityIdForCurrentPage().. '#'..propertyName | local link = 'd:'..mw.wikibase.getEntityIdForCurrentPage().. '#'..propertyName | ||
if missingTranslation then | if not missingTranslation then | ||
res = res .. mw.ustring.format(' [[File:Blue pencil RTL.svg|15px|link=%s|עריכת הנתון בוויקינתונים]]', link) | res = res .. mw.ustring.format(' [[File:Blue pencil RTL.svg|15px|link=%s|עריכת הנתון בוויקינתונים]]', link) | ||
--else | |||
--res = res .. mw.ustring.format('[[%s|חסר תרגום]] [[File:Red pencil RTL.svg|15px|link=%s|חסר תרגום בוויקינתונים]]', link, link) | |||
end | end | ||
end | end | ||