This module depends on the following other modules: |
To generate {{Character 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("", 'Main')
:addTab("/Cards", "Cards")
:addTab("/Profile", "Profile")
:addTab("/Translations", "Translations")
:addTab("/Image Gallery", "Gallery")
return tabview:tostring()
end
return p