Module:Infobox: Difference between revisions
don't add empty div |
m update to match new template names |
||
| Line 4: | Line 4: | ||
local titleObject = mw.title.getCurrentTitle() | local titleObject = mw.title.getCurrentTitle() | ||
local title = args.title or titleObject.baseText | local title = args.title or titleObject.baseText | ||
local template = f:getParent():getTitle():lower():gsub( 'template:', '' ) | local template = f:getParent():getTitle():lower():gsub( 'template:', '' ):gsub( 'infobox ', '' ) | ||
local headerArea = '' | local headerArea = '' | ||