Module:Navbox/configuration: Difference between revisions

m
1 revision imported from wikipedia:Module:Navbox/configuration
(save listnum rename)
m (1 revision imported from wikipedia:Module:Navbox/configuration)
 
(11 intermediate revisions by one other user not shown)
Line 2:
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 = {
Line 13 ⟶ 18:
background_colors = 'Navboxes using background colours',
illegible = 'Potentially illegible navboxes',
borders = 'Navboxes using borders',
},
keyword = {
Line 45 ⟶ 50:
navbox_inner = 'navbox-inner',
navbox_list = 'navbox-list',
navbox_list_with_group = 'navbox-list-with-group',
navbox_part = 'navbox-', -- goesdo withnot navbox_(odd|even)_partl10n
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', -- goesdo withnot navbox_partl10n
navbox_even_part = 'even', -- goesdo withnot navbox_partl10n
nomobile = 'nomobile',
nowraplinks = 'nowraplinks',
noviewer = 'noviewer' -- used to remove images from MediaViewer
},
list_classes = {
['plainlist'] = true,
['hlist'] = true,
['hlist vcard'] = true,
['vcard hlist'] = true,
['hlist vevent'] = true
},
pattern = {
listnum = '^list(%d+)$',
class = 'class',
sandbox = '/sandbox$',
navbox = 'Template:Navbox',
nowrap = '^<span class="nowrap">',
style = 'style$',
navbox_title = '<th[^>]*"navbox%-title"',
['hlist'] = true'hlist',
['plainlist'] = true'plainlist',
},
-- doesn't support "good" translation of "part" args because these are the
-- numbered parameters. class_part, style_part, list_part, group_part
arg = {
above = 'above',
Line 112 ⟶ 114:
state = 'state',
style = 'style',
templatestyles = 'templatestyles',
child_templatestyles = 'child templatestyles',
title = 'title',
titleclass = 'titleclass',
titlegroup = 'titlegroup',
titlegroupclass = 'titlegroupclass',
titlegroupstyle = 'titlegroupstyle',
titlestyle = 'titlestyle',
tracking = 'tracking'
Line 122 ⟶ 123:
-- names of navbar arguments
navbar = {
name = 1,
fontstyle = 'fontstyle',
mini = 'mini'
verified
2,503

edits