Ugrás a tartalomhoz

„Modul:Navbox/configuration” változatai közötti eltérés

Innen: TrashWiki
a Plainlist/styles.css
a 1 változat importálva
 
(3 közbenső módosítás, amit 2 másik szerkesztő végzett, nincs mutatva)
3. sor: 3. sor:
nowrap_item = '%s<span class="nowrap">%s</span>',
nowrap_item = '%s<span class="nowrap">%s</span>',
templatestyles = mw.getCurrentFrame():extensionTag{
templatestyles = mw.getCurrentFrame():extensionTag{
name = 'templatestyles', args = { src = 'Modul:Navbox/style.css' }
name = 'templatestyles', args = { src = 'Module:Navbox/styles.css' }
},
},
hlist_templatestyles = 'Hlist/styles.css',
hlist_templatestyles = 'Hlist/styles.css',
14. sor: 14. sor:
},
},
category = {
category = {
orphan = '[[Kategória:Árva navboxok]]',
orphan = '[[Category:Navbox orphans]]',
horizontal_lists = 'Navigational boxes without horizontal lists',
background_colors = 'Navboxes using background colours',
illegible = 'Potentially illegible navboxes',
borders = 'Navboxes using borders',
},
},
keyword = {
keyword = {
border_subgroup = 'alcsoport',
border_subgroup = 'subgroup',
border_child = 'gyerek',
border_child = 'child',
border_none = 'nincs',
border_none = 'none',
evenodd_swap = 'csere',
evenodd_swap = 'swap',
navbar_off = 'off',
navbar_off = 'off',
navbar_plain = 'plain',
navbar_plain = 'plain',
29. sor: 33. sor:
state_off = 'off',
state_off = 'off',
state_plain = 'plain',
state_plain = 'plain',
state_uncollapsed = 'uncollapsed',
subgroups = {'subgroup', 'child', ''},
subpage_doc = 'doc',
subpage_doc = 'doc',
subpage_sandbox = 'sandbox',
subpage_sandbox = 'sandbox',
subpage_testcases = 'tests',
subpage_testcases = 'testcases',
tracking_no = 'nem'
tracking_no = 'no',
with_collapsible_groups = 'with collapsible groups',
with_columns = 'with columns',
},
},
class = {
class = {
autocollapse = 'mw-autocollapse',
autocollapse = 'autocollapse',
collapsible = 'mw-collapsible',
collapsible = 'mw-collapsible',
collapsed = 'mw-collapsed',
collapsed = 'mw-collapsed',
55. sor: 63. sor:
nomobile = 'nomobile',
nomobile = 'nomobile',
nowraplinks = 'nowraplinks',
nowraplinks = 'nowraplinks',
noviewer = 'noviewer' -- used to remove images from MediaViewer
noviewer = 'noviewer', -- used to remove images from MediaViewer
notheme = 'notheme'
},
},
pattern = {
pattern = {
listnum = '^lista(%d+)$',
class = 'class',
class = 'osztály',
colnum = '^col(%d+)$',
sandbox = '/sandbox$',
colheadernum = '^col(%d+)header$',
navbox = 'Sablon:Navbox',
colfooternum = '^col(%d+)footer$',
contentnum = '^content(%d+)$',
groupnum = '^group(%d+)$',
hlist = 'hlist',
listnum = '^list(%d+)$',
navbox = 'Template:Navbox',
navbox_title = '<th[^>]*"navbox%-title"',
nowrap = '^<span class="nowrap">',
nowrap = '^<span class="nowrap">',
style = 'stílus$',
num = '^%a+(%d+)$',
navbox_title = '<th[^>]*"navbox%-title"',
hlist = 'hlist',
plainlist = 'plainlist',
plainlist = 'plainlist',
sandbox = '/sandbox$',
sectionnum = '^section(%d+)$',
sectnum = '^sect(%d+)$',
style = 'style$',
with_collapsible_groups = 'Template:Navbox with collapsible groups',
with_columns = 'Template:Navbox with columns',
without_first_col = 'Category:Pages using navbox columns without the first column'
},
},
arg = {
arg = {
above = 'felül',
abbr_and_num = 'abbr%d',
aboveclass = 'felülosztály',
above = 'above',
abovestyle = 'felülstílus',
aboveclass = 'aboveclass',
basestyle = 'alapstílus',
abovestyle = 'abovestyle',
bodyclass = 'bodyosztály',
basestyle = 'basestyle',
bodystyle = 'bodystílus',
below = 'below',
border = 'keret',
belowclass = 'belowclass',
below = 'alul',
belowstyle = 'belowstyle',
belowclass = 'alulosztály',
bodyclass = 'bodyclass',
belowstyle = 'alulstílus',
bodystyle = 'bodystyle',
evenodd = 'párospáratlan',
border = 'border',
evenstyle = 'párosstílus',
content_and_num = 'content%d',
group1 = 'csoport1',
contentstyle = 'contentstyle',
group2 = 'csoport2',
contentstyle_and_num = 'content%dstyle',
group_and_num = 'csoport%d',
colheaderstyle = 'colheaderstyle',
groupstyle_and_num = 'csoport%dstílus',
colheader_and_num = 'col%dheader',
groupclass = 'csoportosztály',
colheaderstyle_and_num = 'col%dheaderstyle',
groupstyle = 'csoportstílus',
colheadercolspan_and_num = 'col%dheadercolspan',
groupwidth = 'csoportszélesség',
colstyle = 'colstyle',
innerstyle = 'belsőstílus',
col_and_num = 'col%d',
image = 'kép',
colstyle_and_num = 'col%dstyle',
imageclass = 'képosztály',
colwidth = 'colwidth',
imageleft = 'balkép',
colwidth_and_num = 'col%dwidth',
imageleftstyle = 'balképstílus',
colhfooterstyle = 'colfooterstyle',
imagesetyle = 'képstílus',
colfooter_and_num = 'col%dfooter',
list_and_num = 'lista%d',
colfooterstyle_and_num = 'col%dfooterstyle',
listclass_and_num = 'lista%dosztály',
colfootercolspan_and_num = 'col%dfootercolspan',
liststyle_and_num = 'lista%dstílus',
coltablestyle = 'coltablestyle',
list1padding = 'lista1térköz',
evencolstyle = 'evencolstyle',
listclass = 'listaosztály',
evenodd = 'evenodd',
listpadding = 'listatérköz',
evenstyle = 'evenstyle',
liststyle = 'listastílus',
fullwidth = 'fullwidth',
name = 'név',
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',
navbar = 'navbar',
navboxclass = 'navboxosztály',
navboxclass = 'navboxclass',
nocat = 'nocat',
nocat = 'nocat',
nowrapitems = 'nowrapitems',
nowrapitems = 'nowrapitems',
oddstyle = 'páratlanstílus',
oddcolstyle = 'oddcolstyle',
orphan = 'árva',
oddstyle = 'oddstyle',
state = 'állapot',
orphan = 'orphan',
style = 'stílus',
padding = 'padding',
sect_and_num = 'sect%d',
section_and_num = 'section%d',
sectiontitlestyle_and_num = 'section%dtitlestyle',
secttitlestyle = 'secttitlestyle',
selected = 'selected',
state = 'state',
state_and_num = 'state%d',
style = 'style',
subgroups_and_num = {'subgroup%d', 'child%d', '%d'},
templatestyles = 'templatestyles',
templatestyles = 'templatestyles',
child_templatestyles = 'gyerek templatestyles',
child_templatestyles = 'child templatestyles',
title = 'cím',
title = 'title',
titleclass = 'címosztály',
titleclass = 'titleclass',
titlestyle = 'címstílus',
titlestyle = 'titlestyle',
tracking = 'követés'
tracking = 'tracking',
},
},
-- names of navbar arguments
-- names of navbar arguments

A lap jelenlegi, 2025. január 24., 21:42-kori változata

A modult a Modul:Navbox/configuration/doc lapon tudod dokumentálni

return {
	aria_label = 'Navbox',
	nowrap_item = '%s<span class="nowrap">%s</span>',
	templatestyles = mw.getCurrentFrame():extensionTag{
		name = 'templatestyles', args = { src = 'Module: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 = '[[Category:Navbox orphans]]',
		horizontal_lists = 'Navigational boxes without horizontal lists',
		background_colors = 'Navboxes using background colours',
		illegible = 'Potentially illegible navboxes',
		borders = 'Navboxes using 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 = 'sandbox',
		subpage_testcases = '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+)$',
		hlist = 'hlist',
		listnum = '^list(%d+)$',
		navbox = 'Template:Navbox',
		navbox_title = '<th[^>]*"navbox%-title"',
		nowrap = '^<span class="nowrap">',
		num = '^%a+(%d+)$',
		plainlist = 'plainlist',
		sandbox = '/sandbox$',
		sectionnum = '^section(%d+)$',
		sectnum = '^sect(%d+)$',
		style = 'style$',
		with_collapsible_groups = 'Template:Navbox with collapsible groups',
		with_columns = 'Template:Navbox with columns',
		without_first_col = 'Category:Pages using navbox columns without the first column'
	},
	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',
		colhfooterstyle = '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',
		padding = 'padding',
		sect_and_num = 'sect%d',
		section_and_num = 'section%d',
		sectiontitlestyle_and_num = 'section%dtitlestyle',
		secttitlestyle = 'secttitlestyle',
		selected = 'selected',
		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',
	},
	-- names of navbar arguments
	navbar = {
		name = 1,
		fontstyle = 'fontstyle',
		mini = 'mini'
	}
}