Changes

Jump to navigation Jump to search
More work on the template.
Line 1: Line 1: −
{{#switch: {{lc|{{{language|C++}}}}}
+
{{#switch: {{lc:{{{1|}}}}}
   | c          = C           {{main other|[[Category:C software]]}}
+
   | c          = C               {{main other|[[Category:C software]]}}
   | c++        = C++         {{main other|[[Category:C++ software]]}}
+
   | c++        = C++             {{main other|[[Category:C++ software]]}}
   | fortran    = FORTRAN     {{main other|[[Category:FORTRAN software]]}}
+
   | fortran    = FORTRAN         {{main other|[[Category:FORTRAN software]]}}
   | go        = Go           {{main other|[[Category:Go software]]}}
+
   | go        = Go               {{main other|[[Category:Go software]]}}
   | java      = Java         {{main other|[[Category:Java software]]}}
+
   | java      = Java             {{main other|[[Category:Java software]]}}
   | javascript = JavaScript   {{main other|[[Category:JavaScript software]]}}
+
   | javascript = JavaScript       {{main other|[[Category:JavaScript software]]}}
   | nasal      = Nasal       {{main other|[[Category:Nasal software]]}}
+
   | nasal      = Nasal           {{main other|[[Category:Nasal software]]}}
   | perl      = Perl         {{main other|[[Category:Perl software]]}}
+
   | perl      = Perl             {{main other|[[Category:Perl software]]}}
   | php        = Php         {{main other|[[Category:Php software]]}}
+
   | php        = Php             {{main other|[[Category:Php software]]}}
   | python    = Python       {{main other|[[Category:Python software]]}}
+
   | python    = Python           {{main other|[[Category:Python software]]}}
   | ruby      = Ruby         {{main other|[[Category:Ruby software]]}}
+
   | ruby      = Ruby             {{main other|[[Category:Ruby software]]}}
   | r          = R           {{main other|[[Category:R software]]}}
+
   | r          = R               {{main other|[[Category:R software]]}}
   | shell      = Shell script {{main other|[[Category:Shell script software]]}}
+
   | shell      = Shell script     {{main other|[[Category:Shell script software]]}}
   | swift      = Swift       {{main other|[[Category:Swift software]]}}
+
   | swift      = Swift           {{main other|[[Category:Swift software]]}}
 +
  | #default  = Unknown software {{main other|[[Category:Unknown software]]}}
 
}}
 
}}
 
<noinclude>
 
<noinclude>
Line 28: Line 29:  
  {{cbr}}
 
  {{cbr}}
   −
; language:  The string representation of the programming language.
+
; language:  The string representation of the programming language.  Capitalisation is ignored.
    
== Examples ==
 
== Examples ==
Line 41: Line 42:     
{{programming language|c++}}
 
{{programming language|c++}}
 +
 +
=== Nasal ===
 +
 +
  {{obr}}programming language{{!}}Nasal{{cbr}}
 +
 +
{{programming language|Nasal}}
    
}}
 
}}

Navigation menu