User:AndiPersti/Sandbox: Difference between revisions

m
Fixed display of category link
(AndiPersti moved page User:AndiPersti/Sandbox to User:AndiPersti/Examples needing attention: Query works now thus using a more descriptive page title)
 
m (Fixed display of category link)
 
(One intermediate revision by the same user not shown)
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}}}|{{{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>