Content deleted Content added
DavisVega90 (talk | contribs) m →Example Tag: Reverted |
Cobalt pen (talk | contribs) No edit summary |
||
(6 intermediate revisions by 5 users not shown) | |||
Line 4:
{{Uses Wikidata|P856}}
== Syntax ==
{{Parameter names example |_display=italics
|name=''name'' |logo={{{logo}}} |logo caption |screenshot={{{screenshot}}} |screenshot caption
|paradigm=''paradigm'' {{smaller|or}} ''paradigms''
|family |designer=''designer'' {{smaller|or}} ''designers''
|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="wikitext" style="overflow:auto;">
{{Infobox programming language
| name = <!-- otherwise defaults to {{PAGENAME}} -->
| logo = <!-- Filename -->
| logo caption =
| collapsible = <!-- to make screenshot collapsible -->
| screenshot = <!-- Filename -->
| screenshot caption =
| sampleCode =
| 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}} -->
| latest preview version =
| latest preview date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| typing =
| memory management =
| scope =
| programming language =
| discontinued =
| platform =
| operating system =
| license =
| file ext =
| file format = <!-- or: | file formats = -->
| website = <!-- {{URL|www.example.com}} -->
| implementations =
| dialects =
| influenced by =
| influenced =
}}
</syntaxhighlight>
{{Clear}}
== Example ==
{{hatnote|The following markup is included '''only for illustration purposes'''. It is not intended to provide up-to-date information about [[Python (programming language)|Python]] programming language and should not be updated for the sake of '''truth'''.}}
{{Infobox programming language
| name = Python
| sampleCode = <syntaxhighlight lang="python">
print("Hello, World!")
</syntaxhighlight>
| sampleCode caption = Hello
| logo = Python logo and wordmark.svg
| paradigm = [[
| released = {{Start date and age|1991|df=yes}}
| designer = [[Guido van Rossum]]
| developer = [[Python Software Foundation]]
| latest_release_version = {{Unbulleted list|3.4.3 / {{Start date|2015|02|25|df=yes}}|2.7.10 / {{Start date and age|2015|05|23|df=yes}}}}
| latest_preview_version = 3.5.0b3 / {{Start date and age|2015|07|05|df=yes}}
| typing = [[
| memory management = [[Garbage collection (computer science)|garbage collected]]
| implementations = [[CPython]], [[IronPython]], [[Jython]], [[PyPy]]
Line 23 ⟶ 78:
| file_ext = .py, .pyc, .pyd, .pyo, .pyw
| wikibooks = Python Programming
}}
Line 74 ⟶ 85:
| 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]]
| released = {{Start date and age|
| designer = [[Guido van Rossum]]
| developer = [[Python Software Foundation]]
Line 91 ⟶ 102:
}}
</syntaxhighlight>
{{
===Parameters===
Line 116 ⟶ 127:
"type": "string",
"required": false,
"description": "Filename for the image; e.g., '
},
"logo size": {
Line 270 ⟶ 281:
"description": "Specifies the typing discipline implemented, used, or mandated"
},
},
"scope": {
"label": "Scope",
Line 402 ⟶ 413:
"latest preview date",
"typing",
"scope",
"implementations",
|