Templat:Kotak info bahasa pemrograman/doc

Sintaks

sunting
name
[[File:{{{logo}}}|121px]]
logo caption
[[File:{{{screenshot}}}|300px]]
screenshot caption
Paradigmaparadigm  or  paradigms
Keluargafamily
Dirancang olehdesigner  or  designers
Pengembangdeveloper  or  developers
Pertama kali munculreleased
Rilis stabil
latest release version / latest release date
Rilis pratayang
latest preview version / latest preview date
Tata tertib penjenisantyping
Pengelolaan memorimemory management
Ruang lingkupscope
Bahasa pelaksanaanprogramming language
Anjunganplatform
SOoperating system
Lisensilicense
Perpanjangan nama berkasfile ext
Format berkasfile format  or  file formats
Situs webwebsite
Pelaksanaan utama
implementations
Dialek
dialects
Dipengaruhi oleh
influenced by
Memengaruhi
influenced
  • [[wikibooks:{{{wikibooks}}}|{{{wikibooks}}}]] di Wikibuku
{{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 = 
}}

Contoh

sunting
Python
Sample Code
print("Hello, World!")
Hello
ParadigmaBanyak paradigma: berorientasi objek, imperatif, fungsional, prosedural, berpantul
Dirancang olehGuido van Rossum
PengembangYayasan Perangkat Lunak Python
Pertama kali muncul1991; 34 tahun lalu (1991)
Rilis stabil
  • 3.4.3 / 25 Februari 2015 (2015-02-25)
  • 2.7.10 / 23 Mei 2015; 9 tahun lalu (2015-05-23)
Rilis pratayang
3.5.0b3 / 5 Juli 2015; 9 tahun lalu (2015-07-05)
Tata tertib penjenisanItik, dinamis, kuat, bertahap (pada Python 3.5)
Pengelolaan memorikumpul sampah
LisensiLisensi Yayasan Perangkat Lunak Python
Perpanjangan nama berkas.py, .pyc, .pyd, .pyo, .pyw
Situs webwww.python.org
Pelaksanaan utama
CPython, IronPython, Jython, PyPy
Dialek
Cython, RPython, Stackless Python
Dipengaruhi oleh
ABC, ALGOL 68, C, C++, Dylan, Haskell, Icon, Java, Lisp, Modula-3, Perl
Memengaruhi
Boo, Cobra, D, F#, Go, Groovy, JavaScript, Julia, Nim, Ruby, Swift
{{Infobox programming language
| name                   = Python
| sampleCode = print("Hello, World!")
| sampleCode caption = Hello
| logo                   = Python logo and wordmark.svg
| paradigm               = [[Bahasa pemrograman banyak paradigma|Banyak paradigma]]: [[pemrograman berorientasi objek|berorientasi objek]], [[pemrograman imperatif|imperatif]], [[pemrograman fungsional|fungsional]], [[pemrograman prosedural|prosedural]], [[pemrograman berpantul|berpantul]]
| released               = {{Start date and age|1991|df=yes}}
| designer               = [[Guido van Rossum]]
| developer              = [[Yayasan Perangkat Lunak Python]]
| 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                 = [[Penjenisan itik|Itik]], [[penjenisan dinamis|dinamis]], [[penjenisan kuat|kuat]], [[penjenisan bertahap|bertahap]] (pada Python 3.5)
| memory management      = [[Pengumpulan sampah (ilmu komputer)|kumpul sampah]]
| implementations        = [[CPython]], [[IronPython]], [[Jython]], [[PyPy]]
| dialects               = [[Cython]], [[RPython]], [[Stackless Python]]
| influenced_by          = [[ABC (bahasa pemrograman)|ABC]], [[ALGOL 68]], [[C (bahasa pemrograman)|C]], [[C++]], [[Dylan (bahasa pemrograman)|Dylan]], [[Haskell]], [[Icon (bahasa pemrograman)|Icon]], [[Java (bahasa pemrograman)|Java]], [[Lisp (bahasa pemrograman)|Lisp]], [[Modula-3]], [[Perl]]
| influenced             = [[Boo (bahasa pemrograman)|Boo]], [[Cobra (bahasa pemrograman)|Cobra]], [[D (bahasa pemrograman)|D]], [[F Sharp (bahasa pemrograman)|F#]], [[Go (bahasa pemrograman)|Go]], [[Groovy (bahasa pemrograman)|Groovy]], [[JavaScript]], [[Julia (bahasa pemrograman)|Julia]], [[Nim (bahasa pemrograman)|Nim]], [[Ruby (bahasa pemrograman)|Ruby]], [[Swift (bahasa pemrograman)|Swift]]
| license                = [[Lisensi Yayasan Perangkat Lunak Python]]
| website                = {{URL|https://www.python.org/}}
| file_ext               = .py, .pyc, .pyd, .pyo, .pyw
| wikibooks              = Python Programming
}}

Parameter

sunting
Ini adalah TemplateData untuk templat ini yang digunakan oleh TemplateWizard, VisualEditor dan alat-alat lainnya. Lihat laporan penggunaan parameter bulanan untuk Template:Kotak info bahasa pemrograman.

TemplateData untuk Kotak info bahasa pemrograman

Kotak info untuk bahasa pemrograman, bahasa skrip, atau program komputer yang terkait langsung dengan pengembangan perangkat lunak yang menerapkan hal tersebut di atas.

Parameter templat

Templat ini lebih menyukai format parameter dalam blok.

ParameterKeteranganJenisStatus
Namaname

Nama digunakan jika judul tidak ditentukan. Ini juga digunakan secara internal dalam gabungan dengan Template:Latest stable software release/'name'. Nama harus berupa teks biasa, jangan sertakan tautan wiki, pranala, atau gambar dalam parameter ini.

Kataopsional
Judultitle

Judul perangkat lunak. Jika tidak ditentukan, parameter 'name' atau PAGENAME akan digunakan. Judul harus berupa teks biasa, jangan sertakan tautan wiki, pranala, atau gambar dalam parameter ini.

Baku
PAGENAME
Kataopsional
Logologo

Nama berkas untuk gambar; misal, 'File:Monodevelop Logo.svg'

Kataopsional
Ukuran logologo size logo_size

Ukuran logo yang digunakan

Baku
64px
Kataopsional
Teks alternatif logologo alt logo_alt

Teks alternatif untuk logo (digunakan oleh tuna netra dan ketika peramban web tidak dapat atau tidak memuat gambar)

Kataopsional
Keterangan logologo caption

Keterangan untuk logo. Hanya boleh digunakan untuk memberi informasi yang jauh lebih penting daripada 'Ini adalah logo X'; misalnya, digunakan untuk memasukkan {{ffdc}} atau {{deletable image-caption}}.

Kataopsional
Dapat diciutkan?collapsible

Apakah tangkapan layar ini disembunyikan secara bawaan, atur ke 'yes' untuk menempatkan tangkapan layar di bagian yang dapat diciutkan

Kataopsional
Tangkapan layarscreenshot

Nama berkas untuk tangkapan layar subjek kotak info; misalnya, 'File:Monodevelop-main-window.png'

Baku
300px
Kataopsional
Ukuran tangkapan layarscreenshot size screenshot_size

Ukuran tangkapan layar yahg digunakan

Kataopsional
Teks alternatif tangkapan layarscreenshot alt screenshot_alt

Teks alternatif untuk tangkapan layar (digunakan oleh tuna netra dan ketika peramban web tidak dapat atau tidak memuat gambar).

Kataopsional
Keterangan tangkapan layarscreenshot caption

Keterangan tangkapan layar yang digunakan

Kataopsional
Paradigmaparadigm

Paradigma pemrograman yang digunakan, diterapkan atau diamanatkan

Kataopsional
Familyfamily

Nama keluarga atau kesatuan hiponimik lainnya, jika ada

Kataopsional
tanggal rilis awalreleased year

Tanggal saat versi 1.0 (atau rilis yang sangat mirip) dari produk perangkat lunak yang dimaksud mencapai tahap rilis ke tahap produksi. Jika artikel tersebut membahas rilis utama tertentu dari suatu produk perangkat lunak (misalnya Internet Explorer 8 atau Microsoft Office 2007), kolom ini harus berisi tanggal saat rilis utama tertentu tersebut mencapai tahap produksi. Jika produk perangkat lunak tersebut masih dalam tahap pengembangan dan belum mencapai tahap produksi, abaikan kolom ini; jangan gunakan kolom ini untuk menentukan tanggal rilis pratinjau/rilis uji pertama dari produk perangkat lunak tersebut; sudah ada parameter lain untuk penggunaan tersebut. Konten kolom ini harus terlihat seperti berikut: {{Start date and age|year|month|day}} Jika artikel menggunakan hari-bulan-tahun (DMY) sebagai format tanggal, gunakan kode ini sebagai gantinya: {{Start date and age|year|month|day|df=yes}} Jika tidak yakin format tanggal mana yang harus digunakan, lihat WP:TANGGAL.

Kataopsional
Perancangdesigner

Nama perancang. Bisa perorangan atau organisasi/bisnis.

Kataopsional
Pengembangdeveloper

Nama pengembang saat ini. Bisa perorangan atau organisasi/bisnis.

Kataopsional
Apakah dihentikan?discontinued

Apakah produk ini tidak lagi dikembangkan, sehingga ubah frasa 'Rilis terbaru' di kotak info menjadi 'Rilis akhir'. Karena alasan teknis, apa pun untuk parameter ini memiliki efek yang sama, baik itu 'yes', 'no', atau apa pun. Untuk membatalkan efek parameter ini, hapus saja.

Kataopsional
Tata letak info versiver layout

Menentukan bagaimana informasi nomor versi muncul di kotak info. Dapat diatur ke "simple" (bawaan) atau "stacked". "Simple" menjatah baris biasa ke "latest release version" dan baris lainnya ke "latest preview version". Namun "stacked" memberikan lebar penuh baris info dan menambahkan tajuk (''header''), sehingga beberapa nomor versi dapat muncul dan menggunakan ruang kotak info secara lebih efisien.

Nilai otomatis
simple
Kataopsional
Versi rilis terbarulatest release version latest_release_version

Nomor versi rilis terbaru produk perangkat lunak; misalnya, 'v1.5', '2008 (v12.2)'. Hanya berlaku jika subjeknya adalah program komputer; misalnya, IDE atau alat pengembangan.

Kataopsional
Tanggal rilis terbarulatest release date latest_release_date

Tanggal rilis versi terbaru. Jika tidak ada pembaruan yang dirilis untuk perangkat lunak tersebut sejak rilis awal, harap abaikan kolom ini; mengisi kolom yang dirilis sudah cukup. Isi kolom ini akan terlihat seperti berikut: {{Start date and age|year|month|day}}

Kataopsional
Versi pratayang terbarulatest 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.

Kataopsional
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.

Kataopsional
Typing disciplinetyping

Specifies the typing discipline implemented, used, or mandated

Kataopsional
Memory managementmemory management

Specifies the memory management model

Kataopsional
Scopescope

Specifies the scope of the identifiers, if applicable

Kataopsional
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.

Kataopsional
Dialectsdialects

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

Kataopsional
Influenced byinfluenced by influenced_by

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

Kataopsional
Influencedinfluenced

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

Kataopsional
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. Example: '[[C++]] and [[C Sharp (programming language)|C#]]'.

Kataopsional
Platformplatform

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

Kataopsional
Operating systemoperating system operating_system

The operating system on which implementations of the language 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). If the software product is an operating system–independent web app, ignore this parameter. Examples of valid use cases: '[[Unix-like]]', '[[Windows]] and [[macOS]]', '[[Windows XP]] and later'.

Kataopsional
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]]'.

Kataopsional
File extensionFile extensions file ext file_ext

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

Kataopsional
File formatFile format file_format fileformat

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

Kataopsional
Websitewebsite

The web site URL of the software package. This URL must be readable in print. Thus, use the '{{tl|URL}}' template like this: '{{URL|http://www.example.com}}'. Avoid using printer-hostile forms like '[http://www.example.com Example website]'. In absence of this parameter, infobox attempts to acquire the website link form Wikidata. This parameter overrides the Wikidata link. (It is useful when a second infobox for something different is defined on a page.) In addition, the special value 'hide' suppresses this field, even in presence of a Wikidata link. (It is useful for articles that have several infoboxes and do not want all of them show a Wikidata link ad nauseam.)

Kataopsional
Body style (CSS)bodystyle

CSS styling for the infobox as a whole

Kataopsional
Wikibook(s)wikibooks

Name of one or more Wikibook about this subject. If you are listing several wikibooks, separate them with {{!}}

Teks wiki tak seimbangusang

Mikroformat

sunting

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 this microformat uses include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
line-height:1.3em