Editing Module:Aligned table
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 121: | Line 121: | ||
end | end | ||
-- loop over the cells in the row | -- loop over the cells in the row | ||
if showrow then | |||
for i=1,cols do | for i=1,cols do | ||
local cell | local cell | ||
Line 163: | Line 164: | ||
end | end | ||
cell:wikitext(mw.ustring.gsub(args[cols*(j - 1) + i] or '', '^(.-)%s*$', '%1') or '') | cell:wikitext(mw.ustring.gsub(args[cols*(j - 1) + i] or '', '^(.-)%s*$', '%1') or '') | ||
end | |||
end | end | ||
end | end |