Modul:Navbox/configuration
Megjelenés
Navbox/configuration[mi ez?] • [dokumentáció: mutat, ] • [tesztek: létrehozás]
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',
state_uncollapsed = 'uncollapsed',
subgroups = {'subgroup', 'child', ''},
subpage_doc = 'doc',
subpage_sandbox = 'sandbox',
subpage_testcases = 'tests',
tracking_no = 'nem',
with_collapsible_groups = 'with collapsible groups',
with_columns = 'with columns',
},
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
notheme = 'notheme'
},
pattern = {
class = 'osztály',
colnum = '^col(%d+)$',
colheadernum = '^col(%d+)header$',
colfooternum = '^col(%d+)footer$',
contentnum = '^content(%d+)$',
groupnum = '^group(%d+)$',
hlist = 'hlist',
listnum = '^lista(%d+)$',
navbox = 'Sablon:Navbox',
navbox_title = '<th[^>]*"navbox%-title"',
nowrap = '^<span class="nowrap">',
num = '^%a+(%d+)$',
plainlist = 'plainlist',
sandbox = '/sandbox$',
sectionnum = '^section(%d+)$',
sectnum = '^sect(%d+)$',
style = 'stílus$',
with_collapsible_groups = 'Sablon:Navbox with collapsible groups',
with_columns = 'Sablon:Navbox with columns',
},
arg = {
abbr_and_num = 'abbr%d',
above = 'felül',
aboveclass = 'felülosztály',
abovestyle = 'felülstílus',
basestyle = 'alapstílus',
below = 'alul',
belowclass = 'alulosztály',
belowstyle = 'alulstílus',
bodyclass = 'bodyosztály',
bodystyle = 'bodystílus',
border = 'keret',
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 = 'párospáratlan',
evenstyle = 'párosstílus',
fullwidth = 'fullwidth',
group1 = 'csoport1',
group2 = 'csoport2',
group_and_num = 'csoport%d',
groupclass = 'csoportosztály',
groupstyle = 'csoportstílus',
groupstyle_and_num = 'csoport%dstílus',
groupwidth = 'csoportszélesség',
image = 'kép',
image_and_num = 'kép%d',
imageclass = 'képosztály',
imageleft = 'balkép',
imageleft_and_num = 'balkép%d',
imageleftstyle = 'balképstílus',
imagestyle = 'képstílus',
innerstyle = 'belsőstílus',
list1padding = 'lista1térköz',
list_and_num = 'lista%d',
listclass = 'listaosztály',
listclass_and_num = 'lista%dosztály',
listpadding = 'listatérköz',
liststyle = 'listastílus',
liststyle_and_num = 'lista%dstílus',
name = 'név',
navbar = 'navbar',
navboxclass = 'navboxosztály',
nocat = 'nocat',
nowrapitems = 'nowrapitems',
oddcolstyle = 'oddcolstyle',
oddstyle = 'páratlanstílus',
orphan = 'árva',
padding = 'padding',
sect_and_num = 'sect%d',
section_and_num = 'section%d',
sectiontitlestyle_and_num = 'section%dtitlestyle',
secttitlestyle = 'secttitlestyle',
selected = 'selected',
state = 'állapot',
state_and_num = 'állapot%d',
style = 'stílus',
subgroups_and_num = {'subgroup%d', 'child%d', '%d'},
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'
}
}