Changes

Jump to: navigation, search

Template:Programming language

388 bytes added, 11 September
Introduction of the 'pre' parameter to allow for list formatting.
{{#if: {{{1|}}}
| {{#switch: {{lc:{{{1|}}}}}
| c = {{{pre|}}}C {{main other|[[Category:C software]]}} | c++ = {{{pre|}}}C++ {{main other|[[Category:C++ software]]}} | fortran = {{{pre|}}}FORTRAN {{main other|[[Category:FORTRAN software]]}} | go = {{{pre|}}}Go {{main other|[[Category:Go software]]}} | java = {{{pre|}}}Java {{main other|[[Category:Java software]]}} | javascript = {{{pre|}}}JavaScript {{main other|[[Category:JavaScript software]]}} | nasal = {{{pre|}}}Nasal {{main other|[[Category:Nasal software]]}} | perl = {{{pre|}}}Perl {{main other|[[Category:Perl software]]}} | php = {{{pre|}}}Php {{main other|[[Category:Php software]]}} | python = {{{pre|}}}Python {{main other|[[Category:Python software]]}} | ruby = {{{pre|}}}Ruby {{main other|[[Category:Ruby software]]}} | r = {{{pre|}}}R {{main other|[[Category:R software]]}} | shell = {{{pre|}}}Shell script {{main other|[[Category:Shell script software]]}} | swift = {{{pre|}}}Swift {{main other|[[Category:Swift software]]}} | #default = {{{pre|}}}Unknown software {{main other|[[Category:Unknown software]]}}
}}
}}
{{obr}}'''programming language'''
{{!}} language =
{{!}} ''pre'' =
{{cbr}}
; language: The string representation of the programming language. Capitalisation is ignored.
 
; pre: Text to prefix prior to the link text. This is useful for creating lists.
== Examples ==
{{programming language|Nasal}}
 
=== Multiple languages ===
 
{{obr}}programming language{{!}}C/C++/Nasal{{cbr}}
 
{{programming language|C/C++/Nasal}}
}}

Navigation menu