Module:Tabs: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
m
no edit summary
m (replace PAGENAME with lua equivalent)
mNo edit summary
Line 180: Line 180:
     local template = mw.title.getCurrentTitle().text .. '/'
     local template = mw.title.getCurrentTitle().text .. '/'
     if type( self.selection ) == 'table' then
     if type( self.selection ) == 'table' then
       template = template .. self.selection.left .. '/' .. self.selection.right
       template = template .. self.selection.left .. '/' .. self.selection.top
     else
     else
       template = template .. self.selection
       template = template .. self.selection

Navigation menu