Jump to content

Template:Infobox programming language/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
ce
ce
Line 2: Line 2:
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{Generic template demo |_display=italics
{{Generic template demo |_display=italics
|title=''name'' |logo={{{logo}}} |logo caption |screenshot={{{screenshot}}} |screenshot caption
|name=''name'' |logo={{{logo}}} |logo caption |screenshot={{{screenshot}}} |screenshot caption
|paradigm=''paradigm'' &nbsp;{{smaller|or}}&nbsp;&nbsp;''paradigms''
|paradigm=''paradigm'' &nbsp;{{smaller|or}}&nbsp;&nbsp;''paradigms''
|family |designer=''designer'' &nbsp;{{smaller|or}}&nbsp;&nbsp;''designers''
|family |designer=''designer'' &nbsp;{{smaller|or}}&nbsp;&nbsp;''designers''
Line 16: Line 16:
{{Infobox programming language
{{Infobox programming language
| name = <!-- otherwise defaults to {{PAGENAME}} -->
| name = <!-- otherwise defaults to {{PAGENAME}} -->
| title =
| logo = <!-- (filename) -->
| logo = <!-- (filename) -->
| logo caption =
| logo caption =

Revision as of 12:44, 16 July 2015

name
[[File:{{{logo}}}|121px]]
logo caption
[[File:{{{screenshot}}}|300px]]
screenshot caption
Paradigmparadigm  or  paradigms
Familyfamily
Designed bydesigner  or  designers
Developerdeveloper  or  developers
First appearedreleased
Stable release
latest release version / latest release date
Preview release
latest preview version / latest preview date
Typing disciplinetyping
Scopescope
Implementation languageprogramming language
Platformplatform
OSoperating system
Licenselicense
Filename extensionsfile ext
File formatsfile format  or  file formats
Websitewebsite
Major implementations
implementations
Dialects
dialects
Influenced by
influenced by
Influenced
influenced
  • [[wikibooks:{{{wikibooks}}}|{{{wikibooks}}}]] at Wikibooks

Syntax

{{Infobox programming language
| name =               <!-- otherwise defaults to {{PAGENAME}} -->
| logo =               <!-- (filename) -->
| logo caption = 
| screenshot =         <!-- (filename) -->
| screenshot caption = 
| paradigm =           <!-- or: | paradigms = -->
| family =  
| designer =           <!-- or: | designers = -->
| developer =          <!-- or: | developers = -->
| released =                <!-- {{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 = 
| 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 = 
}}

Parameters

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox programming language in articles based on its TemplateData.

TemplateData for Infobox programming language

An infobox for programming languages, scripting languages or computer programs directly related to software development that implement the aforementioned.

Template parameters

ParameterDescriptionTypeStatus
Titletitle

Title of the software. If not specified the 'name' parameter or the PAGENAME are used. It should be plain text, do not include a wikilink, hyperlink or image in this parameter.

Default
PAGENAME
Stringoptional
Namename

Name used if title not specified. This is also used internally in combination with Template:Latest stable software release/'name'. It should be plain text, do not include a wikilink, hyperlink or image in this parameter.

Stringoptional
Logologo

Filename for the image e.g. 'File:Monodevelop Logo.svg'

Stringoptional
Logo sizelogo size logo_size

Size of the logo

Default
64px
Stringoptional
Logo alternative textlogo alt logo_alt

Alternative text for the logo (used by the blind and when web browsers cannot or do not load the image)

Stringoptional
Logo captionlogo caption

Caption for the logo. Must only be used to provide anything far more important than 'This is the logo of X'. e.g. used for inserting {{ffdc}} or {{deletable image-caption}}.

Stringoptional
Collapsible?collapsible

Whether this screenshot is hidden by default, set to 'yes' to place the screenshot in a collapsible section

Stringoptional
Screenshotscreenshot

File name for a screenshot of the subject of the infobox, e.g. 'File:Monodevelop-main-window.png'

Default
300px
Stringoptional
Screenshot sizescreenshot size screenshot_size

Size of screenshot

Stringoptional
Screenshot alternative textscreenshot alt screenshot_alt

Alternative text for the screenshot (used by the blind and when web browsers cannot or do not load the image)

Stringoptional
Screenshot captioncaption

Caption for the screenshot

Stringoptional
Paradigmparadigm

Programming paradigms used, implemented or mandated

Stringoptional
Familyfamily

Name of the family or any other hyponymic entity, if applicable

Stringoptional
Initial release datereleased year

The date in which version 1.0 (or closely-matching release) of the software product in question reaches its release to manufacturing (RTM) stage. In case the article is about a specific major release of a software product (for instance Internet Explorer 8 or Microsoft Office 2007), this field should contain the date in which that specific major release reached RTM stage. In case the software product is still in development and has not reached its RTM stage, please ignore this field; do not use this field to specify the release date of the first preview/test release of the software product; there is already another parameter for that use. The content of this field should look like the following: {{Start date and age|year|month|day}} In case the article uses DMY as date format, use this code instead: {{Start date and age|year|month|day|df=yes}} If you are unsure which date format to use, please consult WP:MOSDATES.

Stringoptional
Designerdesigner

Name of the designer. It can be either an individual or an organization/business.

Stringoptional
Developerdeveloper

Name of the current developer. It can be either an individual or an organization/business.

Stringoptional
Is discontinued?discontinued

Whether this product is no longer being developed, thus changing the phrase 'Latest release' in the infobox to 'Final release'. For technical reasons, anything for this parameter has the same effect, be it 'yes', 'no' or anything else. To nullify the effect of this parameter, you need to omit it.

Stringoptional
Latest release versionlatest release version latest_release_version

The version number of the latest release of the software product. E.g. 'v1.5', '2008 (v12.2)'. Applicable only if the subject is a computer program, e.g. an IDE or development tool.

Stringoptional
Latest release datelatest release date latest_release_date

The release date of the latest released version. If no update is released for the software since its initial release, please omit this field; filling in the released field would be enough. The content of this field should look like the following: {{Start date and age|year|month|day}}

Stringoptional
Latest preview versionlatest preview version latest test version latest_preview_version latest_test_version

The version number of the latest preview version or development branch. Should only be specified when development of a new version of the software product in question (newer than one specified in latest release version) is in progress. Please consult descriptions for latest release version provided above for best practices of specifying this parameter.

Stringoptional
Latest preview datelatest preview date latest test date latest_preview_date latest_test_date

Specifies the release date of the latest preview version or development branch. Should only be specified when development of a new version of the software product in question (newer than one specified in latest release version) is in progress. Please consult descriptions for latest release date provided above for best practices of specifying this parameter.

Stringoptional
Typing disciplinetyping

Specifies the typing discipline implemented, used, or mandated

Stringoptional
Scopescope

Specifies the scope of the identifiers, if applicable

Stringoptional
Implementationsimplementations

Applies only if the subject is a programming language, scripting language or something that can be implemented. Specifies the IDEs or development tools that implement the subject of the infobox.

Stringoptional
Dialectsdialects

Applies only if the subject is a programming language or scripting language. Specifies the dialects of subject of the infobox, if any.

Stringoptional
Influenced byinfluenced by influenced_by

Name of notable concepts, methodologies, approaches, or practices that influenced the creation of the subject of the infobox.

Stringoptional
Influencedinfluenced

Name of notable concepts, methodologies, approaches or practicies that were created under the influence of the subject of the infobox.

Stringoptional
Programming languageprogramming language programming_language

Applies only when the subject of the infobox is a computer program. Specifies the programming language with which the subject of the infobox is created. If the program language of the software product has a corresponding article in Wikipedia, please link to it. E.g. '[[C++]] and [[C Sharp (programming language)|C#]]'.

Stringoptional
Platformplatform

The computing platform for which the subject of the infbox is designed. Can be specific processors like '[[IA-32]]' (i386), '[[x86-64]]', 'Itanium', 'ARM' or 'MIPS'.

Stringoptional
Operating systemoperating system operating_system

The operating system on which the given software product works. Please be as accurate as possible in specifying this parameter (but also be mindful of the length) and avoid specifying vague phrases such as Cross-platform (or its redirect, Multi-platform). E.g. '[[Microsoft Windows]]' or '[[Windows]]', '[[Windows XP]] and later'. If the software is an operating system–independent web application, ignore this parameter.

Stringoptional
Licenselicense

Type of the software license under which the consumer is allowed to use the product. E.g. '[[Proprietary software|Proprietary]] [[commercial software]]', '[[Freeware]]', '[[Free software]]', '[[GNU General Public License]]', '[[BSDLicense]]'.

Stringoptional
File extensionFile extensions file ext file_ext

Name of the notable filename extensions associated with the subject of the infobox.

Stringoptional
File formatFile format file_format fileformat

Name of the notable file formats associated with the subject of the infobox, except plain text.

Stringoptional
Websitewebsite

The web site URL of the software package. Use '{{URL|http://www.example.com}}'.

Stringoptional
Body style (CSS)bodystyle

CSS styling for the infobox as a whole

Stringoptional

Example

Python
ParadigmMulti-paradigm: object-oriented, imperative, functional, procedural, reflective
Designed byGuido van Rossum
DeveloperPython Software Foundation
First appeared1991; 33 years ago (1991)
Stable release
3.4.3 /
25 February 2015 (2015-02-25)[1]
2.7.9 /
10 December 2014 (2014-12-10)[2]
Preview release
3.5.0a4 /
20 April 2015 (2015-04-20)[3]
2.7.9 rc1 /
26 November 2014 (2014-11-26)[4]
Typing disciplineduck, dynamic, strong
OSCross-platform
LicensePython Software Foundation License
Filename extensions.py, .pyw, .pyc, .pyo, .pyd
Websitewww.python.org
Major implementations
CPython, PyPy, IronPython, Jython
Dialects
Cython, RPython, Stackless Python
Influenced by
ABC, ALGOL 68, C, C++, Dylan, Haskell, Icon, Java, Lisp, Modula-3, Perl
Influenced
Boo, Cobra, D, F#, Falcon, Go, Groovy, JavaScript[citation needed], Julia,[5] Ruby,Swift[6]
{{Infobox programming language
|name                   = Python
|logo                   = Python logo and wordmark.svg
|logo_size              = 250px
|paradigm               = [[multi-paradigm programming language|Multi-paradigm]]: [[object-oriented programming|object-oriented]], [[imperative programming|imperative]], [[functional programming|functional]], [[procedural programming|procedural]], [[reflective programming|reflective]]
|year                   = {{start date and age|df=yes|1991}}
|designer               = [[Guido van Rossum]]
|developer              = [[Python Software Foundation]]
|latest_release_version = 3.4.3 /<br>{{release date|df=yes|2015|02|25}}<ref>{{cite web |url=https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-3 |title=Python 3.4.3 |publisher=Python Software Foundation |accessdate=27 February 2015}}</ref><br>2.7.9 /<br>{{release date|df=yes|2014|12|10}}<ref>{{cite web |url=https://www.python.org/downloads/release/python-279/ |title=Python 2.7.9 Release |publisher=Python Software Foundation |accessdate=10 December 2014}}</ref>
|latest_preview_version = 3.5.0a4 /<br>{{release date|df=yes|2015|04|20}}<ref>{{cite web |url=https://docs.python.org/dev/whatsnew/3.5.html |title=What’s New In Python 3.5 |publisher=Python Software Foundation |accessdate=20 April 2015}}</ref><br>2.7.9 rc1 /<br>{{release date|df=yes|2014|11|26}}<ref>{{cite web |url=https://www.python.org/downloads/release/python-279rc1/ |title=Python 2.7.9 rc1 Release |publisher=Python Software Foundation |accessdate=26 November 2014}}</ref>
|typing                 = [[duck typing|duck]], [[dynamic typing|dynamic]], [[strong typing|strong]]
|implementations        = [[CPython]], [[PyPy]], [[IronPython]], [[Jython]]
|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#]], [[Falcon (programming language)|Falcon]], [[Go (programming language)|Go]], [[Groovy (programming language)|Groovy]], [[JavaScript]]{{citation needed|date=January 2014}}, [[Julia (programming language)|Julia]],<ref>{{cite web| title        = Why We Created Julia| date= February 2012| website= Julia website| url= http://julialang.org/blog/2012/02/why-we-created-julia/| accessdate= 5 June 2014}}</ref> [[Ruby (programming language)|Ruby]],[[Swift (Apple programming language)|Swift]]<ref name="lattner2014">{{cite web|url=http://nondot.org/sabre/|title=Chris Lattner's Homepage|last=Lattner|first=Chris|date=3 June 2014|accessdate=3 June 2014|publisher=Chris Lattner|quote=The Swift language is the product of tireless effort from a team of language experts, documentation gurus, compiler optimization ninjas, and an incredibly important internal dogfooding group who provided feedback to help refine and battle-test ideas. Of course, it also greatly benefited from the experiences hard-won by many other languages in the field, drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far too many others to list.}}</ref>
|operating_system       = [[Cross-platform]]
|license                = [[Python Software Foundation License]]
|website                = {{URL|https://www.python.org/}}
|file_ext               = .py, .pyw, .pyc, .pyo, .pyd
|wikibooks              = Python Programming
}}

Microformat

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Classes used

The HTML classes of this microformat include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.


  1. ^ "Python 3.4.3". Python Software Foundation. Retrieved 27 February 2015.
  2. ^ "Python 2.7.9 Release". Python Software Foundation. Retrieved 10 December 2014.
  3. ^ "What's New In Python 3.5". Python Software Foundation. Retrieved 20 April 2015.
  4. ^ "Python 2.7.9 rc1 Release". Python Software Foundation. Retrieved 26 November 2014.
  5. ^ "Why We Created Julia". Julia website. February 2012. Retrieved 5 June 2014.
  6. ^ Lattner, Chris (3 June 2014). "Chris Lattner's Homepage". Chris Lattner. Retrieved 3 June 2014. The Swift language is the product of tireless effort from a team of language experts, documentation gurus, compiler optimization ninjas, and an incredibly important internal dogfooding group who provided feedback to help refine and battle-test ideas. Of course, it also greatly benefited from the experiences hard-won by many other languages in the field, drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far too many others to list.