Templat:Kotak info bahasa pemrograman/doc
![]() | Templat ini menggunakan Lua: |

laman resmi (P856) (see uses)
Sintaks
sunting[[File:{{{logo}}}|121px]] logo caption | |
[[File:{{{screenshot}}}|300px]] screenshot caption | |
Paradigma | paradigm or paradigms |
---|---|
Keluarga | family |
Dirancang oleh | designer or designers |
Pengembang | developer or developers |
Pertama kali muncul | released |
Rilis stabil | latest release version
/ latest release date |
Rilis pratayang | latest preview version
/ latest preview date |
Tata tertib penjenisan | typing |
Pengelolaan memori | memory management |
Ruang lingkup | scope |
Bahasa pelaksanaan | programming language |
Anjungan | platform |
SO | operating system |
Lisensi | license |
Perpanjangan nama berkas | file ext |
Format berkas | file format or file formats |
Situs web | website |
Pelaksanaan utama | |
implementations | |
Dialek | |
dialects | |
Dipengaruhi oleh | |
influenced by | |
Memengaruhi | |
influenced | |
|
{{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![]() | |
Sample Code | |
---|---|
print("Hello, World!")
| |
Hello | |
Paradigma | Banyak paradigma: berorientasi objek, imperatif, fungsional, prosedural, berpantul |
Dirancang oleh | Guido van Rossum |
Pengembang | Yayasan Perangkat Lunak Python |
Pertama kali muncul | 1991 |
Rilis stabil |
|
Rilis pratayang | 3.5.0b3 / 5 Juli 2015
|
Tata tertib penjenisan | Itik, dinamis, kuat, bertahap (pada Python 3.5) |
Pengelolaan memori | kumpul sampah |
Lisensi | Lisensi Yayasan Perangkat Lunak Python |
Perpanjangan nama berkas | .py, .pyc, .pyd, .pyo, .pyw |
Situs web | www |
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
suntingTemplateData 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 | Keterangan | Jenis | Status | |
---|---|---|---|---|
Nama | name | 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. | Kata | opsional |
Judul | title | 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.
| Kata | opsional |
Logo | logo | Nama berkas untuk gambar; misal, 'File:Monodevelop Logo.svg' | Kata | opsional |
Ukuran logo | logo size logo_size | Ukuran logo yang digunakan
| Kata | opsional |
Teks alternatif logo | logo alt logo_alt | Teks alternatif untuk logo (digunakan oleh tuna netra dan ketika peramban web tidak dapat atau tidak memuat gambar) | Kata | opsional |
Keterangan logo | logo 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}}. | Kata | opsional |
Dapat diciutkan? | collapsible | Apakah tangkapan layar ini disembunyikan secara bawaan, atur ke 'yes' untuk menempatkan tangkapan layar di bagian yang dapat diciutkan | Kata | opsional |
Tangkapan layar | screenshot | Nama berkas untuk tangkapan layar subjek kotak info; misalnya, 'File:Monodevelop-main-window.png'
| Kata | opsional |
Ukuran tangkapan layar | screenshot size screenshot_size | Ukuran tangkapan layar yahg digunakan | Kata | opsional |
Teks alternatif tangkapan layar | screenshot alt screenshot_alt | Teks alternatif untuk tangkapan layar (digunakan oleh tuna netra dan ketika peramban web tidak dapat atau tidak memuat gambar). | Kata | opsional |
Keterangan tangkapan layar | screenshot caption | Keterangan tangkapan layar yang digunakan | Kata | opsional |
Paradigma | paradigm | Paradigma pemrograman yang digunakan, diterapkan atau diamanatkan | Kata | opsional |
Family | family | Nama keluarga atau kesatuan hiponimik lainnya, jika ada | Kata | opsional |
tanggal rilis awal | released 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. | Kata | opsional |
Perancang | designer | Nama perancang. Bisa perorangan atau organisasi/bisnis. | Kata | opsional |
Pengembang | developer | Nama pengembang saat ini. Bisa perorangan atau organisasi/bisnis. | Kata | opsional |
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. | Kata | opsional |
Tata letak info versi | ver 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.
| Kata | opsional |
Versi rilis terbaru | latest 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. | Kata | opsional |
Tanggal rilis terbaru | latest 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}} | Kata | opsional |
Versi pratayang terbaru | latest 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. | Kata | opsional |
Latest preview date | latest 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. | Kata | opsional |
Typing discipline | typing | Specifies the typing discipline implemented, used, or mandated | Kata | opsional |
Memory management | memory management | Specifies the memory management model | Kata | opsional |
Scope | scope | Specifies the scope of the identifiers, if applicable | Kata | opsional |
Implementations | implementations | 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. | Kata | opsional |
Dialects | dialects | Applies only if the subject is a programming language or scripting language. Specifies the dialects of subject of the infobox, if any. | Kata | opsional |
Influenced by | influenced by influenced_by | Name of notable concepts, methodologies, approaches, or practices that influenced the creation of the subject of the infobox. | Kata | opsional |
Influenced | influenced | Name of notable concepts, methodologies, approaches or practicies that were created under the influence of the subject of the infobox. | Kata | opsional |
Programming language | programming 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#]]'. | Kata | opsional |
Platform | platform | 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'. | Kata | opsional |
Operating system | operating 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'. | Kata | opsional |
License | license | 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]]'. | Kata | opsional |
File extension | File extensions file ext file_ext | Name of the notable filename extensions associated with the subject of the infobox. | Kata | opsional |
File format | File format file_format fileformat | Name of the notable file formats associated with the subject of the infobox, except plain text. | Kata | opsional |
Website | website | 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.) | Kata | opsional |
Body style (CSS) | bodystyle | CSS styling for the infobox as a whole | Kata | opsional |
Wikibook(s) | wikibooks | Name of one or more Wikibook about this subject. If you are listing several wikibooks, separate them with {{!}} | Teks wiki tak seimbang | usang |
Mikroformat
suntingThe 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