This module depends on the following other modules: |
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 1", "Side Story 2")
return tabview:tostring()
end
return p