Template:Header: Difference between revisions

Then again, I might not be thinking straight.
m (C# and C++ examples might have gone to the wrong category.)
(Then again, I might not be thinking straight.)
Line 1:
{{#if: {{{2|}}} | [[:Category:{{{1}}}|{{{2}}}]][[Category:{{{2}}}]] | [[: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: