Template:Header: Difference between revisions
Content added Content deleted
(Header links go straight to categories.) |
m (C# and C++ examples might have gone to the wrong category.) |
||
Line 1: | Line 1: | ||
{{#if: {{{2|}}} | [[:Category:{{{1}}}|{{{2}}}]] | [[:Category:{{{1}}}|{{{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: |
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: |
Revision as of 01:59, 12 March 2008
[[:Category:{{{1}}}|{{{1}}}]][[Category:{{{1}}}]]
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:
=={{header|Your Language Here}}==
expands to:
==[[Your Language Here]] [[Category:Your Language Here]]==
To catch difficult wiki names like C++ and C#:
=={{header|Your Language Here|Display Name}}==
expands to:
==[[Your Language Here|Display Name]] [[Category:Your Language Here]]==
Created by --IanOsgood 10:53, 17 September 2007 (MDT)