Template:Header beta

From Rosetta Code

[[:Category:{{{1}}}|{{{1}}}]][[Category:{{{1}}}]]Property "Implemented in language" (as page type) with input value "{{{1}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.

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#:

=={{header|Your Language Here|Display Name}}==

expands to: ==[[Your Language Here|Display Name]] [[Category:Your Language Here]]==