„Modul:Navbox/configuration” változatai közötti eltérés
Megjelenés
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 = ' | 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 = '[[ | orphan = '[[Kategória:Árva navboxok]]', | ||
}, | }, | ||
keyword = { | keyword = { | ||
border_subgroup = ' | border_subgroup = 'alcsoport', | ||
border_child = ' | border_child = 'gyerek', | ||
border_none = ' | border_none = 'nincs', | ||
evenodd_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', | ||
subpage_doc = 'doc', | subpage_doc = 'doc', | ||
subpage_sandbox = 'sandbox', | subpage_sandbox = 'sandbox', | ||
subpage_testcases = ' | subpage_testcases = 'tests', | ||
tracking_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 = '^ | listnum = '^lista(%d+)$', | ||
class = ' | class = 'osztály', | ||
sandbox = '/sandbox$', | sandbox = '/sandbox$', | ||
navbox = ' | navbox = 'Sablon:Navbox', | ||
nowrap = '^<span class="nowrap">', | nowrap = '^<span class="nowrap">', | ||
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 = 'felül', | ||
aboveclass = ' | aboveclass = 'felülosztály', | ||
abovestyle = ' | abovestyle = 'felülstílus', | ||
basestyle = ' | basestyle = 'alapstílus', | ||
bodyclass = ' | bodyclass = 'bodyosztály', | ||
bodystyle = ' | bodystyle = 'bodystílus', | ||
border = ' | border = 'keret', | ||
below = ' | below = 'alul', | ||
belowclass = ' | belowclass = 'alulosztály', | ||
belowstyle = ' | belowstyle = 'alulstílus', | ||
evenodd = ' | evenodd = 'párospáratlan', | ||
evenstyle = ' | evenstyle = 'párosstílus', | ||
group1 = ' | group1 = 'csoport1', | ||
group2 = ' | group2 = 'csoport2', | ||
group_and_num = ' | group_and_num = 'csoport%d', | ||
groupstyle_and_num = ' | groupstyle_and_num = 'csoport%dstílus', | ||
groupclass = ' | groupclass = 'csoportosztály', | ||
groupstyle = ' | groupstyle = 'csoportstílus', | ||
groupwidth = ' | groupwidth = 'csoportszélesség', | ||
innerstyle = ' | innerstyle = 'belsőstílus', | ||
image = ' | image = 'kép', | ||
imageclass = ' | imageclass = 'képosztály', | ||
imageleft = ' | imageleft = 'balkép', | ||
imageleftstyle = ' | imageleftstyle = 'balképstílus', | ||
imagesetyle = 'képstílus', | |||
list_and_num = ' | list_and_num = 'lista%d', | ||
listclass_and_num = ' | listclass_and_num = 'lista%dosztály', | ||
liststyle_and_num = ' | liststyle_and_num = 'lista%dstílus', | ||
list1padding = ' | list1padding = 'lista1térköz', | ||
listclass = ' | listclass = 'listaosztály', | ||
listpadding = ' | listpadding = 'listatérköz', | ||
liststyle = ' | liststyle = 'listastílus', | ||
name = ' | name = 'név', | ||
navbar = 'navbar', | navbar = 'navbar', | ||
navboxclass = ' | navboxclass = 'navboxosztály', | ||
nocat = 'nocat', | nocat = 'nocat', | ||
nowrapitems = 'nowrapitems', | nowrapitems = 'nowrapitems', | ||
oddstyle = ' | oddstyle = 'páratlanstílus', | ||
orphan = ' | orphan = 'árva', | ||
state = ' | state = 'állapot', | ||
style = ' | style = 'stílus', | ||
templatestyles = 'templatestyles', | templatestyles = 'templatestyles', | ||
child_templatestyles = ' | child_templatestyles = 'gyerek templatestyles', | ||
title = ' | title = 'cím', | ||
titleclass = ' | titleclass = 'címosztály', | ||
titlestyle = ' | titlestyle = 'címstílus', | ||
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'
}
}