Content deleted Content added
This if statement isn't needed as p._navbox does the same test. |
Dabao qian (talk | contribs) No edit summary |
||
Line 751:
or 'width:auto; margin-left:auto; margin-right:auto'
coltable:
'border-spacing: 0px; text-align:left',
tablestyle,
Line 762:
for k, n in ipairs(colheadernums) do
col = row:tag('td'):attr('class', 'navbox-abovebelow')
col:
(k > 1) and 'border-left:2px solid #fdfdfd' or '',
'font-weight:bold',
Line 774:
--- Main columns ---
row = coltable:tag('tr'):
for k, n in ipairs(colnums) do
if k == 1 and isblank(pargs[andnum('colheader', 1)])
Line 784:
if not nopad then
row:tag('td'):wikitext(' ')
:
end
end
col = row:tag('td'):attr('class', 'navbox-list')
col:
(k > 1) and 'border-left:2px solid #fdfdfd' or '',
'padding:0px',
Line 808:
for k, n in ipairs(colfooternums) do
col = row:tag('td'):attr('class', 'navbox-abovebelow')
col:
(k > 1) and 'border-left:2px solid #fdfdfd' or '',
'font-weight:bold',
|