Module:Conflict: Difference between revisions
From roblox chads wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
:addImage( args.image, args.caption ) | :addImage( args.image, args.caption ) | ||
:addWikitext([[ | :addWikitext([[ | ||
<div style="margin:auto;"> | |||
<table style="width:20%"> | <table style="width:20%"> | ||
<tr> | <tr> | ||
| Line 31: | Line 32: | ||
</tr> | </tr> | ||
</table> | </table> | ||
</div> | |||
]]) | ]]) | ||
return retval | return retval | ||
Revision as of 20:56, 2 November 2026
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([[
<div style="margin:auto;">
<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>
</div>
]])
return retval
end
return p