Modul:Navbox/configuration: Unterschied zwischen den Versionen

K
21 Versionen von wpen:Module:Navbox/configuration importiert
(poke)
K (21 Versionen von wpen:Module:Navbox/configuration importiert)
 
(19 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 2: Zeile 2:
aria_label = 'Navbox',
aria_label = 'Navbox',
nowrap_item = '%s<span class="nowrap">%s</span>',
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 = {
category = {
orphan = '[[Category:Navbox orphans]]',
orphan = '[[Category:Navbox orphans]]',
Zeile 7: Zeile 18:
background_colors = 'Navboxes using background colours',
background_colors = 'Navboxes using background colours',
illegible = 'Potentially illegible navboxes',
illegible = 'Potentially illegible navboxes',
borders = 'Navboxes using borders'
borders = 'Navboxes using borders',
},
},
keyword = {
keyword = {
orphan_yes = 'yes',
border_subgroup = 'subgroup',
border_subgroup = 'subgroup',
border_child = 'child',
border_child = 'child',
Zeile 19: Zeile 29:
nocat_false = 'false',
nocat_false = 'false',
nowrapitems_yes = 'yes',
nowrapitems_yes = 'yes',
orphan_yes = 'yes',
state_collapsed = 'collapsed',
state_collapsed = 'collapsed',
state_off = 'off',
state_plain = 'plain',
state_plain = 'plain',
state_off = 'off',
tracking_no = 'no',
subpage_doc = 'doc',
subpage_doc = 'doc',
subpage_sandbox = 'sandbox',
subpage_sandbox = 'sandbox',
subpage_testcases = 'testcases',
subpage_testcases = 'testcases',
tracking_no = 'no'
},
},
class = {
class = {
Zeile 39: Zeile 50:
navbox_inner = 'navbox-inner',
navbox_inner = 'navbox-inner',
navbox_list = 'navbox-list',
navbox_list = 'navbox-list',
navbox_part = 'navbox-', -- goes with navbox_(odd|even)_part
navbox_list_with_group = 'navbox-list-with-group',
navbox_part = 'navbox-', -- do not l10n
navbox_styles = 'navbox-styles',
navbox_subgroup = 'navbox-subgroup',
navbox_subgroup = 'navbox-subgroup',
navbox_title = 'navbox-title',
navbox_title = 'navbox-title', -- l10n only if you change pattern.navbox_title below
navbox_odd_part = 'odd', -- goes with navbox_part
navbox_odd_part = 'odd', -- do not l10n
navbox_even_part = 'even', -- goes with navbox_part
navbox_even_part = 'even', -- do not l10n
nomobile = 'nomobile',
nowraplinks = 'nowraplinks',
nowraplinks = 'nowraplinks',
noviewer = 'noviewer', -- used to remove images from MediaViewer
noviewer = 'noviewer' -- used to remove images from MediaViewer
},
list_classes = {
['plainlist'] = true,
['hlist'] = true,
['hlist hnum'] = true,
['hlist hwrap'] = true,
['hlist vcard'] = true,
['vcard hlist'] = true,
['hlist vevent'] = true,
},
},
pattern = {
pattern = {
list = '^list(%d+)$',
listnum = '^list(%d+)$',
class = 'class',
sandbox = '/sandbox$',
sandbox = '/sandbox$',
navbox = 'Template:Navbox',
navbox = 'Template:Navbox',
Zeile 63: Zeile 69:
style = 'style$',
style = 'style$',
navbox_title = '<th[^>]*"navbox%-title"',
navbox_title = '<th[^>]*"navbox%-title"',
hlist = 'hlist',
plainlist = 'plainlist',
},
},
arg = {
arg = {
-- doesn't support "good" translation of "part" args because these are
-- the numbered parameters: class_part, style_part, list_part, group_part
above = 'above',
above = 'above',
aboveclass = 'aboveclass',
aboveclass = 'aboveclass',
Zeile 77: Zeile 83:
belowclass = 'belowclass',
belowclass = 'belowclass',
belowstyle = 'belowstyle',
belowstyle = 'belowstyle',
class_part = 'class',
evenodd = 'evenodd',
evenodd = 'evenodd',
evenstyle = 'evenstyle',
evenstyle = 'evenstyle',
group_part = 'group',
group1 = 'group1',
group1 = 'group1',
group2 = 'group2',
group2 = 'group2',
group_and_num = 'group%d',
groupstyle_and_num = 'group%dstyle',
groupclass = 'groupclass',
groupclass = 'groupclass',
groupstyle = 'groupstyle',
groupstyle = 'groupstyle',
Zeile 92: Zeile 98:
imageleftstyle = 'imageleftstyle',
imageleftstyle = 'imageleftstyle',
imagesetyle = 'imagestyle',
imagesetyle = 'imagestyle',
list_part = 'list',
list_and_num = 'list%d',
listclass_and_num = 'list%dclass',
liststyle_and_num = 'list%dstyle',
list1padding = 'list1padding',
list1padding = 'list1padding',
listclass = 'listclass',
listclass = 'listclass',
Zeile 106: Zeile 114:
state = 'state',
state = 'state',
style = 'style',
style = 'style',
style_part = 'style',
templatestyles = 'templatestyles',
child_templatestyles = 'child templatestyles',
title = 'title',
title = 'title',
titleclass = 'titleclass',
titleclass = 'titleclass',
titlegroup = 'titlegroup',
titlegroupclass = 'titlegroupclass',
titlegroupstyle = 'titlegroupstyle',
titlestyle = 'titlestyle',
titlestyle = 'titlestyle',
tracking = 'tracking',
tracking = 'tracking'
},
},
-- names of navbar arguments
-- names of navbar arguments
navbar = {
navbar = {
mini = 'mini',
name = 1,
fontstyle = 'fontstyle'
fontstyle = 'fontstyle',
mini = 'mini'
}
}
}
}