Module:Conflict
From roblox chads wiki
Documentation for this module may be created at Module:Conflict/doc
local capiunto = require 'capiunto'
local p = {}
function p.main(frame)
local args = frame:getParent().args
local headerStyle
if args.headerstyle and args.headerstyle ~= '' then
headerStyle = string.format('background-color:%s;', args.headerstyle)
else
headerStyle = 'background-color:grey;'
end
local retval = capiunto.create( {
title = args.title,
headerStyle = headerStyle,
} )
:addImage( args.image, args.caption )
:addWikitext([[
<table style="width:20%">
<tr>
<th>Side 1</th>
<th>Side 2</th>
</tr>
<tr>
<td>1p1s</td>
<td>H.T.B</td>
</tr>
<tr>
<td>S.O.S</td>
<td>Leftists</td>
</tr>
</table>
]])
return retval
end
return p