Templat:Kotak info permainan video/doc: Perbedaan antara revisi
→Sintaks penuh: Perbarui (QuickEdit) |
Bagian TemplateData disalin dari enwiki di en:Template:Infobox_video_game/doc#TemplateData ke halaman ini. Untuk melihat riwayat halaman tersebut beserta daftar penulisnya lihat en:Special:PageHistory/Template:Infobox video game/doc. Tag: Suntingan visualeditor-wikitext |
||
Baris 96: | Baris 96: | ||
}} |
}} |
||
== TemplateData == |
|||
{{TemplateData header}} |
|||
<templatedata> |
|||
{ |
|||
"description": "A template to generate an infobox for a video game.", |
|||
"params": { |
|||
"title": { |
|||
"label": "title", |
|||
"description": "Title of the game. 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.", |
|||
"type": "string/line", |
|||
"required": false |
|||
}, |
|||
"collapsible": { |
|||
"label": "collapsible", |
|||
"description": "Whether this screenshot is hidden by default, set to 'yes' to place the screenshot in a collapsible section", |
|||
"type": "string/line", |
|||
"required": false |
|||
}, |
|||
"state": { |
|||
"label": "state", |
|||
"description": "Determines the initial collapsed state of the infobox. Set collapsed to put the box in collapsed state initially. Set expanded to put the box in expanded state initially. Set autocollapse to have the box's initial collapsed state be determined automatically based on the number of other templates in the article that also have the \"collapsible\" attribute. (Has no effect if collapsible is not used.)", |
|||
"type": "string", |
|||
"default": "autocollapse", |
|||
"required": false |
|||
}, |
|||
"image": { |
|||
"label": "image", |
|||
"description": "File name for a screenshot of the image, e.g. 'GIMP screenshot.png'", |
|||
"type": "wiki-file-name", |
|||
"required": false |
|||
}, |
|||
"border": { |
|||
"label": "border", |
|||
"description": "Add a border around the image", |
|||
"type": "string", |
|||
"example": "yes" |
|||
}, |
|||
"caption": { |
|||
"label": "caption", |
|||
"description": "A short description of the image.", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"developer": { |
|||
"label": "developer", |
|||
"description": "The popular name(s) of the game developer(s), if confirmed by primary sources.", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"publisher": { |
|||
"label": "publisher", |
|||
"description": "The popular name(s) of the video game publisher(s), if confirmed by primary sources.", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"series": { |
|||
"label": "series", |
|||
"description": "The video game series the game is associated with. Only use this field if there is an article for the series. Wikilink and italicize the name(s) (such as Halo).", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"engine": { |
|||
"label": "engine", |
|||
"description": "The game's engine", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"platforms": { |
|||
"label": "platforms", |
|||
"description": "The unabbreviated console or operating system family the game was specifically developed or officially announced (if not canceled) for. This includes dedicated ports, but not games in emulation or services. See documentation for examples.", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"released": { |
|||
"label": "released", |
|||
"description": "Release date. If possible, use the game's exact release date. Example: November 3, 2013.", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"genre": { |
|||
"label": "genre", |
|||
"description": "The genre of the game, such as first-person shooter, adventure, etc.", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"modes": { |
|||
"label": "modes", |
|||
"type": "string", |
|||
"required": false, |
|||
"description": "Playing modes offered by the game. Currently, the only accepted values are single-player, multiplayer, or both." |
|||
}, |
|||
"arcade system": { |
|||
"label": "arcade system", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"Note": { |
|||
"label": "Note", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"director": { |
|||
"label": "director", |
|||
"type": "string", |
|||
"required": false, |
|||
"description": "The popular names of the game directors or creative directors who oversaw the creative development of the game. The names can be wikilinked." |
|||
}, |
|||
"producer": { |
|||
"label": "producer", |
|||
"type": "string", |
|||
"required": false, |
|||
"description": "The popular names of the game producers in overall charge of the production of the game. The names can be wikilinked." |
|||
}, |
|||
"designer": { |
|||
"label": "designer", |
|||
"type": "string", |
|||
"required": false, |
|||
"description": "The popular names of the game designers, i.e. people who worked on the game's system. The names can be wikilinked. This field is often unfilled in modern high-budget development due to large team sizes and collaboration. Older games and indie games are more likely to use this position." |
|||
}, |
|||
"programmer": { |
|||
"label": "programmer", |
|||
"type": "string", |
|||
"required": false, |
|||
"description": "The popular names of the game programmers. The names can be wikilinked. This field is often unfilled in modern high-budget development due to large team sizes and collaboration. Older games and indie games are more likely to use this position." |
|||
}, |
|||
"artist": { |
|||
"label": "artist", |
|||
"type": "string", |
|||
"required": false, |
|||
"description": "The popular names of the game's artists. The names can be wikilinked." |
|||
}, |
|||
"writer": { |
|||
"label": "writer", |
|||
"type": "string", |
|||
"required": false, |
|||
"description": "The popular names of the game's writers. The names can wikilinked. The writers should be listed in the order of their contribution, with those who wrote the game's scenarios/scripts listed before the game's story writers." |
|||
}, |
|||
"composer": { |
|||
"label": "composer", |
|||
"type": "string", |
|||
"required": false, |
|||
"description": "The popular names of the composers who worked on the game's music." |
|||
}, |
|||
"fetchwikidata": { |
|||
"label": "fetchwikidata" |
|||
}, |
|||
"suppressfields": { |
|||
"label": "suppressfields" |
|||
}, |
|||
"onlysourced": { |
|||
"label": "onlysourced" |
|||
}, |
|||
"qid": { |
|||
"label": "qid" |
|||
}, |
|||
"refs": { |
|||
"label": "refs" |
|||
}, |
|||
"noicon": { |
|||
"label": "noicon" |
|||
}, |
|||
"alt": { |
|||
"label": "alt" |
|||
} |
|||
}, |
|||
"format": "block" |
|||
} |
|||
</templatedata> |
|||
== Lihat pula == |
== Lihat pula == |
Revisi per 29 Januari 2023 14.40
![]() | Templat ini digunakan pada sekitar 23.000 halaman dan perubahannya kemungkinan dipantau. Uji cobalah di subhalaman /bak pasir atau /kasus uji templat, atau subhalaman pengguna Anda. Pertimbangkan untuk mendiskusikan perubahan di halaman pembicaraan sebelum mengimplementasikannya. |
![]() | Templat ini menggunakan fitur sintaks templat yang rumit.
Anda seharusnya sudah memahami penyetelan dan fungsi parser sebelum menyunting templat ini. Jika suntingan Anda menyebabkan permasalahan yang tidak diinginkan, mohon untuk membaliknya secepatnya, karena templat ini mungkin muncul pada sejumlah besar halaman. Ingat bahwa semua percobaan dan perbaikan harus diuji terlebih dahulu di Bak pasir atau di ruang pengguna Anda sebelum mengubah sesuatu di sini. |
![]() | Kotak info ini akan mencetak miring judul artikel secara otomatis. Jika tidak diperlukan, tambahkan |italic title=no ke dalam daftar parameter. Jika diperlukan tetapi tidak menginginkan judul yang dicetak miring, gunakan |italic title=force . |
![]() | Templat ini menggunakan Lua: |
{{{title}}} | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{{caption}}} | |||||||||||||||||||||
Tangkapan layar | |||||||||||||||||||||
Versi pertama | {{{released}}} | ||||||||||||||||||||
Genre | {{{genre}}} | ||||||||||||||||||||
| |||||||||||||||||||||
Bagian dari {{{series}}}
| |||||||||||||||||||||
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
Ini adalah kotak info untuk permainan video. Ia mampu menarik nilai dari Wikidata ketika bidang dihilangkan. (Lihat WP:VG/WD untuk panduan menyunting Wikidata) Untuk mencegah Wikidata menarik data untuk suatu bidang, gunakan parameter di templat tetapi biarkan isinya kosong.
Penggunaan
{{Infobox video game | collapsible = | state = | italic title = | title = | image = | alt = | caption = | developer = | publisher = | series = | engine = | platforms = | released = | genre = | modes = | arcade system = }}
Add the following credit fields for lead developers who worked on the game (please read inclusion notes below):
| director = | producer = | designer = | programmer = | artist = | writer = | composer =
All fields are optional. See talk page for examples and standards.
Sintaks penuh
{{Infobox video game | collapsible = | state = | italic title = | title = | image = | alt = | caption = | developer = | publisher = | series = | engine = | platforms = | released = | genre = | modes = | arcade system = | director = | producer = | designer = | programmer = | artist = | writer = | composer = }}
Pedoman sintaks
Nintendogs | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
An example image | |||||||||||||
Versi pertama | |||||||||||||
Genre | Pet-raising simulation | ||||||||||||
| |||||||||||||
TemplateData
TemplateData untuk Kotak info permainan video
A template to generate an infobox for a video game.
Parameter | Keterangan | Jenis | Status | |
---|---|---|---|---|
title | title | Title of the game. 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. | Baris | opsional |
collapsible | collapsible | Whether this screenshot is hidden by default, set to 'yes' to place the screenshot in a collapsible section | Baris | opsional |
state | state | Determines the initial collapsed state of the infobox. Set collapsed to put the box in collapsed state initially. Set expanded to put the box in expanded state initially. Set autocollapse to have the box's initial collapsed state be determined automatically based on the number of other templates in the article that also have the "collapsible" attribute. (Has no effect if collapsible is not used.)
| Kata | opsional |
image | image | File name for a screenshot of the image, e.g. 'GIMP screenshot.png' | Berkas | opsional |
border | border | Add a border around the image
| Kata | opsional |
caption | caption | A short description of the image. | Kata | opsional |
developer | developer | The popular name(s) of the game developer(s), if confirmed by primary sources. | Kata | opsional |
publisher | publisher | The popular name(s) of the video game publisher(s), if confirmed by primary sources. | Kata | opsional |
series | series | The video game series the game is associated with. Only use this field if there is an article for the series. Wikilink and italicize the name(s) (such as Halo). | Kata | opsional |
engine | engine | The game's engine | Kata | opsional |
platforms | platforms | The unabbreviated console or operating system family the game was specifically developed or officially announced (if not canceled) for. This includes dedicated ports, but not games in emulation or services. See documentation for examples. | Kata | opsional |
released | released | Release date. If possible, use the game's exact release date. Example: November 3, 2013. | Kata | opsional |
genre | genre | The genre of the game, such as first-person shooter, adventure, etc. | Kata | opsional |
modes | modes | Playing modes offered by the game. Currently, the only accepted values are single-player, multiplayer, or both. | Kata | opsional |
arcade system | arcade system | tidak ada keterangan | Kata | opsional |
Note | Note | tidak ada keterangan | Kata | opsional |
director | director | The popular names of the game directors or creative directors who oversaw the creative development of the game. The names can be wikilinked. | Kata | opsional |
producer | producer | The popular names of the game producers in overall charge of the production of the game. The names can be wikilinked. | Kata | opsional |
designer | designer | The popular names of the game designers, i.e. people who worked on the game's system. The names can be wikilinked. This field is often unfilled in modern high-budget development due to large team sizes and collaboration. Older games and indie games are more likely to use this position. | Kata | opsional |
programmer | programmer | The popular names of the game programmers. The names can be wikilinked. This field is often unfilled in modern high-budget development due to large team sizes and collaboration. Older games and indie games are more likely to use this position. | Kata | opsional |
artist | artist | The popular names of the game's artists. The names can be wikilinked. | Kata | opsional |
writer | writer | The popular names of the game's writers. The names can wikilinked. The writers should be listed in the order of their contribution, with those who wrote the game's scenarios/scripts listed before the game's story writers. | Kata | opsional |
composer | composer | The popular names of the composers who worked on the game's music. | Kata | opsional |
fetchwikidata | fetchwikidata | tidak ada keterangan | Tak dikenal | opsional |
suppressfields | suppressfields | tidak ada keterangan | Tak dikenal | opsional |
onlysourced | onlysourced | tidak ada keterangan | Tak dikenal | opsional |
qid | qid | tidak ada keterangan | Tak dikenal | opsional |
refs | refs | tidak ada keterangan | Tak dikenal | opsional |
noicon | noicon | tidak ada keterangan | Tak dikenal | opsional |
alt | alt | tidak ada keterangan | Tak dikenal | opsional |
Lihat pula
- {{Infobox video game series}} untuk waralaba dan seri video game.
- {{Infobox software}} untuk perangkat lunak umum.
Catatan