Module:HeroTabs: Difference between revisions

Vergir (talk | contribs)
Created page with "local p = {} local lang_module = require('Module:Lang') local dictionary_module = require('Module:Dictionary') -- Tab bar definition, in display order. -- subpage : subpage name appended to the base page ('' = the base page itself) -- key : translation key -- source : 'dictionary' (via Module:Dictionary) or 'lang' (via Module:Lang, Valve strings) local TABS = { { subpage = '', key = 'Overview', source = 'dictionary' }, { subpage =..."
 
No edit summary
 
Line 68: Line 68:


local root = mw.html.create('div')
local root = mw.html.create('div')
:addClass('navbox-title hero-tabs')
:addClass('hero-tabs')


for _, tab in ipairs(TABS) do
for _, tab in ipairs(TABS) do