13,398
edits
(Update) Tag: Reverted |
No edit summary Tag: Reverted |
||
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 418: | Line 419: | ||
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 427: | Line 429: | ||
-- 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 = args.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