Modul:Navbox: Unterschied zwischen den Versionen
remove titlegroup per templatestyles section on talk page
(templatestyles, basic i18n, look for titlegroup) |
(remove titlegroup per templatestyles section on talk page) |
||
Zeile 98: | Zeile 98: | ||
local titleRow = tbl:tag('tr') | local titleRow = tbl:tag('tr') | ||
local titleCell = titleRow:tag('th'):attr('scope', 'col') | local titleCell = titleRow:tag('th'):attr('scope', 'col') | ||
local titleColspan = 2 | local titleColspan = 2 | ||
if args[cfg.arg.imageleft] then titleColspan = titleColspan + 1 end | if args[cfg.arg.imageleft] then titleColspan = titleColspan + 1 end | ||
if args[cfg.arg.image] then titleColspan = titleColspan + 1 end | if args[cfg.arg.image] then titleColspan = titleColspan + 1 end | ||
titleCell | titleCell | ||
Zeile 287: | Zeile 268: | ||
cfg.arg.bodyclass, cfg.arg.listclass, cfg.arg.aboveclass, | cfg.arg.bodyclass, cfg.arg.listclass, cfg.arg.aboveclass, | ||
cfg.arg.belowclass, cfg.arg.titleclass, cfg.arg.navboxclass, | cfg.arg.belowclass, cfg.arg.titleclass, cfg.arg.navboxclass, | ||
cfg.arg.groupclass | cfg.arg.groupclass, cfg.arg.imageclass | ||
} | } | ||
local patterns = { | local patterns = { | ||
Zeile 319: | Zeile 300: | ||
return true | return true | ||
end | end | ||
end | end | ||
return false | return false | ||
Zeile 358: | Zeile 332: | ||
if isIllegible() then table.insert(cats, cfg.category.illegible) end | if isIllegible() then table.insert(cats, cfg.category.illegible) end | ||
if hasBorders() then table.insert(cats, cfg.category.borders) end | if hasBorders() then table.insert(cats, cfg.category.borders) end | ||
return cats | return cats | ||
end | end |