Template:Infobox programming language/doc: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(16 intermediate revisions by 11 users not shown)
Line 5:
 
== Syntax ==
{{GenericParameter templatenames demoexample |_display=italics
|name=''name'' |logo={{{logo}}} |logo caption |screenshot={{{screenshot}}} |screenshot caption
|paradigm=''paradigm''  {{smaller|or}}  ''paradigms''
Line 11:
|developer={{nowrap|''developer''  {{smaller|or}}  ''developers''}}
|released |latest release version |latest release date |latest preview version |latest preview date
|typing | memory management | scope |programming language |platform |operating system |license |file ext
|file format=''file format''  {{smaller|or}}  ''file formats''
|website |implementations |dialects |influenced by |influenced |wikibooks={{{wikibooks}}}
}}
<syntaxhighlight lang="xmlwikitext" style="overflow:auto;">
{{Infobox programming language
| name = <!-- otherwise defaults to {{PAGENAME}} -->
| logo = <!-- (filename)Filename -->
| logo caption =
| collapsible = <!-- to make screenshot collapsible -->
| screenshot = <!-- (filename)Filename -->
| screenshot caption =
| SampleCodesampleCode =
| paradigm = <!-- or: | paradigms = -->
| family =
| designer = <!-- or: | designers = -->
| developer = <!-- or: | developers = -->
| released = <!-- or: | year = --> <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| latest release version =
| latest release date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
Line 34:
| latest preview date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| typing =
| memory management =
| scope =
| programming language =
Line 42 ⟶ 43:
| file ext =
| file format = <!-- or: | file formats = -->
| website = <!-- {{urlURL|www.example.com}} -->
| implementations =
| dialects =
Line 56 ⟶ 57:
{{Infobox programming language
| name = Python
| SampleCodesampleCode = <syntaxhighlight lang="python">
print("Hello, World!")
</syntaxhighlight>
| sampleCode caption = Hello
| logo = Python logo and wordmark.svg
| paradigm = [[Multi-paradigm programming language|Multi-paradigm]]: [[object-oriented programming|object-oriented]], [[imperative programming|imperative]], [[functional programming|functional]], [[procedural programming|procedural]], [[reflective programming|reflective]]
Line 67 ⟶ 69:
| latest_preview_version = 3.5.0b3 / {{Start date and age|2015|07|05|df=yes}}
| typing = [[Duck typing|Duck]], [[dynamic typing|dynamic]], [[strong typing|strong]], [[gradual typing|gradual]] (as of Python 3.5)
| memory management = [[Garbage collection (computer science)|garbage collected]]
| implementations = [[CPython]], [[IronPython]], [[Jython]], [[PyPy]]
| dialects = [[Cython]], [[RPython]], [[Stackless Python]]
| influenced_by = [[ABC (programming language)|ABC]], [[ALGOL 68]], [[C (programming language)|C]], [[C++]], [[Dylan (programming language)|Dylan]], [[Haskell (programming language)|Haskell]], [[Icon (programming language)|Icon]], [[Java (programming language)|Java]], [[Lisp (programming language)|Lisp]], [[Modula-3]], [[Perl]]
| influenced = [[Boo (programming language)|Boo]], [[Cobra (programming language)|Cobra]], [[D (programming language)|D]], [[F Sharp (programming language)|F#]], [[Go (programming language)|Go]], [[Groovy (programming language)|Groovy]], [[JavaScript]], [[Julia (programming language)|Julia]], [[Nim (programming language)|Nim]], [[Ruby (programming language)|Ruby]], [[Swift (programming language)|Swift]]
| license = [[Python Software Foundation License]]
Line 77 ⟶ 80:
}}
 
<presyntaxhighlight lang="wikitext" style="overflow: auto">
{{Infobox programming language
| name = Python
Line 88 ⟶ 91:
| latest_preview_version = 3.5.0b3 / {{Start date|2015|07|05|df=yes}}
| typing = [[duck typing|duck]], [[dynamic typing|dynamic]], [[strong typing|strong]], [[gradual typing|gradual]] (as of Python 3.5)
| memory management = [[Garbage collection (computer science)|garbage collected]]
| implementations = [[CPython]], [[IronPython]], [[Jython]], [[PyPy]]
| dialects = [[Cython]], [[RPython]], [[Stackless Python]]
| influenced_by = [[ABC (programming language)|ABC]], [[ALGOL 68]], [[C (programming language)|C]], [[C++]], [[Dylan (programming language)|Dylan]], [[Haskell (programming language)|Haskell]], [[Icon (programming language)|Icon]], [[Java (programming language)|Java]], [[Lisp (programming language)|Lisp]], [[Modula-3]], [[Perl]]
| influenced = [[Boo (programming language)|Boo]], [[Cobra (programming language)|Cobra]], [[D (programming language)|D]], [[F Sharp (programming language)|F#]], [[Go (programming language)|Go]], [[Groovy (programming language)|Groovy]], [[JavaScript]], [[Julia (programming language)|Julia]], [[Nim (programming language)|Nim]], [[Ruby (programming language)|Ruby]], [[Swift (programming language)|Swift]]
| license = [[Python Software Foundation License]]
Line 97 ⟶ 101:
| wikibooks = Python Programming
}}
</syntaxhighlight>
</pre>
{{-clear}}
 
===Parameters===
Line 123 ⟶ 127:
"type": "string",
"required": false,
"description": "Filename for the image; e.g., 'File:Monodevelop Logo.svg'. When the language does not have a logo, as e.g. Fortran or Cobol and you place an image here, please use the logo caption to explain what you're showing. Please don't make up logos."
},
"logo size": {
Line 276 ⟶ 280:
"required": false,
"description": "Specifies the typing discipline implemented, used, or mandated"
},
"memory management": {
"label": "Memory management",
"type": "string",
"required": false,
"description": "Specifies the memory management model"
},
"scope": {
Line 403 ⟶ 413:
"latest preview date",
"typing",
"memory management",
"scope",
"implementations",