Template:Header: Difference between revisions

All sections now have spans with id attribute equal to the category name for the language.
(Undo revision 84091 by Short Circuit (Talk))
(All sections now have spans with id attribute equal to the category name for the language.)
Line 1:
{{#if: {{{2|}}} | <span id="{{{1}}}">[[:Category:{{{1}}}|{{{2}}}]]</span> | [[:Category:{{{1}}}|{{{1}}}]] }}[[Category:{{{1}}}]]<noinclude>
 
This is intended to be used for the header of a programming language solution. Used within the header, it adds a category with the same name. It can be invoked two ways: