Module:Navbar/configuration: Difference between revisions

m
1 revision imported from wikipedia:Module:Navbar/configuration
(add brackets class)
m (1 revision imported from wikipedia:Module:Navbar/configuration)
 
(14 intermediate revisions by 3 users not shown)
Line 1:
return {
local configuration = {
['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
['left_bracket'] = '[ ', -- '[ '
['right_bracket'] = ' ]', -- ' ]'
['invalid_title'] = 'Invalid title ',
['classes'] = { -- set a line to nil if you don't want it
-- translate or 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',
['left_bracket'] = 'navbar-lbracket',
['right_bracket'] = 'navbar-rbracket',
-- 'collapsible' is the key for a class to indicate the navbar is
-- setting up the collapsible element in addition to the normal
Line 24 ⟶ 20:
}
}
 
return configuration
verified
2,496

edits