View source for Module:Flexbox
From Halopedia, the Halo wiki
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local mArguments --initialize lazily
local getArgNums = require('Module:Common').getArgNums
local p = {}
--Implements {{flexbox}} from the frame
function p.flexbox(frame)
mArguments = require('Module:Arguments2')
return p._flexbox(mArguments.getArgs(frame), frame)
end
function p._flexbox(args, frame)
if not args then
return 'Missing arguments'
end
local html = mw.html.create('div'):addClass('template-flexbox')
local columns = args['columns']
local rows = args['rows']
local gap = args['gap'] or '0.5rem'
000
1:0
Template used on this page:
Return to Module:Flexbox.