Modul:Navboks/configuration

return {
	aria_label = 'Navboks',
	nowrap_item = '%s<span class="nowrap">%s</span>',
	templatestyles = mw.getCurrentFrame():extensionTag{
		name = 'templatestyles', args = { src = 'Modul:Navboks/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 = '[[Kategori:Navboks forældreløse]]',
		horizontal_lists = 'Navigationsbokse uden vandrette lister',
		background_colors = 'Navigationsbokse, der bruger baggrundsfarver',
		illegible = 'Potentielt ulæselige navigationsbokse',
		borders = 'Navigationsbokse, der bruger rammer',
	},
	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',
		subpage_doc = 'doc',
		subpage_sandbox = 'sandkasse',
		subpage_testcases = 'testcases',
		tracking_no = 'no'
	},
	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
	},
	pattern = {
		listnum = '^liste(%d+)$',
		class = 'class',
		sandbox = '/sandkasse$',
		navbox = 'Skabelon:Navboks',
		nowrap = '^<span class="nowrap">',
		style = 'style$',
		navbox_title = '<th[^>]*"navbox%-title"',
		hlist = 'hlist',
		plainlist = 'plainlist',
	},
	arg = {
		above = 'over',
		aboveclass = 'over_class',
		abovestyle = 'over_style',
		basestyle = 'grund_style',
		bodyclass = 'body_class',
		bodystyle = 'body_style',
		border = 'ramme',
		below = 'under',
		belowclass = 'under_class',
		belowstyle = 'under_style',
		evenodd = 'lige_ulige',
		evenstyle = 'lige_style',
		group1 = 'gruppe1',
		group2 = 'gruppe2',
		group_and_num = 'gruppe%d',
		groupstyle_and_num = 'gruppe%d_style',
		groupclass = 'gruppe_class',
		groupstyle = 'gruppe_style',
		groupwidth = 'groupwidth',
		innerstyle = 'indre_style',
		image = 'billede',
		imageclass = 'billede_class',
		imageleft = 'billede_venstre',
		imageleftstyle = 'billede_venstre_style',
		imagestyle = 'billede_style',
		list_and_num = 'liste%d',
		listclass_and_num = 'liste%d_class',
		liststyle_and_num = 'liste%d_style',
		list1padding = 'list1padding',
		listclass = 'liste_class',
		listpadding = 'liste_padding',
		liststyle = 'liste_style',
		name = 'navn',
		navbar = 'navbar',
		navboxclass = 'navboxclass',
		nocat = 'nocat',
		nowrapitems = 'nowrapitems',
		oddstyle = 'ulige_style',
		orphan = 'orphan',
		state = 'status',
		style = 'style',
		templatestyles = 'templatestyles',
		child_templatestyles = 'child templatestyles',
		title = 'titel',
		titleclass = 'titel_class',
		titlestyle = 'titel_style',
		tracking = 'tracking'
	},
	-- names of navbar arguments
	navbar = {
		name = 1,
		fontstyle = 'fontstyle',
		mini = 'mini'
	}
}