Module:Babel: Difference between revisions
From Test Wiki
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 40: | Line 40: | ||
local color = args.color or 'inherit' |
local color = args.color or 'inherit' |
||
local table_body = mw.html.create('tbody') |
|||
local row1 = mw.html.create('tr') |
local row1 = mw.html.create('tr') |
||
local row2 = mw.html.create('tr') |
local row2 = mw.html.create('tr') |
||
| Line 86: | Line 85: | ||
row2:node(body_cells) |
row2:node(body_cells) |
||
table_tag:node(row1) |
|||
:node(row2) |
:node(row2) |
||
:node(row3) |
:node(row3) |
||
table_tag:node(table_body) |
-- table_tag:node(table_body) |
||
return tostring(table_tag) |
return tostring(table_tag) |
||