Template:Programming language: Difference between revisions

Only process the parameter if given.
(More work on the template.)
(Only process the parameter if given.)
Line 1: Line 1:
{{#switch: {{lc:{{{1|}}}}}
{{#if: {{{1|}}}
  | c          = C                {{main other|[[Category:C software]]}}
  | {{#switch: {{lc:{{{1|}}}}}
  | c++        = C++              {{main other|[[Category:C++ software]]}}
      | c          = C                {{main other|[[Category:C software]]}}
  | fortran    = FORTRAN          {{main other|[[Category:FORTRAN software]]}}
      | c++        = C++              {{main other|[[Category:C++ software]]}}
  | go        = Go              {{main other|[[Category:Go software]]}}
      | fortran    = FORTRAN          {{main other|[[Category:FORTRAN software]]}}
  | java      = Java            {{main other|[[Category:Java software]]}}
      | go        = Go              {{main other|[[Category:Go software]]}}
  | javascript = JavaScript      {{main other|[[Category:JavaScript software]]}}
      | java      = Java            {{main other|[[Category:Java software]]}}
  | nasal      = Nasal            {{main other|[[Category:Nasal software]]}}
      | javascript = JavaScript      {{main other|[[Category:JavaScript software]]}}
  | perl      = Perl            {{main other|[[Category:Perl software]]}}
      | nasal      = Nasal            {{main other|[[Category:Nasal software]]}}
  | php        = Php              {{main other|[[Category:Php software]]}}
      | perl      = Perl            {{main other|[[Category:Perl software]]}}
  | python    = Python          {{main other|[[Category:Python software]]}}
      | php        = Php              {{main other|[[Category:Php software]]}}
  | ruby      = Ruby            {{main other|[[Category:Ruby software]]}}
      | python    = Python          {{main other|[[Category:Python software]]}}
  | r          = R                {{main other|[[Category:R software]]}}
      | ruby      = Ruby            {{main other|[[Category:Ruby software]]}}
  | shell      = Shell script    {{main other|[[Category:Shell script software]]}}
      | r          = R                {{main other|[[Category:R software]]}}
  | swift      = Swift            {{main other|[[Category:Swift software]]}}
      | shell      = Shell script    {{main other|[[Category:Shell script software]]}}
  | #default  = Unknown software {{main other|[[Category:Unknown software]]}}
      | swift      = Swift            {{main other|[[Category:Swift software]]}}
      | #default  = Unknown software {{main other|[[Category:Unknown software]]}}
    }}
}}
}}
<noinclude>
<noinclude>