13,398
edits
No edit summary Tag: Reverted |
Tag: Undo |
||
(2 intermediate revisions by the same user not shown) | |||
Line 287: | Line 287: | ||
if has_list_class(htmlclass) then | if has_list_class(htmlclass) then | ||
return frame:extensionTag{ | return frame:extensionTag{ | ||
name = 'templatestyles', args = { src = templatestyles } | |||
} | |||
} | |||
else | else | ||
return '' | return '' | ||
Line 419: | Line 418: | ||
if templatestyles and templatestyles ~= '' then | if templatestyles and templatestyles ~= '' then | ||
return frame:extensionTag{ | return frame:extensionTag{ | ||
name = 'templatestyles', args = { src = templatestyles } | |||
} | |||
} | |||
end | end | ||
return '' | return '' | ||
Line 429: | Line 427: | ||
-- the work once of parser tag expansion | -- the work once of parser tag expansion | ||
local base_templatestyles = cfg.templatestyles | local base_templatestyles = cfg.templatestyles | ||
local templatestyles = add_user_styles(args[cfg.arg.templatestyles]) | local templatestyles = add_user_styles(args[cfg.arg.templatestyles]) | ||
local child_templatestyles = add_user_styles(args[cfg.arg.child_templatestyles]) | local child_templatestyles = add_user_styles(args[cfg.arg.child_templatestyles]) |
edits