Anonymous user
Module:Cs1 documentation support: Difference between revisions
remove a use of 'error' class. need removing generally but not going to check to see if the tstyles are always output
Richardpruen (talk | contribs) m (1 revision imported: Citation templates) |
(remove a use of 'error' class. need removing generally but not going to check to see if the tstyles are always output) |
||
Line 920: | Line 920: | ||
local args = getArgs (frame); | local args = getArgs (frame); | ||
local error_conditions = mw.loadData ('Module:Citation/CS1/Configuration').error_conditions; | local error_conditions = mw.loadData ('Module:Citation/CS1/Configuration').error_conditions; | ||
local span_o = '<span class="cs1-visible- | local span_o = '<span class="cs1-visible-error citation-comment">'; | ||
local span_c = '</span>'; | local span_c = '</span>'; | ||
Line 947: | Line 947: | ||
local out_str = table.concat (out); | local out_str = table.concat (out); | ||
out_str = frame:expandTemplate ({title='resize', args = {'120%', out_str} }) | out_str = frame:expandTemplate ({title='resize', args = {'120%', out_str} }) | ||
return table.concat ({ | return table.concat ({frame:extensionTag ('templatestyles', '', {src='Module:Citation/CS1/styles.css'}), out_str}); | ||
end | end | ||