Content deleted Content added
Andy M. Wang (talk | contribs) add 4thcoltitle (?) |
Restored revision 794628147 by JJMC89 (talk): Rv clueless trail-and-error poking; sorry for any disruption. |
||
(11 intermediate revisions by 4 users not shown) | |||
Line 8:
local args = (frame.args[1] ~= nil) and frame.args or frame:getParent().args
local cols
if
cols = 4
elseif isnotempty(args['3rdcoltitle']) elseif isnotempty(args['3rdcoltitle']) then▼
▲ cols = 3
end
Line 43 ⟶ 41:
cell= row:tag('th')
cell:css('width','10%')
cell:addClass('unsortable')
end
cell:wikitext(args['3rdcoltitle'])
end
if (isnotempty(args['4thcoltitle'])) then
cell= row:tag('th')
if (isnotempty(args['4thcolunsortable'])) then
cell:
end
cell:wikitext(args['4thcoltitle'])
end
-- loop over rows
|