Modul:Navbar/configuration: Perbedaan antara revisi
Loncat ke navigasi
Loncat ke pencarian
dw>Izno (add hlist/styles.css) |
k (1 revisi diimpor) |
||
(2 revisi perantara oleh pengguna yang sama tidak ditampilkan) | |||
Baris 1: | Baris 1: | ||
local configuration = { | |||
['templatestyles'] = 'Module:Navbar/styles.css', | ['templatestyles'] = 'Module:Navbar/styles.css', | ||
['box_text'] = 'Kotak ini: ', -- default text box when not plain or mini | |||
['box_text'] = ' | ['title_namespace'] = 'Templat', -- namespace to default to for title | ||
['title_namespace'] = ' | ['invalid_title'] = 'Judul tidak sah ', | ||
['invalid_title'] = ' | |||
['classes'] = { -- set a line to nil if you don't want it | ['classes'] = { -- set a line to nil if you don't want it | ||
['navbar'] = 'navbar', | ['navbar'] = 'navbar', | ||
Baris 20: | Baris 19: | ||
} | } | ||
} | } | ||
return configuration |
Revisi terkini sejak 7 Oktober 2023 14.33
Dokumentasi untuk modul ini dapat dibuat di Modul:Navbar/configuration/doc
local configuration = { ['templatestyles'] = 'Module:Navbar/styles.css', ['box_text'] = 'Kotak ini: ', -- default text box when not plain or mini ['title_namespace'] = 'Templat', -- namespace to default to for title ['invalid_title'] = 'Judul tidak sah ', ['classes'] = { -- set a line to nil if you don't want it ['navbar'] = 'navbar', ['plainlinks'] = 'plainlinks', -- plainlinks ['horizontal_list'] = 'hlist', -- horizontal list class ['mini'] = 'navbar-mini', -- class indicating small links in the navbar ['this_box'] = 'navbar-boxtext', ['brackets'] = 'navbar-brackets', -- 'collapsible' is the key for a class to indicate the navbar is -- setting up the collapsible element in addition to the normal -- navbar. ['collapsible'] = 'navbar-collapse', ['collapsible_title_mini'] = 'navbar-ct-mini', ['collapsible_title_full'] = 'navbar-ct-full' } } return configuration