Module:Sidebar/configuration

Documentation for this module may be created at Module:Sidebar/configuration/doc

-- Configuration for [[Module:Sidebar]]

local cfg = {} -- Don't edit this line.

--[[
--                              Configuration data                              --
]]

-- Classes applied to the sidebar table
cfg.i18n = {
	-- Class names
	class = {
		sidebar = 'sidebar',
		subgroup = 'sidebar-subgroup',
		collapse = 'sidebar-collapse',
		float_none = 'sidebar-float-none',
		float_left = 'sidebar-float-left',
		wraplinks = 'sidebar-wraplinks',
		
		-- Outer elements
		outer_title = 'sidebar-outer-title',
		top_image = 'sidebar-top-image',
		top_caption = 'sidebar-top-caption',
		pretitle = 'sidebar-pretitle',
		pretitle_with_top_image = 'sidebar-pretitle-with-top-image',
		
		-- Title
		title = 'sidebar-title',
		title_with_pretitle = 'sidebar-title-with-pretitle',
		
		-- Image
		image = 'sidebar-image',
		caption = 'sidebar-caption',
		
		-- Content sections
		above = 'sidebar-above',
		heading = 'sidebar-heading',
		content = 'sidebar-content',
		content_with_subgroup = 'sidebar-content-with-subgroup',
		below = 'sidebar-below',
		navbar = 'sidebar-navbar',
		
		-- Collapsible lists
		list = 'sidebar-list',
		list_title = 'sidebar-list-title',
		list_title_centered = 'sidebar-list-title-centered',
		list_content = 'sidebar-list-content',
	},
	
	-- Navbar configuration
	navbar_none = 'none',
	navbar_off = 'off',
	
	-- Child parameter
	child_yes = 'yes',
	
	-- Float values
	float_none = 'none',
	float_left = 'left',
	
	-- Wrap links
	wrap_true = 'true',
	
	-- Default list title
	default_list_title = 'List',
	
	-- TemplateStyles
	templatestyles = 'Module:Sidebar/styles.css',
	plainlist_templatestyles = 'Plainlist/styles.css',
	hlist_templatestyles = 'Hlist/styles.css',
	
	-- Title patterns
	title_not_to_add_navbar = 'Template:Sidebar',
	collapse_title_not_to_add_navbar = 'Template:Sidebar with collapsible lists',
	
	-- Patterns
	pattern = {
		uncategorized_conversion_titles = {
			'/testcases$',
			'/sandbox$',
			'/doc$',
		},
		style_conversion = 'style',
		subgroup = 'sidebar%-subgroup',
		sandbox = '/sandbox$',
		collapse_sandbox = '/sandbox$',
	},
	
	-- Categories
	category = {
		child = '[[Category:Pages using sidebar with the child parameter]]',
		conversion = '[[Category:Sidebars with styles needing conversion]]',
	},
}

return cfg -- Don't edit this line.