Modul:Navbar/configuration: Perbedaan antara revisi

Dari Wiki Javasatu
Loncat ke navigasi Loncat ke pencarian
dw>Hidayatsrf
k (Melindungi "Modul:Navbar/configuration": Modul Lua berisiko tinggi ([Sunting=Hanya untuk pengurus] (selamanya) [Pindahkan=Hanya untuk pengurus] (selamanya)))
 
dw>Izno
(add hlist/styles.css)
Baris 1: Baris 1:
local configuration = {
return {
['templatestyles'] = 'Module:Navbar/styles.css',
['templatestyles'] = 'Module:Navbar/styles.css',
['box_text'] = 'Kotak ini: ', -- default text box when not plain or mini
['hlist_templatestyles'] = 'Hlist/styles.css',
['title_namespace'] = 'Templat', -- namespace to default to for title
['box_text'] = 'This box: ', -- default text box when not plain or mini
['invalid_title'] = 'Judul tidak sah ',
['title_namespace'] = 'Template', -- namespace to default to for title
['invalid_title'] = '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 19: Baris 20:
}
}
}
}
return configuration

Revisi per 30 Desember 2022 01.18

Dokumentasi untuk modul ini dapat dibuat di Modul:Navbar/configuration/doc

return {
	['templatestyles'] = 'Module:Navbar/styles.css',
	['hlist_templatestyles'] = 'Hlist/styles.css',
	['box_text'] = 'This box: ',			-- default text box when not plain or mini
	['title_namespace'] = 'Template',		-- namespace to default to for title
	['invalid_title'] = 'Invalid title ',
	['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'
	}
}