View source for Module:Page tabs
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
-- This module implements {{Page tabs}}.
local getArgs = require('Module:Arguments').getArgs
local yesno = require('Module:Yesno')
local p = {}
function p.main(frame)
local args = getArgs(frame)
return p._main(args)
end
function p._main(args)
local makeTab = p.makeTab
local root = mw.html.create()
root:wikitext(yesno(args.NOTOC) and '__NOTOC__' or nil)
local troot = root:tag('table')
troot
:css('background', args.Background or '#f8fcff')
:css('text-align', 'center')
:css('width', '100%')
000
1:0
Template used on this page:
Return to Module:Page tabs.