Module:Babel: Difference between revisions
From Test Wiki
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 45: | Line 45: | ||
local header = args.header or '[[Wikipedia:Babel]]' |
local header = args.header or '[[Wikipedia:Babel]]' |
||
local footer = args.footer or '[[:Category:Wikipedians by language|Search user languages]]' |
local footer = args.footer or '[[:Category:Wikipedians by language|Search user languages]]' |
||
| ⚫ | |||
local footer_td = mw.html.create('td') |
|||
:css('background-color',color) |
:css('background-color',color) |
||
:css('text-align','center') |
:css('text-align','center') |
||
:attr('colspan','10') |
:attr('colspan','10') |
||
:wikitext( |
:wikitext(footer) |
||
| ⚫ | |||
| ⚫ | |||
:css('background-color',color) |
:css('background-color',color) |
||
:css('text-align','center') |
:css('text-align','center') |
||
:attr('colspan','10') |
:attr('colspan','10') |
||
:wikitext( |
:wikitext(header) |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
local body_cells = mw.html.create('td') |
local body_cells = mw.html.create('td') |
||
:css('vertical-align', 'middle !important') |
:css('vertical-align', 'middle !important') |
||
| Line 87: | Line 89: | ||
table_tag:node(row1) |
table_tag:node(row1) |
||
:node(row2) |
:node(row2) |
||
:node( |
:node(row3) |
||
-- table_tag:node(table_body) |
|||
return tostring(table_tag) |
return tostring(table_tag) |
||