Modul:Navbox: Unterschied zwischen den Versionen

Kategorisierung erstmal auskommentiert - woll'n wa dat?
(per edit request at template talk)
(Kategorisierung erstmal auskommentiert - woll'n wa dat?)
Zeile 5: Zeile 5:
local p = {}
local p = {}
   
   
local HtmlBuilder = require('Module:HtmlBuilder')
local HtmlBuilder = require('Modul:HtmlBuilder')
local Navbar = require('Module:Navbar')
local Navbar = require('Modul:Navbar')


local args
local args
Zeile 272: Zeile 272:
function getTrackingCategories()
function getTrackingCategories()
     local cats = {}
     local cats = {}
     if needsHorizontalLists() then table.insert(cats, 'Navigational boxes without horizontal lists') end
     -- if needsHorizontalLists() then table.insert(cats, 'Navigational boxes without horizontal lists') end
     if hasBackgroundColors() then table.insert(cats, 'Navboxes using background colours') end
     -- if hasBackgroundColors() then table.insert(cats, 'Navboxes using background colours') end
     return cats
     return cats
end
end
Zeile 280: Zeile 280:
     if border == 'child' or border == 'subgroup'  or args.tracking == 'no' then return false end
     if border == 'child' or border == 'subgroup'  or args.tracking == 'no' then return false end
      
      
     local listClasses = {'plainlist', 'hlist', 'hlist hnum', 'hlist hwrap', 'hlist vcard', 'vcard hlist'}
     local listClasses = {'plainlist', 'hlist', 'hlist hnum', 'hlist vcard', 'vcard hlist'}
     for i, cls in ipairs(listClasses) do
     for i, cls in ipairs(listClasses) do
         if args.listclass == cls or args.bodyclass == cls then
         if args.listclass == cls or args.bodyclass == cls then
Anonymer Benutzer