Module:Sidebar/configuration: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Izno
(rm note since we're now adding nomobile)
>Izno
(poke)
Line 1: Line 1:
return {
return {
['i18n'] = {
i18n = {
['child_yes'] = 'yes',
child_yes = 'yes',
['float_none'] = 'none',
float_none = 'none',
['float_left'] = 'left',
float_left = 'left',
['wrap_true'] = 'true',
wrap_true = 'true',
['navbar_none'] = 'none',
navbar_none = 'none',
['navbar_off'] = 'off',
navbar_off = 'off',
['title_not_to_add_navbar'] = 'Template:Sidebar',
default_list_title = 'List',
['collapse_title_not_to_add_navbar'] = 'Template:Sidebar with collapsible lists',
title_not_to_add_navbar = 'Template:Sidebar',
['templatestyles'] = 'Module:Sidebar/styles.css',
collapse_title_not_to_add_navbar = 'Template:Sidebar with collapsible lists',
['child_category'] = '[[Category:Pages using sidebar with the child parameter]]',
templatestyles = 'Module:Sidebar/styles.css',
['pattern'] = {
child_category = '[[Category:Pages using sidebar with the child parameter]]',
['subgroup'] = 'sidebar%-subgroup',
pattern = {
['sandbox'] = '/sandbox$',
subgroup = 'sidebar%-subgroup',
['collapse_sandbox'] = '/sandbox$',
sandbox = '/sandbox$',
collapse_sandbox = '/sandbox$',
},
},
['class'] = {
class = {
['sidebar'] = 'sidebar',
sidebar = 'sidebar',
['subgroup'] = 'sidebar-subgroup',
subgroup = 'sidebar-subgroup',
['collapse'] = 'sidebar-collapse',
collapse = 'sidebar-collapse',
['float_none'] = 'sidebar-none',
float_none = 'sidebar-none',
['float_left'] = 'sidebar-left',
float_left = 'sidebar-left',
['wraplinks'] = 'sidebar-wraplinks',
wraplinks = 'sidebar-wraplinks',
['top_image'] = 'sidebar-top-image',
top_image = 'sidebar-top-image',
['top_caption'] = 'sidebar-top-caption',
top_caption = 'sidebar-top-caption',
['pretitle'] = 'sidebar-pretitle',
pretitle = 'sidebar-pretitle',
['pretitle_with_top_image'] = 'sidebar-pretitle-with-top-image',
pretitle_with_top_image = 'sidebar-pretitle-with-top-image',
['title'] = 'sidebar-title',
title = 'sidebar-title',
['title_with_pretitle'] = 'sidebar-title-with-pretitle',
title_with_pretitle = 'sidebar-title-with-pretitle',
['image'] = 'sidebar-image',
image = 'sidebar-image',
['caption'] = 'sidebar-caption',
caption = 'sidebar-caption',
['above'] = 'sidebar-above',
above = 'sidebar-above',
['heading'] = 'sidebar-heading',
heading = 'sidebar-heading',
['numbered_heading_pretext'] = 'sidebar-heading',
numbered_heading_pretext = 'sidebar-heading',
['content'] = 'sidebar-content',
content = 'sidebar-content',
['content_with_subgroup'] = 'sidebar-content-with-subgroup',
content_with_subgroup = 'sidebar-content-with-subgroup',
['numbered_content_pretext'] = 'sidebar-content',
numbered_content_pretext = 'sidebar-content',
['below'] = 'sidebar-below',
below = 'sidebar-below',
['navbar'] = 'sidebar-navbar',
navbar = 'sidebar-navbar',
['numbered_list_pretext'] = 'sidebar-list',
numbered_list_pretext = 'sidebar-list',
['list_title'] = 'sidebar-list-title',
list_title = 'sidebar-list-title',
}
}
}
}
}
}

Revision as of 12:33, 5 January 2021

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',
		child_category = '[[Category:Pages using sidebar with the child parameter]]',
		pattern = {
			subgroup = 'sidebar%-subgroup',
			sandbox = '/sandbox$',
			collapse_sandbox = '/sandbox$',
		},
		class = {
			sidebar = 'sidebar',
			subgroup = 'sidebar-subgroup',
			collapse = 'sidebar-collapse',
			float_none = 'sidebar-none',
			float_left = 'sidebar-left',
			wraplinks = 'sidebar-wraplinks',
			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',
			numbered_heading_pretext = 'sidebar-heading',
			content = 'sidebar-content',
			content_with_subgroup = 'sidebar-content-with-subgroup',
			numbered_content_pretext = 'sidebar-content',
			below = 'sidebar-below',
			navbar = 'sidebar-navbar',
			numbered_list_pretext = 'sidebar-list',
			list_title = 'sidebar-list-title',
		}
	}
}