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

Module:Card tabs

From Sekaipedia
Revision as of 03:14, 16 March 2022 by ChaoticShadow (talk | contribs) (Undo revision 32166 by ChaoticShadow (talk))

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


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

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

	local tabview = builder.new(args[1])
	
	tabview:addTab("", 'Card')
		:addTab("/Side Story 1", "Side Story 1")
		:addTab("/Side Story 2", "Side Story 2")
	
	return tabview:tostring()
end

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