Modul:Navbar/configuration: Perbedaan antara revisi

Dari Wiki Javasatu
Loncat ke navigasi Loncat ke pencarian
dw>Izno
(add hlist/styles.css)
(←Membuat halaman berisi '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'] = 'n...')
Baris 1: Baris 1:
return {
local configuration = {
['templatestyles'] = 'Module:Navbar/styles.css',
['templatestyles'] = 'Module:Navbar/styles.css',
['hlist_templatestyles'] = 'Hlist/styles.css',
['box_text'] = 'Kotak ini: ', -- default text box when not plain or mini
['box_text'] = 'This box: ', -- default text box when not plain or mini
['title_namespace'] = 'Templat', -- namespace to default to for title
['title_namespace'] = 'Template', -- namespace to default to for title
['invalid_title'] = 'Judul tidak sah ',
['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 20: Baris 19:
}
}
}
}
return configuration

Revisi per 13 September 2023 14.18

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