Anonymous user
Module:Infobox: Difference between revisions
From The Kodiak Republic Wiki
move subbox to templatestyles, still working on the other 4k. will remove from common.css Soon
((1) return templatestyles when child=yes, (2) move templatestyles and categories before </tr> to avoid creating empty cells (see thread on talk page)) |
(move subbox to templatestyles, still working on the other 4k. will remove from common.css Soon) |
||
Line 394:
Loads the templatestyles for the infobox.
TODO:
When we do this we should clean up the inline CSS below too.
Will have to do some bizarre conversion category like with sidebar.
]=]
local function loadTemplateStyles()
local frame = mw.getCurrentFrame()
-- See function description
local templatestyles = ''
if args['templatestyles'] then templatestyles = frame:extensionTag{
Line 428:
return table.concat({
templatestyles,
child_templatestyles,
grandchild_templatestyles
})
end
|