Module:Tabs: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
transclude from main namespace
mNo edit summary
(transclude from main namespace)
Line 190: Line 190:
       :css( 'right', '15px' )
       :css( 'right', '15px' )
       :wikitext( '[' .. tostring( mw.uri.fullUrl( template, { action = 'edit' } ) ) .. ' [edit]]' )
       :wikitext( '[' .. tostring( mw.uri.fullUrl( template, { action = 'edit' } ) ) .. ' [edit]]' )
     content:wikitext( '\n' .. mw.getCurrentFrame():expandTemplate{ title = template } )
     content:wikitext( '\n' .. mw.getCurrentFrame():expandTemplate{ title = ':' .. template } )
   else
   else
     content:wikitext( '\n' .. self.content ) -- newline is needed for tables, lists, etc.
     content:wikitext( '\n' .. self.content ) -- newline is needed for tables, lists, etc.

Navigation menu