Module:Footnotes: Difference between revisions
Richardpruen (talk | contribs) m 1 revision imported: Wikipedia article on Nicotine templates needed |
No edit summary |
||
Line 105: | Line 105: | ||
elseif 1 < tally then | elseif 1 < tally then | ||
msg = 'multiple targets (' .. tally .. '×): ' .. anchor_id; -- more than one anchor_id in this article | msg = 'multiple targets (' .. tally .. '×): ' .. anchor_id; -- more than one anchor_id in this article | ||
category = '[[Category:Harv and Sfn multiple-target errors]]'; | category = 0 == namespace and '[[Category:Harv and Sfn multiple-target errors]]' or ''; -- only categorize in article space | ||
return '<span class="error harv-error" style="display: inline; font-size:100%"> ' .. args.template .. ' error: ' .. msg .. ' ([[:Category:Harv and Sfn template errors|help]])</span>' .. category; | |||
end | end | ||