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

אין תקציר עריכה
אין תקציר עריכה
שורה 54: שורה 54:
local suggestionslist = require( 'Module:פרמטרים/הצעות' )
local suggestionslist = require( 'Module:פרמטרים/הצעות' )
suggestions = suggestionslist[templatename] -- template data suggestions table
suggestions = suggestionslist[templatename] -- template data suggestions table
for c, cc in pairs(suggestions) do -- count suggestions
if suggestions then
sugnum = sugnum + 1 end
for c, cc in pairs(suggestions) do -- count suggestions
sugnum = sugnum + 1
end
end
if sugnum == 0 then -- noone
if sugnum == 0 then -- noone
havesug = "אין הצעות בהגדרת התבנית"
havesug = "אין הצעות בהגדרת התבנית"