User:AndiPersti/Sandbox: Difference between revisions
Content deleted Content added
AndiPersti moved page User:AndiPersti/Sandbox to User:AndiPersti/Examples needing attention: Query works now thus using a more descriptive page title |
Experimenting with new header version |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{lc: {{{1|}}} }} |
|||
#REDIRECT [[User:AndiPersti/Examples needing attention]] |
|||
| c sharp |
|||
| c# = [[:Category:C sharp|C#]] [[Category:C sharp]] {{#set:Implemented in language=C sharp}} |
|||
| f sharp |
|||
| f# = [[:Category:F Sharp|F#]] [[Category:F Sharp]] {{#set:Implemented in language=F Sharp}} |
|||
| #default = [[:Category:{{{1}}}]] [[Category:{{{1}}}]] {{#set:Implemented in language={{{1}}} }} |
|||
}}</includeonly><noinclude>Usage: <code><nowiki>=={{header|language name}}==</nowiki></code> |
|||
This template is intended to be used for the header of a programming language solution. The language's category is added to the task page and the Semantic MediaWiki property ''Implemented in language'' is set. |
|||
The special cases '''C#''' and '''F#''' are handled properly; one can use either '''C#''', '''C sharp''' or '''C Sharp''' as the language name (similar for F#). |
|||
{{template}} |
|||
[[Category:Example description templates]]</noinclude> |
Revision as of 14:52, 13 March 2016
Usage: =={{header|language name}}==
This template is intended to be used for the header of a programming language solution. The language's category is added to the task page and the Semantic MediaWiki property Implemented in language is set.
The special cases C# and F# are handled properly; one can use either C#, C sharp or C Sharp as the language name (similar for F#).