Module:Navbar/configuration:修订间差异
外观
删除的内容 添加的内容
zhwiki>Xiplus-abot 小 已更改“Module:Navbar/configuration”的保护设置:高風險模板:289210引用<!-- 機器人3 -->([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)) |
enwiki>MSGJ 小 this_box -> box_text 标签:已被回退 |
||
| 第2行: | 第2行: | ||
['templatestyles'] = 'Module:Navbar/styles.css', |
['templatestyles'] = 'Module:Navbar/styles.css', |
||
['hlist_templatestyles'] = 'Hlist/styles.css', |
['hlist_templatestyles'] = 'Hlist/styles.css', |
||
['box_text'] = ' |
['box_text'] = 'This box: ', -- 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', |
||
['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年6月11日 (四) 17:30的版本
此模块的文档可以在Module: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
['box_text'] = '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'
}
}