Modul:Navbox: Perbedaan revisi
terjemahkan kategori pelacak
Mediawiki>WOSlinker (remove moz and webkit as standard now well supported) |
Mediawiki>Hidayatsrf (terjemahkan kategori pelacak) |
||
Baris 20: | Baris 20: | ||
-- by parent navboxes. The result is that the category shows all pages | -- by parent navboxes. The result is that the category shows all pages | ||
-- where a child navbox is not contained in a parent navbox. | -- where a child navbox is not contained in a parent navbox. | ||
local orphanCat = '[[ | local orphanCat = '[[Kategori:Navbox yatim]]' | ||
if border == 'subgroup' and args.orphan ~= 'yes' then | if border == 'subgroup' and args.orphan ~= 'yes' then | ||
-- No change; striping occurs in outermost navbox. | -- No change; striping occurs in outermost navbox. | ||
Baris 329: | Baris 329: | ||
local function getTrackingCategories() | local function getTrackingCategories() | ||
local cats = {} | local cats = {} | ||
if needsHorizontalLists() then table.insert(cats, ' | if needsHorizontalLists() then table.insert(cats, 'Navbox tanpa daftar horizontal') end | ||
if hasBackgroundColors() then table.insert(cats, ' | if hasBackgroundColors() then table.insert(cats, 'Navbox menggunakan warna latar belakang') end | ||
if isIllegible() then table.insert(cats, ' | if isIllegible() then table.insert(cats, 'Navbox berpotensi tidak terbaca') end | ||
if hasBorders() then table.insert(cats, ' | if hasBorders() then table.insert(cats, 'Navbox menggunakan border') end | ||
return cats | return cats | ||
end | end |