Перайсці да зместу

Модуль:Navbox/configuration

З Вікіпедыі, свабоднай энцыклапедыі

return {
	aria_label = 'Navbox',
	nowrap_item = '%s<span class="nowrap">%s</span>',
	templatestyles = mw.getCurrentFrame():extensionTag{
		name = 'templatestyles', args = { src = 'Модуль:Navbox/styles.css' }
	},
	hlist_templatestyles = 'Hlist/styles.css',
	plainlist_templatestyles = 'Plainlist/styles.css',
	-- do not localize marker table
	marker = {
		oddeven = '\127_ODDEVEN_\127',
		restart = '\127_ODDEVEN0_\127',
		regex = '\127_ODDEVEN(%d?)_\127'
	},
	category = {
		orphan = 'Навігацыйныя шаблоны без бацькоўскага шаблона',
		horizontal_lists = 'Навігацыйныя шаблоны без гарызантальных спісаў',
		background_colors = 'Навігацыйныя шаблоны з нестандартнымі колерамі',
		illegible = 'Патэнцыйна нечытэльныя навігацыйныя шаблоны',
		borders = 'Навігацыйныя шаблоны з граніцамі',
	},
	keyword = {
		border_subgroup = 'subgroup',
		border_child = 'child',
		border_none = 'none',
		evenodd_swap = 'swap',
		navbar_off = 'off',
		navbar_plain = 'plain',
		nocat_false = 'false',
		nowrapitems_yes = {'yes', 'так'},
		orphan_yes = {'yes', 'так'},
		state_collapsed = 'collapsed',
		state_off = 'off',
		state_plain = 'plain',
		state_uncollapsed = 'uncollapsed',
		subgroups = {'subgroup', 'child', ''},
		subpage_doc = 'doc',
		subpage_sandbox = 'пясочніца',
		subpage_testcases = 'тэст-кейсы',
		tracking_no = {'no', 'не'},
		with_collapsible_groups = 'with collapsible groups',
		with_columns = 'with columns',
	},
	class = {
		autocollapse = 'autocollapse',
		collapsible = 'mw-collapsible',
		collapsed = 'mw-collapsed',
		-- Warning
		navbox = 'navbox', -- WMF currently hides 'navbox' from mobile,
		-- so you probably shouldn't change the navbox class.
		navbox_abovebelow = 'navbox-abovebelow',
		navbox_group = 'navbox-group',
		navbox_image = 'navbox-image',
		navbox_inner = 'navbox-inner',
		navbox_list = 'navbox-list',
		navbox_list_with_group = 'navbox-list-with-group',
		navbox_part = 'navbox-', -- do not l10n
		navbox_styles = 'navbox-styles',
		navbox_subgroup = 'navbox-subgroup',
		navbox_title = 'navbox-title', -- l10n only if you change pattern.navbox_title below
		navbox_odd_part = 'odd', -- do not l10n
		navbox_even_part = 'even', -- do not l10n
		nomobile = 'nomobile',
		nowraplinks = 'nowraplinks',
		noviewer = 'noviewer', -- used to remove images from MediaViewer
		notheme = 'notheme'
	},
	pattern = {
		class = 'class',
		colnum = '^col(%d+)$',
		colheadernum = '^col(%d+)header$',
		colfooternum = '^col(%d+)footer$',
		contentnum = '^content(%d+)$',
		groupnum = '^group(%d+)$',
		groupnum_transl = '^загаловак(%d+)$',
		hlist = 'hlist',
		listnum = '^list(%d+)$',
		listnum_translated = '^спіс(%d+)$',
		navbox = 'Шаблон:Навігацыйная табліца',
		navbox_title = '<th[^>]*"navbox%-title"',
		nowrap = '^<span class="nowrap">',
		num = '^%a+(%d+)$',
		plainlist = 'plainlist',
		sandbox = '/пясочніца$',
		sectionnum = '^section(%d+)$',
		sectnum = '^sect(%d+)$',
		style = 'style$',
		with_collapsible_groups = 'Template:Navbox with collapsible groups',
		with_columns = 'Template:Navbox with columns',
	},
	arg = {
		abbr_and_num = 'abbr%d',
		above = 'above',
		aboveclass = 'aboveclass',
		abovestyle = 'abovestyle',
		basestyle = 'basestyle',
		below = 'below',
		belowclass = 'belowclass',
		belowstyle = 'belowstyle',
		bodyclass = 'bodyclass',
		bodystyle = 'bodystyle',
		border = 'border',
		content_and_num = 'content%d',
		contentstyle = 'contentstyle',
		contentstyle_and_num = 'content%dstyle',
		colheaderstyle = 'colheaderstyle',
		colheader_and_num = 'col%dheader',
		colheaderstyle_and_num = 'col%dheaderstyle',
		colheadercolspan_and_num = 'col%dheadercolspan',
		colstyle = 'colstyle',
		col_and_num = 'col%d',
		colstyle_and_num = 'col%dstyle',
		colwidth = 'colwidth',
		colwidth_and_num = 'col%dwidth',
		colfooterstyle = 'colfooterstyle',
		colfooter_and_num = 'col%dfooter',
		colfooterstyle_and_num = 'col%dfooterstyle',
		colfootercolspan_and_num = 'col%dfootercolspan',
		coltablestyle = 'coltablestyle',
		evencolstyle = 'evencolstyle',
		evenodd = 'evenodd',
		evenstyle = 'evenstyle',
		fullwidth = 'fullwidth',
		group1 = 'group1',
		group2 = 'group2',
		group_and_num = 'group%d',
		groupclass = 'groupclass',
		groupstyle = 'groupstyle',
		groupstyle_and_num = 'group%dstyle',
		groupwidth = 'groupwidth',
		image = 'image',
		image_and_num = 'image%d',
		imageclass = 'imageclass',
		imageleft = 'imageleft',
		imageleft_and_num = 'imageleft%d',
		imageleftstyle = 'imageleftstyle',
		imagestyle = 'imagestyle',
		innerstyle = 'innerstyle',
		list1padding = 'list1padding',
		list_and_num = 'list%d',
		listclass = 'listclass',
		listclass_and_num = 'list%dclass',
		listpadding = 'listpadding',
		liststyle = 'liststyle',
		liststyle_and_num = 'list%dstyle',
		name = 'name',
		navbar = 'navbar',
		navboxclass = 'navboxclass',
		nocat = 'nocat',
		nowrapitems = 'nowrapitems',
		oddcolstyle = 'oddcolstyle',
		oddstyle = 'oddstyle',
		orphan = 'orphan',
		state = 'state',
		state_and_num = 'state%d',
		style = 'style',
		subgroups_and_num = {'subgroup%d', 'child%d', '%d'},
		templatestyles = 'templatestyles',
		child_templatestyles = 'child templatestyles',
		title = 'title',
		titleclass = 'titleclass',
		titlestyle = 'titlestyle',
		tracking = 'tracking',
	},
	argtranslated = {
		above = 'уверсе',
		aboveclass = 'клас_уверсе',
		abovestyle = 'стыль_уверсе',
		basestyle = {'базавы_стыль', 'стыль_базавы'},
		below = 'унізе',
		belowclass = 'клас_унізе',
		belowstyle = 'стыль_унізе',
		bodyclass = 'клас_цела',
		bodystyle = 'стыль_цела',
		--border = 'border',
		evenodd = {'цотнасць', 'цотныя_няцотныя'},
		evenstyle = 'стыль_цотных',
		group1 = {'загаловак1', 'група1'},
		group2 = {'загаловак2', 'група2'},
		group_and_num = {'загаловак%d', 'група%d'},
		groupstyle_and_num = {'стыль_загалоўка%d', 'стыль_групы%d'},
		groupclass = {'клас_загалоўкаў', 'клас_груп'},
		groupstyle = {'стыль_загалоўкаў', 'стыль_груп'},
		groupwidth = {'шырыня_загалоўкаў', 'шырыня_груп'},
		image = 'выява',
		imageclass = 'клас_выявы',
		imageleft = {'выява_злева', 'выява2'},
		imageleftstyle = 'стыль_выявы_злева',
		imagestyle = 'стыль_выявы',
		--innerstyle = 'innerstyle',
		list_and_num = 'спіс%d',
		listclass_and_num = 'клас_спісу%d',
		liststyle_and_num = 'стыль_спісу%d',
		list1padding = 'водступ_спісу1',
		listclass = 'клас_спісаў',
		listpadding = 'водступ_спісаў',
		liststyle = 'стыль_спісаў',
		name = 'імя',
		navbar = 'спасылка_на_прагляд',
		--navboxclass = 'navboxclass',
		--nocat = 'nocat',
		--nowrapitems = 'nowrapitems',
		oddstyle = 'стыль_няцотных',
		orphan = 'orphan',
		--state = 'state',
		style = 'стыль',
		--templatestyles = 'templatestyles',
		--child_templatestyles = 'child templatestyles',
		title = 'загаловак',
		titleclass = {'клас_асноўнага_загалоўка', 'клас_загалоўка'},
		titlestyle = {'стыль_асноўнага_загалоўка', 'стыль_загалоўка'},
		tracking = 'tracking',
	},
	-- names of navbar arguments
	navbar = {
		name = 1,
		fontstyle = 'fontstyle',
		mini = 'mini'
	}
}