Changes

Jump to navigation Jump to search
51 bytes added ,  10:59, 11 February 2019
m
1 revision imported
Line 71: Line 71:  
-- Table root
 
-- Table root
 
local root = mw.html.create('table')
 
local root = mw.html.create('table')
 +
root:attr('role', 'presentation')
 
for i, class in ipairs(data.classes or {}) do
 
for i, class in ipairs(data.classes or {}) do
 
root:addClass(class)
 
root:addClass(class)
 
end
 
end
root:css{border = '1px solid #aaa', ['background-color'] = '#f9f9f9'}
+
root:css{border = '1px solid #aaa', ['background-color'] = '#f9f9f9', color = '#000'}
 
if data.style then
 
if data.style then
 
root:cssText(data.style)
 
root:cssText(data.style)
Bureaucrats, private-view, public-view, Administrators
97,692

edits

Navigation menu