Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Character tabs: Difference between revisions

From Sekaipedia
Content added Content deleted
mNo edit summary
mNo edit summary
Tag: Reverted
Line 3: Line 3:


function p.main(frame)
function p.main(frame)
local args = frame:getParent().args
local args = frame.args


local tabview = builder.new();
local tabview = builder.new();

Revision as of 06:21, 8 July 2021

To generate {{Character tabs}}, invoke using the main function.


local builder = require('Module:Tabview')
local p = {}

function p.main(frame)
	local args = frame.args

	local tabview = builder.new();
	
	tabview:addTab(args[1], 'Main')
	
	return tabview:tostring()
end

return p
Cookies help us deliver our services. By using our services, you agree to our use of cookies.