יחידה:פרמטרים: הבדלים בין גרסאות בדף
אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 1: | שורה 1: | ||
kipod = {"אלבום", } | kipod = {"אלבום", } | ||
sg = {["סרט"] = true, ["מידע דגל"] = true, ["סדרת טלוויזיה"] = true, } | sg = {["סרט"] = true, ["מידע דגל"] = true, ["סדרת טלוויזיה"] = true, } | ||
un = {} | |||
-- This is the main module function | -- This is the main module function | ||
| שורה 42: | שורה 43: | ||
if data and mw.title.makeTitle( 0, subpageName ).exists then | if data and mw.title.makeTitle( 0, subpageName ).exists then | ||
copydata = mw.loadData(subpageName) -- read template variables data | copydata = mw.loadData(subpageName) -- read template variables data | ||
copyunnamed = copydata[ | copyunnamed = copydata[1] | ||
if | if copyunnamed > 0 and not un[templatename] then sugind = '[[קטגוריה:תבניות עם הצעות]]' end | ||
end | end | ||
local numbered = 0 -- real nonnamed parameters counter | local numbered = 0 -- real nonnamed parameters counter | ||