Ugrás a tartalomhoz

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

Innen: TrashWiki
fix per talkpage
 
a Plainlist/styles.css
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 = 'Module:Navbox/styles.css' }
name = 'templatestyles', args = { src = 'Modul:Navbox/style.css' }
},
},
hlist_templatestyles = 'Hlist/styles.css',
hlist_templatestyles = 'Hlist/styles.css',
14. sor: 14. sor:
},
},
category = {
category = {
orphan = '[[Category:Navbox orphans]]',
orphan = '[[Kategória:Árva navboxok]]',
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 = 'subgroup',
border_subgroup = 'alcsoport',
border_child = 'child',
border_child = 'gyerek',
border_none = 'none',
border_none = 'nincs',
evenodd_swap = 'swap',
evenodd_swap = 'csere',
navbar_off = 'off',
navbar_off = 'off',
navbar_plain = 'plain',
navbar_plain = 'plain',
33. sor: 29. sor:
state_off = 'off',
state_off = 'off',
state_plain = 'plain',
state_plain = 'plain',
subgroups = {'subgroup', 'child', ''},
subpage_doc = 'doc',
subpage_doc = 'doc',
subpage_sandbox = 'sandbox',
subpage_sandbox = 'sandbox',
subpage_testcases = 'testcases',
subpage_testcases = 'tests',
tracking_no = 'no'
tracking_no = 'nem'
},
},
class = {
class = {
autocollapse = 'autocollapse',
autocollapse = 'mw-autocollapse',
collapsible = 'mw-collapsible',
collapsible = 'mw-collapsible',
collapsed = 'mw-collapsed',
collapsed = 'mw-collapsed',
63. sor: 58. sor:
},
},
pattern = {
pattern = {
listnum = '^list(%d+)$',
listnum = '^lista(%d+)$',
class = 'class',
class = 'osztály',
sandbox = '/sandbox$',
sandbox = '/sandbox$',
navbox = 'Template:Navbox',
navbox = 'Sablon:Navbox',
nowrap = '^<span class="nowrap">',
nowrap = '^<span class="nowrap">',
style = 'style$',
style = 'stílus$',
navbox_title = '<th[^>]*"navbox%-title"',
navbox_title = '<th[^>]*"navbox%-title"',
hlist = 'hlist',
hlist = 'hlist',
74. sor: 69. sor:
},
},
arg = {
arg = {
above = 'above',
above = 'felül',
aboveclass = 'aboveclass',
aboveclass = 'felülosztály',
abovestyle = 'abovestyle',
abovestyle = 'felülstílus',
basestyle = 'basestyle',
basestyle = 'alapstílus',
bodyclass = 'bodyclass',
bodyclass = 'bodyosztály',
bodystyle = 'bodystyle',
bodystyle = 'bodystílus',
border = 'border',
border = 'keret',
below = 'below',
below = 'alul',
belowclass = 'belowclass',
belowclass = 'alulosztály',
belowstyle = 'belowstyle',
belowstyle = 'alulstílus',
evenodd = 'evenodd',
evenodd = 'párospáratlan',
evenstyle = 'evenstyle',
evenstyle = 'párosstílus',
group1 = 'group1',
group1 = 'csoport1',
group2 = 'group2',
group2 = 'csoport2',
group_and_num = 'group%d',
group_and_num = 'csoport%d',
groupstyle_and_num = 'group%dstyle',
groupstyle_and_num = 'csoport%dstílus',
groupclass = 'groupclass',
groupclass = 'csoportosztály',
groupstyle = 'groupstyle',
groupstyle = 'csoportstílus',
groupwidth = 'groupwidth',
groupwidth = 'csoportszélesség',
innerstyle = 'innerstyle',
innerstyle = 'belsőstílus',
image = 'image',
image = 'kép',
imageclass = 'imageclass',
imageclass = 'képosztály',
imageleft = 'imageleft',
imageleft = 'balkép',
imageleftstyle = 'imageleftstyle',
imageleftstyle = 'balképstílus',
imagestyle = 'imagestyle',
imagesetyle = 'képstílus',
list_and_num = 'list%d',
list_and_num = 'lista%d',
listclass_and_num = 'list%dclass',
listclass_and_num = 'lista%dosztály',
liststyle_and_num = 'list%dstyle',
liststyle_and_num = 'lista%dstílus',
list1padding = 'list1padding',
list1padding = 'lista1térköz',
listclass = 'listclass',
listclass = 'listaosztály',
listpadding = 'listpadding',
listpadding = 'listatérköz',
liststyle = 'liststyle',
liststyle = 'listastílus',
name = 'name',
name = 'név',
navbar = 'navbar',
navbar = 'navbar',
navboxclass = 'navboxclass',
navboxclass = 'navboxosztály',
nocat = 'nocat',
nocat = 'nocat',
nowrapitems = 'nowrapitems',
nowrapitems = 'nowrapitems',
oddstyle = 'oddstyle',
oddstyle = 'páratlanstílus',
orphan = 'orphan',
orphan = 'árva',
state = 'state',
state = 'állapot',
style = 'style',
style = 'stílus',
templatestyles = 'templatestyles',
templatestyles = 'templatestyles',
child_templatestyles = 'child templatestyles',
child_templatestyles = 'gyerek templatestyles',
title = 'title',
title = 'cím',
titleclass = 'titleclass',
titleclass = 'címosztály',
titlestyle = 'titlestyle',
titlestyle = 'címstílus',
tracking = 'tracking'
tracking = 'követés'
},
},
-- names of navbar arguments
-- names of navbar arguments

A lap 2024. október 13., 12:37-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 = 'Modul:Navbox/style.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 = '[[Kategória:Árva navboxok]]',
	},
	keyword = {
		border_subgroup = 'alcsoport',
		border_child = 'gyerek',
		border_none = 'nincs',
		evenodd_swap = 'csere',
		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 = 'sandbox',
		subpage_testcases = 'tests',
		tracking_no = 'nem'
	},
	class = {
		autocollapse = 'mw-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 = '^lista(%d+)$',
		class = 'osztály',
		sandbox = '/sandbox$',
		navbox = 'Sablon:Navbox',
		nowrap = '^<span class="nowrap">',
		style = 'stílus$',
		navbox_title = '<th[^>]*"navbox%-title"',
		hlist = 'hlist',
		plainlist = 'plainlist',
	},
	arg = {
		above = 'felül',
		aboveclass = 'felülosztály',
		abovestyle = 'felülstílus',
		basestyle = 'alapstílus',
		bodyclass = 'bodyosztály',
		bodystyle = 'bodystílus',
		border = 'keret',
		below = 'alul',
		belowclass = 'alulosztály',
		belowstyle = 'alulstílus',
		evenodd = 'párospáratlan',
		evenstyle = 'párosstílus',
		group1 = 'csoport1',
		group2 = 'csoport2',
		group_and_num = 'csoport%d',
		groupstyle_and_num = 'csoport%dstílus',
		groupclass = 'csoportosztály',
		groupstyle = 'csoportstílus',
		groupwidth = 'csoportszélesség',
		innerstyle = 'belsőstílus',
		image = 'kép',
		imageclass = 'képosztály',
		imageleft = 'balkép',
		imageleftstyle = 'balképstílus',
		imagesetyle = 'képstílus',
		list_and_num = 'lista%d',
		listclass_and_num = 'lista%dosztály',
		liststyle_and_num = 'lista%dstílus',
		list1padding = 'lista1térköz',
		listclass = 'listaosztály',
		listpadding = 'listatérköz',
		liststyle = 'listastílus',
		name = 'név',
		navbar = 'navbar',
		navboxclass = 'navboxosztály',
		nocat = 'nocat',
		nowrapitems = 'nowrapitems',
		oddstyle = 'páratlanstílus',
		orphan = 'árva',
		state = 'állapot',
		style = 'stílus',
		templatestyles = 'templatestyles',
		child_templatestyles = 'gyerek templatestyles',
		title = 'cím',
		titleclass = 'címosztály',
		titlestyle = 'címstílus',
		tracking = 'követés'
	},
	-- names of navbar arguments
	navbar = {
		name = 1,
		fontstyle = 'fontstyle',
		mini = 'mini'
	}
}