Template:Programming language: Difference between revisions
Jump to navigation
Jump to search
(Initial template based on discussions at http://wiki.flightgear.org/index.php?title=Template_talk:Infobox_Software&oldid=127514.) |
(No difference)
|
Revision as of 12:22, 11 September 2020
{{#switch: Template:Lc
| c = C {{main other| | c++ = C++ {{main other| | fortran = FORTRAN {{main other| | go = Go {{main other| | java = Java {{main other| | javascript = JavaScript {{main other| | nasal = Nasal {{main other| | perl = Perl {{main other| | php = Php {{main other| | python = Python {{main other| | ruby = Ruby {{main other| | r = R {{main other| | shell = Shell script {{main other| | swift = Swift
The following template description is not displayed when the template is inserted in an article.
Goal
This template is used to process programming language strings to return standardised names and categories.
Usage
Add this to the top of the article describing the software.
{{programming language | language = }}
- language
- The string representation of the programming language.
Examples
C++
{{programming language|C++}}
{{#switch: Template:Lc
| c = C {{main other| | c++ = C++ {{main other| | fortran = FORTRAN {{main other| | go = Go {{main other| | java = Java {{main other| | javascript = JavaScript {{main other| | nasal = Nasal {{main other| | perl = Perl {{main other| | php = Php {{main other| | python = Python {{main other| | ruby = Ruby {{main other| | r = R {{main other| | shell = Shell script {{main other| | swift = Swift
{{programming language|c++}}
{{#switch: Template:Lc
| c = C {{main other| | c++ = C++ {{main other| | fortran = FORTRAN {{main other| | go = Go {{main other| | java = Java {{main other| | javascript = JavaScript {{main other| | nasal = Nasal {{main other| | perl = Perl {{main other| | php = Php {{main other| | python = Python {{main other| | ruby = Ruby {{main other| | r = R {{main other| | shell = Shell script {{main other| | swift = Swift