Template:Header beta: Difference between revisions
Content deleted Content added
For testing only |
m Revert my changes. |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{{2|}}} | <span id="{{{1}}}">[[:Category:{{{1}}}|{{{2}}}]]</span>| |
{{#if: {{{2|}}} | <span id="{{{1}}}">[[:Category:{{{1}}}|{{{2}}}]]</span>|{{#switch: {{lc: {{{1|}}} }}|c sharp=<span id="C sharp">[[:Category:C sharp|C#]]</span>|f sharp=<span id="F sharp">[[:Category:F sharp|F#]]</span>|[[:Category:{{{1}}}|{{{1}}}]]}} }}[[Category:{{{1}}}]]{{#set:implemented in language={{{1}}} }}<noinclude> |
||
[[Category:{{{1}}}]]{{#set:implemented in language={{{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: |
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: |
||
Line 10: | Line 8: | ||
expands to: |
expands to: |
||
<code><nowiki> |
<code><nowiki> |
||
==[[Your Language Here]] [[Category:Your Language Here]]== |
==[[Your Language Here]] [[Category:Your Language Here]]== |
||
Line 25: | Line 22: | ||
==[[Your Language Here|Display Name]] [[Category:Your Language Here]]== |
==[[Your Language Here|Display Name]] [[Category:Your Language Here]]== |
||
</nowiki></code> |
</nowiki></code> |
||
⚫ | |||
Created by --[[User:IanOsgood|IanOsgood]] 10:53, 17 September 2007 (MDT) |
|||
{{template}} |
|||
[[Category:Example description templates]]</noinclude> |
Latest revision as of 23:37, 22 July 2011
[[: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]]==