Module:Sidebar/configuration: Difference between revisions
From Kaboom Wiki
				
				
				
				
				| >Izno  poke | >Izno  add hlist and plainlist_templatestyles keys | ||
| (12 intermediate revisions by 2 users not shown) | |||
| Line 11: | Line 11: | ||
| 		collapse_title_not_to_add_navbar = 'Template:Sidebar with collapsible lists', | 		collapse_title_not_to_add_navbar = 'Template:Sidebar with collapsible lists', | ||
| 		templatestyles = 'Module:Sidebar/styles.css', | 		templatestyles = 'Module:Sidebar/styles.css', | ||
| 		hlist_templatestyles = 'Hlist/styles.css', | |||
| 		plainlist_templatestyles = 'Plainlist/styles.css', | |||
| 		category = { | |||
| 			child = '[[Category:Pages using sidebar with the child parameter]]', | |||
| 			conversion = '[[Category:Sidebars with styles needing conversion]]' | |||
| 		}, | |||
| 		pattern = { | 		pattern = { | ||
| 			collapse_sandbox = '/sandbox$', | |||
| 			sandbox = '/sandbox$', | |||
| 			subgroup = 'sidebar%-subgroup', | 			subgroup = 'sidebar%-subgroup', | ||
| 			style_conversion = 'style$', | |||
| 			uncategorized_conversion_titles = { | |||
| 				'/[Ss]andbox', | |||
| 				'/[Tt]estcases', | |||
| 				'/[Dd]oc$' | |||
| 			} | |||
| 		}, | 		}, | ||
| 		class = { | 		class = { | ||
| Line 23: | Line 34: | ||
| 			float_none = 'sidebar-none', | 			float_none = 'sidebar-none', | ||
| 			float_left = 'sidebar-left', | 			float_left = 'sidebar-left', | ||
| 			wraplinks = 'sidebar- | 			wraplinks = 'nowraplinks', | ||
| 			outer_title = 'sidebar-outer-title', | |||
| 			top_image = 'sidebar-top-image', | 			top_image = 'sidebar-top-image', | ||
| 			top_caption = 'sidebar-top-caption', | 			top_caption = 'sidebar-top-caption', | ||
| Line 34: | Line 46: | ||
| 			above = 'sidebar-above', | 			above = 'sidebar-above', | ||
| 			heading = 'sidebar-heading', | 			heading = 'sidebar-heading', | ||
| 			content = 'sidebar-content', | 			content = 'sidebar-content', | ||
| 			content_with_subgroup = 'sidebar-content-with-subgroup', | 			content_with_subgroup = 'sidebar-content-with-subgroup', | ||
| 			below = 'sidebar-below', | 			below = 'sidebar-below', | ||
| 			navbar = 'sidebar-navbar', | 			navbar = 'sidebar-navbar', | ||
| 			list = 'sidebar-list', | |||
| 			list_title = 'sidebar-list-title', | 			list_title = 'sidebar-list-title', | ||
| 			list_title_centered = 'sidebar-list-title-c', | |||
| 			list_content = 'sidebar-list-content' | |||
| 		} | 		} | ||
| 	} | 	} | ||
| } | } | ||
Latest revision as of 22:32, 14 March 2023
Documentation for this module may be created at Module:Sidebar/configuration/doc
return {
	i18n = {
		child_yes = 'yes',
		float_none = 'none',
		float_left = 'left',
		wrap_true = 'true',
		navbar_none = 'none',
		navbar_off = 'off',
		default_list_title = 'List',
		title_not_to_add_navbar = 'Template:Sidebar',
		collapse_title_not_to_add_navbar = 'Template:Sidebar with collapsible lists',
		templatestyles = 'Module:Sidebar/styles.css',
		hlist_templatestyles = 'Hlist/styles.css',
		plainlist_templatestyles = 'Plainlist/styles.css',
		category = {
			child = '[[Category:Pages using sidebar with the child parameter]]',
			conversion = '[[Category:Sidebars with styles needing conversion]]'
		},
		pattern = {
			collapse_sandbox = '/sandbox$',
			sandbox = '/sandbox$',
			subgroup = 'sidebar%-subgroup',
			style_conversion = 'style$',
			uncategorized_conversion_titles = {
				'/[Ss]andbox',
				'/[Tt]estcases',
				'/[Dd]oc$'
			}
		},
		class = {
			sidebar = 'sidebar',
			subgroup = 'sidebar-subgroup',
			collapse = 'sidebar-collapse',
			float_none = 'sidebar-none',
			float_left = 'sidebar-left',
			wraplinks = 'nowraplinks',
			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 = 'sidebar-title',
			title_with_pretitle = 'sidebar-title-with-pretitle',
			image = 'sidebar-image',
			caption = 'sidebar-caption',
			above = 'sidebar-above',
			heading = 'sidebar-heading',
			content = 'sidebar-content',
			content_with_subgroup = 'sidebar-content-with-subgroup',
			below = 'sidebar-below',
			navbar = 'sidebar-navbar',
			list = 'sidebar-list',
			list_title = 'sidebar-list-title',
			list_title_centered = 'sidebar-list-title-c',
			list_content = 'sidebar-list-content'
		}
	}
}