317
редагувань
Немає опису редагування |
Немає опису редагування |
||
| Рядок 10: | Рядок 10: | ||
local common = require( 'Module:Common' ) | local common = require( 'Module:Common' ) | ||
local hatnote = require( 'Module:Hatnote' )._hatnote | local hatnote = require( 'Module:Hatnote' )._hatnote | ||
--- Set the frame and load args | |||
--- @param frame table | |||
function methodtable.setFrame( self, frame ) | |||
self.currentFrame = frame | |||
self.frameArgs = require( 'Module:Arguments' ).getArgs( frame ) | |||
end | |||
--- Create the infobox | --- Create the infobox | ||
function methodtable.getInfobox( self ) | function methodtable.getInfobox( self ) | ||
instance:setFrame( frame ) | |||
local infobox = require( 'Module:InfoboxNeue' ):new( { | local infobox = require( 'Module:InfoboxNeue' ):new( { | ||
placeholderImage = '' | placeholderImage = '' | ||
| Рядок 57: | Рядок 65: | ||
content = table.concat( sectionTable ) | content = table.concat( sectionTable ) | ||
} ) | } ) | ||
end | end | ||