Open main menu

Changes

Module:Navbox

2 bytes added, 00:24, 7 March 2013
testing tracking categories
if mw.ustring.sub(s, 1, 1) == '0' then return end -- not in template space
local subpage = mw.ustring.lower(mw.ustring.sub(s, 2))
--if subpage == 'doc' or subpage == 'sandbox' or subpage == 'testcases' then return end
for i, cat in ipairs(getTrackingCategories()) do
builder.wikitext('[[:Category:' .. cat .. ']]')
end
end
if needsHorizontalLists() then table.insert(cats, 'Navigational boxes without horizontal lists') end
if hasCustomListSpacing() then table.insert(cats, 'Navigational boxes with custom list spacing') end
if hasBackgroundColors() then table.insert(cats, 'Navboxes using background colorscolours') end
return cats
end
end
--renderTrackingCategories(res)
return tostring(res)
Anonymous user