跳转到内容

Module:Navbar/configuration:修订间差异

轻之舟百科,让知识轻装启航
删除的内容 添加的内容
enwiki>MSGJ
小 this_box -> box_text
标签:已被回退
CaelLab-import​(留言 | 贡献)
huifu bei enwiki daoru dingti de banben (shangyiban zhwiki>Xiplus-abot)
标签:手工回退
 
第2行: 第2行:
['templatestyles'] = 'Module:Navbar/styles.css',
['templatestyles'] = 'Module:Navbar/styles.css',
['hlist_templatestyles'] = 'Hlist/styles.css',
['hlist_templatestyles'] = 'Hlist/styles.css',
['box_text'] = 'This box: ', -- default text box when not plain or mini
['box_text'] = '本模板:', -- default text box when not plain or mini
['title_namespace'] = 'Template', -- namespace to default to for title
['title_namespace'] = 'Template', -- namespace to default to for title
['invalid_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',
第10行: 第10行:
['horizontal_list'] = 'hlist', -- horizontal list class
['horizontal_list'] = 'hlist', -- horizontal list class
['mini'] = 'navbar-mini', -- class indicating small links in the navbar
['mini'] = 'navbar-mini', -- class indicating small links in the navbar
['box_text'] = 'navbar-boxtext',
['this_box'] = 'navbar-boxtext',
['brackets'] = 'navbar-brackets',
['brackets'] = 'navbar-brackets',
-- 'collapsible' is the key for a class to indicate the navbar is
-- 'collapsible' is the key for a class to indicate the navbar is

2026年11月19日 (四) 16:23的最新版本

此模块的文档可以在Module:Navbar/configuration/doc创建

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