FANDOM


local Test = {}
 
local colors = require("Dev:Colors")
 
function Test.func(frame)
    local container = mw.html.create('div')
    container:node(mw.html.create('div'):cssText('width: 100px; height: 100px; background-color: '..colors.params['color-header']))
    container:node(mw.html.create('div'):cssText('width: 100px; height: 100px; background-color: '..colors.params['color-page']))
    container:node(mw.html.create('div'):cssText('width: 100px; height: 100px; background-color: '..colors.params['color-body']))
    container:node(mw.html.create('div'):cssText('width: 100px; height: 100px; background-color: '..colors.params['color-text']):wikitext(colors.params['color-text']))
    return container
end
 
return Test