Module:Infobox: Difference between revisions
From The Kodiak Republic Wiki
Content added Content deleted
(Fix templatestyles pattern, this tag will be expanded into a strip-marker when processed here) |
(uno mas, based on plastikspork's work) |
||
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
|