Modul:Uses TemplateStyles: Unterschied zwischen den Versionen
fix?
(fix) |
(fix?) |
||
| Zeile 80: | Zeile 80: | ||
sysop = 4 | sysop = 4 | ||
} | } | ||
local currentProt = titleObj.protectionLevels["edit"][1] | local currentProt = titleObj.protectionLevels["edit"] and titleObj.protectionLevels["edit"][1] or nil | ||
if currentProt == nil then currentProt = 0 else currentProt = protLevels[currentProt] end | if currentProt == nil then currentProt = 0 else currentProt = protLevels[currentProt] end | ||
for i, ts in ipairs(tStyles) do | for i, ts in ipairs(tStyles) do | ||