Jump to content

Module:Aligned table: Difference between revisions

typo
(scope and colXheader per request)
(typo)
Line 113: Line 113:
local cell
local cell
if isnotempty(args['row' .. tostring(j) .. 'header']) then
if isnotempty(args['row' .. tostring(j) .. 'header']) then
cell = row:tag('th'):attribute('scope','col')
cell = row:tag('th'):attr('scope','col')
elseif isnotempty(args['col' .. tostring(j) .. 'header']) then
elseif isnotempty(args['col' .. tostring(j) .. 'header']) then
cell = row:tag('th'):attribute('scope','row')
cell = row:tag('th'):attr('scope','row')
else
else
cell = row:tag('td')
cell = row:tag('td')
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.