יחידה:Navbar: הבדלים בין גרסאות בדף
local div; fixed? |
another local |
||
| שורה 50: | שורה 50: | ||
local index = {t = 2, d = 2, e = 3, h = 4, m = 5, w = 6, talk = 2, edit = 3, hist = 4, move = 5, watch = 6} | local index = {t = 2, d = 2, e = 3, h = 4, m = 5, w = 6, talk = 2, edit = 3, hist = 4, move = 5, watch = 6} | ||
for k,v in ipairs(require ('Module:TableTools').compressSparseArray(args)) do | for k,v in ipairs(require ('Module:TableTools').compressSparseArray(args)) do | ||
num = index[v] | local num = index[v] | ||
if num then show[num] = true end | if num then show[num] = true end | ||
end | end | ||