Modul:Navbox: Unterschied zwischen den Versionen

Inhalt gelöscht Inhalt hinzugefügt
Keine Bearbeitungszusammenfassung
K Schützte „Modul:Navbox“: Häufig eingebundene Vorlage ([Bearbeiten=Nur Administratoren erlauben] (unbeschränkt) [Verschieben=Nur Administratoren erlauben] (unbeschränkt))
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 97:
local function renderNavBar(titleCell)
 
if args.navbar ~= 'off' and args.navbar ~= 'plain' and not (not args.name and mw.getCurrentFrame():getParent():getTitle():gsub('/sandbox$', '') == 'Template:Navbox (neu)') then
titleCell:wikitext(navbar{
args.name,
Zeile 328:
local function getTrackingCategories()
local cats = {}
if needsHorizontalLists() then table.insert(cats, 'Navigational boxes without horizontal lists') end
if hasBackgroundColors() then table.insert(cats, 'Navboxes using background colours') end
if isIllegible() then table.insert(cats, 'Potentially illegible navboxes') end
return cats
Zeile 445 ⟶ 443:
getArgs = require('Module:Arguments').getArgs
end
args = getArgs(frame, {wrappers = 'Template:Navbox (Neu)'})
 
-- Read the arguments in the order they'll be output in, to make references number in the right order.