Editing Module:Infobox
Appearance
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 16: | Line 16: | ||
found = false, | found = false, | ||
styles = 'Plainlist/styles.css' | styles = 'Plainlist/styles.css' | ||
} | } | ||
-- TODO: hlist_t goes here when ready to be TStyled, plus relevant | |||
-- implementations below | |||
} | } | ||
Line 454: | Line 446: | ||
local function loadTemplateStyles() | local function loadTemplateStyles() | ||
local frame = mw.getCurrentFrame() | local frame = mw.getCurrentFrame() | ||
-- See function description | -- See function description | ||
Line 492: | Line 470: | ||
grandchild_templatestyles = frame:extensionTag{ | grandchild_templatestyles = frame:extensionTag{ | ||
name = 'templatestyles', args = { src = args['grandchild templatestyles'] } | name = 'templatestyles', args = { src = args['grandchild templatestyles'] } | ||
} | |||
end | |||
local plainlist_templatestyles = '' | |||
if lists.plainlist_t.found then | |||
plainlist_templatestyles = frame:extensionTag{ | |||
name = 'templatestyles', args = { src = lists.plainlist_t.styles } | |||
} | } | ||
end | end | ||
return table.concat({ | return table.concat({ | ||
-- | base_templatestyles, -- see function description | ||
templatestyles, | templatestyles, | ||
child_templatestyles, | child_templatestyles, | ||
grandchild_templatestyles | grandchild_templatestyles, | ||
plainlist_templatestyles | |||
}) | }) | ||
end | end |