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

מ ביטול גרסה 21388919 של קיפודנחש (שיחה) שדות ריקים בהגדרת תבנית הם שגיאה
מאין תקציר עריכה
שורה 344: שורה 344:
hasData, maintainceCats = splitMaintainceCategory(templateArg.data)
hasData, maintainceCats = splitMaintainceCategory(templateArg.data)
if hasData then
if hasData then
propertyName=templateParams[missingParam..'-ויקינתונים'] or templateParams[missingParam..'-ויקינתונים-מרובה']
propertyName=templateParams[missingParam..'-ויקינתונים'] or templateParams[missingParam..'-ויקינתונים-מרובה'] or templateParams[missingParam..'-ויקינתונים-פשוט']
if propertyName then
if propertyName then
templateArg.data = templateArg.data.. ' [[File:Blue pencil RTL.svg|15px|link=https://www.wikidata.org/wiki/'..mw.wikibase.getEntityIdForCurrentPage().. '?uselang=he#'..propertyName..'|עריכת הנתון בוויקינתונים]]'
templateArg.data = templateArg.data.. ' [[File:Blue pencil RTL.svg|15px|link=https://www.wikidata.org/wiki/'..mw.wikibase.getEntityIdForCurrentPage().. '?uselang=he#'..propertyName..'|עריכת הנתון בוויקינתונים]]'