Templat:Kotak info buku: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan
Glorious Engine (bicara | kontrib)
Tidak ada ringkasan suntingan
 
(25 revisi perantara oleh 13 pengguna tidak ditampilkan)
Baris 1:
{{Infobox
{| class="infobox" style="width:{{{infoboxwidth|{{{width|20em}}}}}}; font-size:90%; text-align:left;"
| italic title = {{{italic title|<noinclude>no</noinclude>}}}
|+ colspan="2" style="text-align:center; font-size:140%;" | '''''{{{name}}}'''''
| bodyclass = vcard
|-
| bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }}
{{#if:{{{image|}}}|
{{!}} colspan="2" style="text-align:center; width={{#if:{{{imagewidth|}}}|{{{imagewidth}}}|auto}}; " {{!}} {{{image}}} {{#if:{{{image_caption|}}}|<br/>{{{image_caption}}}}}
{{!}}-
}}
! Penulis
| {{{author}}}
|-
{{#if:{{{title_orig|}}}|
! Judul asli
{{!}} {{{title_orig}}}
{{!}}-
}}
{{#if:{{{translator|}}}|
! Penerjemah
{{!}} {{{translator|}}}
{{!}}-
}}
{{#if:{{{illustrator|}}}|
! Illustrator
{{!}} {{{illustrator|}}}
{{!}}-
}}
{{#if:{{{cover_artist|}}}|
! Seniman sampul
{{!}} {{{cover_artist|}}}
{{!}}-
}}
{{#if:{{{country|}}}|
! [[Negara]]
{{!}} {{{country|}}}
{{!}}-
}}
{{#if:{{{language|}}}|
! [[Bahasa]]
{{!}} {{{language|}}}
{{!}}-
}}
{{#if:{{{series|}}}|
! Serial
{{!}} {{{series}}}
{{!}}-
}}
{{#if:{{{subject|}}}|
! {{nowrap|Subyek}}
{{!}} {{{subject|}}}
{{!}}-
}}
{{#if:{{{genre|}}}|
! {{nowrap|Genre}}
{{!}} {{{genre|}}}
{{!}}-
}}
! [[Penerbit]]
| {{{publisher}}}
|-
! Tanggal terbit
| {{{pub_date|{{{release_date|}}}}}}
|-
{{#if:{{{english_release_date|}}}{{{english_pub_date|}}}|
! Terbitan dalam Bahasa Inggris
{{!}} {{{english_pub_date|{{{english_release_date}}}}}}
{{!}}-
}}
{{#if:{{{media_type|}}}|
! Media
{{!}} {{{media_type|}}}
{{!}}-
}}
{{#if:{{{pages|}}}|
! Halaman
{{!}} {{{pages|}}}
{{!}}-
}}
{{#if:{{{size_weight|}}}|
! Ukuran berat
{{!}} {{{size_weight|}}}
{{!}}-
}}
{{#if:{{{isbn|}}}|
! [[ISBN]]
{{!}} {{{isbn|}}}
{{!}}-
}}
{{#if:{{{oclc|}}}|
! [[OCLC]]
{{!}} [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]
{{!}}-
}}
{{#if:{{{preceded_by|}}}|
! Seri sebelumnya
{{!}} ''{{{preceded_by|}}}''
{{!}}-
}}
{{#if:{{{followed_by|}}}|
! Seri lanjutan
{{!}} ''{{{followed_by|}}}''
{{!}}-
}}
|}<noinclude>
 
<!---------------Title----------------->
==Penggunaan==
| titlestyle = font-size:125%; font-style:italic; padding-bottom:0.2em<!--(so title doesn't touch border)-->;
{| style="border: none; background: none;"
| title = <includeonly>{{#if:{{{name|}}}{{{caption|{{{image_caption|}}}}}}{{{editors|{{{editor|}}}}}}{{{authors|{{{author|}}}}}}{{{audio_read_by|}}}{{{title_orig|}}}{{{title_working|}}}{{{translators|{{{translator|}}}}}}{{{illustrators|{{{illustrator|}}}}}}{{{cover_artist|}}}{{{country|}}}{{{language|}}}{{{series|}}}{{{release_number|}}}{{{subjects|{{{subject|}}}}}}{{{genres|{{{genre|}}}}}}{{{set_in|}}}{{{published|}}}{{{publisher|}}}{{{publisher2|}}}{{{pub_date|{{{release_date|}}}}}}{{{english_pub_date|{{{english_release_date|}}}}}}{{{media_type|}}}{{{pages|}}}{{{awards|{{{award|}}}}}}{{{isbn_note|{{{ISBN_note|}}}}}}{{{dewey|}}}{{{congress|}}}| }}<!-- hack for ref ordering
| <pre>
-->{{{name|{{PAGENAMEBASE}}}}} <!--
{{Kotakinfo Buku
--><span class="Z3988"
| name =
title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:book}}&rft.genre=book&rft.btitle={{urlencode:{{{name|}}}}}<!--
| title_orig =
-->{{#if:{{{author|}}} |&rft.author={{urlencode:{{{author}}}}}}}<!--
| translator =
-->{{#if:{{{last|}}} |&rft.aulast={{urlencode:{{{last}}}}}}}<!--
| image =
-->{{#if:{{{first|}}} |&rft.aufirst={{urlencode:{{{first}}}}}}}<!--
| image_caption =
-->{{#if:{{{pub_date|{{{release_date|}}}}}} |&rft.date={{urlencode:{{{pub_date|{{{release_date}}}}}}}}}}<!--
| author =
-->{{#if:{{{publisher|}}} |&rft.pub={{urlencode:{{{publisher}}}}}}}<!--
| illustrator =
-->{{#if:{{{location|}}} |&rft.place={{urlencode:{{{location}}}}}}}<!--
| cover_artist =
-->{{#if:{{{pages|}}} |&rft.pages={{urlencode:{{{pages}}}}}}}<!--
| country =
-->{{#if:{{{series|}}} |&rft.series={{urlencode:{{{series}}}}}}}<!--
| language =
-->{{#if:{{{oclc|}}} |&rft_id=info:oclcnum/{{{oclc}}}}}"><!--
| series =
--></span><!--
| subject =
| genre = --></includeonly>
| publisher =
| release_date =
| english_release_date =
| timeline =
| dedicated_to =
| media_type =
| pages =
| size_weight =
| size =
| weight =
| isbn =
| preceded_by =
| followed_by =
}}
</pre>
|}
 
<!---------------Image----------------->
[[Kategori:Templat kotak info]]
| imagestyle = {{#if:{{{image|}}}||display:none}}
| image = {{#if:{{{image|}}} <!--
then:-->| {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |upright=1 |alt={{{alt|}}} |border={{{border|}}} |suppressplaceholder=yes}}<!--
else:-->| {{#ifeq:{{yesno|{{lc:{{{exclude_cover|no}}}}}}}|yes | |{{main other|[[Kategori:Buku tanpa gambar sampul]]}} }}
}}
| caption = {{{caption|{{{image_caption|}}}}}}
 
<!---------------Data------------------>
[[bs:Šablon:Infokutija knjiga]]
| label1 = Penyunting{{#if:{{{editors|}}}}}
[[en:Template:Infobox Book]]
| data1 = {{{editors|{{{editor|}}}}}}
[[fr:Modèle:Fiche livre]]
 
[[hr:Predložak:Infobox knjiga]]
| label2 = Pengarang{{#if:{{{authors|}}}}}
[[jv:Cithakan:Kothakinfo buku]]
| data2 = {{{authors|{{{author|}}}}}}
[[nl:Sjabloon:Boek]]
 
[[pt:Info livro]]
| label3 = Audio&nbsp;dibaca&nbsp;oleh
[[zh:Template:Infobox Book]]
| data3 = {{{audio_read_by|}}}
 
| label4 = Judul&nbsp;asli
| data4 = {{#if:{{{title_orig|}}} |{{#if:{{{orig_lang_code|}}}|{{lang|{{{orig_lang_code|}}} |{{{title_orig}}} |italics={{#invoke:infobox/utilities|set_italics|{{{orig_lang_code|}}}|{{{title_orig}}}}}}}|''{{{title_orig}}}''}} }}
 
| label5 = Judul&nbsp;produksi
| data5 = {{#if:{{{title_working|}}} |''{{{title_working}}}''}}
 
| label6 = Penerjemah{{#if:{{{translators|}}}}}
| data6 = {{{translators|{{{translator|}}}}}}
 
| label7 = Ilustrator{{#if:{{{illustrators|}}}}}
| data7 = {{{illustrators|{{{illustrator|}}}}}}
 
| label8 = Perancang&nbsp;sampul
| data8 = {{{cover_artist|}}}
 
| label10 = Negara
| data10 = {{{country|}}}
 
| label11 = Bahasa
| data11 = {{{language|}}}
 
| label12 = Seri
| data12 = {{{series|}}}
 
| label13 = {{longitem|Nomor rilis}}
| data13 = {{{release_number|}}}
 
| label14 = Subjek{{#if:{{{subjects|}}}}}
| data14 = {{{subjects|{{{subject|}}}}}}
 
| label15 = Genre{{#if:{{{genres|}}}}}
| data15 = {{#invoke:WikidataIB|getValue|P136|{{{genres|{{{genre|}}}}}}}}
 
| label16 = Latar&nbsp;tempat/waktu
| data16 = {{{set_in|}}}
 
| label17 = Diterbitkan
| data17 = {{{published|}}}
 
| label18 = Penerbit
| data18 = {{{publisher|}}}{{#if:{{{publisher2|}}} |, {{{publisher2}}} }}
 
| label19 = {{longitem|Tanggal&nbsp;terbit}}
| data19 = {{#invoke:WikidataIB|getValue|P577|{{{pub_date|{{{release_date|}}}}}}}}
 
| label20 = {{longitem|Tgl.&nbsp;terbit&nbsp;(bhs.&nbsp;Inggris)}}
| data20 = {{{english_pub_date|{{{english_release_date|}}}}}}
 
| label21 = {{longitem|Tgl.&nbsp;terbit&nbsp;(bhs.&nbsp;Indonesia)}}
| data21 = {{{indonesia_pub_date|{{{indonesia_release_date|{{{indonesian_release_date|}}}}}}}}}
 
| label22 = Jenis&nbsp;media
| data22 = {{{media_type|}}}
 
| label23 = Halaman
| data23 = {{#invoke:WikidataIB|getValue|P1104|{{{pages|}}}}}
 
| label24 = Penghargaan{{#if:{{{awards|}}}}}
| data24 = {{{awards|{{{award|}}}}}}
 
| label30 = [[ISBN (pengidentifikasi)|ISBN]]
| data30 = {{#if:{{{isbn|{{{ISBN|}}}}}}
| {{#ifeq:{{{isbn|{{{ISBN|}}}}}}|FETCH_WIKIDATA
| {{#if:{{#property:P212}}|{{#invoke:ISBNT|link|{{#property:P212}}}}[[Kategori:Halaman yang menggunakan ISBN dari wikidata]]}}
| {{ISBNT|1={{{isbn|{{{ISBN}}}}}}}} {{{isbn_note|{{{ISBN_note|}}}}}}
}}
}}
 
| label31 = [[OCLC (pengidentifikasi)|{{abbr|OCLC|Online Computer Library Center number}}]]
| data31 = {{#if:{{{oclc|}}} |[https://www.worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]}}
 
| label32 = {{longitem|[[Klasifikasi Desimal Dewey|Desimal&nbsp;Dewey]]}}
| data32 = {{#invoke:WikidataIB|getValue|P1036|{{{dewey|}}}}}
 
| label33 = [[LCC (pengidentifikasi)|{{abbr|LCC|Klasifikasi Perpustakaan Kongres}}]]
| data33 = {{#invoke:WikidataIB|getValue|P1149|{{{congress|}}}}}
 
| label34 = Didahului&nbsp;oleh
| data34 = {{#if:{{{preceded_by|}}} |''{{{preceded_by|}}}&nbsp;''
| {{#if:{{{preceded_by_quotation_marks|}}} |"{{{preceded_by_quotation_marks|}}}"}}
}}
 
| label35 = Diikuti&nbsp;oleh
| data35 = {{#if:{{{followed_by|}}} |''{{{followed_by|}}}&nbsp;''
| {{#if:{{{followed_by_quotation_marks|}}} |"{{{followed_by_quotation_marks|}}}"}}
}}
 
| label36 = {{longitem|Teks asli}}
| data36 = {{#if:{{both|{{{native_wikisource|}}}|{{{orig_lang_code|}}}}} <!--
then:-->| ''{{lang |{{{orig_lang_code|}}}
| [[s:{{#if:{{{orig_lang_code|}}}|{{{orig_lang_code|}}}:}}{{{native_wikisource|}}}|{{{title_orig|{{{name|{{PAGENAME}}}}}}}}]]<!--
-->}}'' at <!--
-->{{#if:{{#invoke:lang|is_ietf_tag|{{{orig_lang_code}}}}}|{{#invoke:lang|name_from_tag|{{{orig_lang_code}}}}}}} [[Wikisource]]<!--
-->{{main other|[[Kategori:Artikel yang tertaut ke Wikisource berbahasa asing]]}} <!--(create hidden category to be monitored by WikiProject:Wikisource)
else:-->| {{#if:{{both|{{{native_external_url|}}}|{{{orig_lang_code|}}}}}
| ''{{lang |{{{orig_lang_code|}}}
| [{{{native_external_url|}}} {{{title_orig|{{{name|{{PAGENAME}}}}}}}}]<!--
-->}}'' <!--
-->{{#if:{{{native_external_host|}}} |di {{{native_external_host|}}} |daring}}
}} }}
 
| label37 = {{#if:{{{native_wikisource|}}} |Terjemahan |{{#if:{{{native_external_url|}}}|Terjemahan|Teks}} }}
| data37 = {{#if:{{{wikisource|}}} <!--
then:-->| ''[[s:{{{wikisource|}}}|{{{name|{{PAGENAME}}}}}]]'' di <!--
-->{{#if:{{{native_wikisource|}}} |Wikisource |[[Wikisource]]}}<!--
-->{{main other|[[Kategori:Artikel yang tertaut ke Wikisource]]}} <!--(create hidden category to be monitored by WikiProject:Wikisource)
else:-->| {{#if:{{{external_url|}}}
| ''[{{{external_url|}}} {{{name|{{PAGENAME}}}}}]'' <!--
-->{{#if:{{{external_host|}}} |di {{{external_host|}}} |daring}}
}} }}
 
| label38 = Situs web
| data38 = {{{website|{{{homepage|{{{URL|{{#ifeq:{{{website|{{{homepage|{{{URL|}}}}}}}}}
| FETCH_WIKIDATA
| {{#if:{{#property:P856}}|{{Url|1={{#invoke:WikidataIB|getValue|P856|FETCH_WIKIDATA}} }} }}
|}}}}}}}}}}}
 
| belowstyle = border-top:#aaa 1px solid;font-size:90%;
| below = {{{notes|{{{note|}}}}}}
 
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Kategori:Halaman yang menggunakan infobox book dengan parameter yang tidak diketahui|_VALUE_{{PAGENAME}}]]}}|preview=Halaman menggunakan [[Templat:Infobox book]] dengan parameter "_VALUE_" yang tidak diketahui|ignoreblank=y| alt | audio_read_by | author | authors | award | awards | border | caption | congress | country | cover_artist | dewey | editor | editors | english_pub_date | english_release_date | exclude_cover | external_host | external_url | first | followed_by | followed_by_quotation_marks | genre | genres | homepage | illustrator | illustrators | image | image_caption | image_size | infoboxwidth | isbn | ISBN | isbn_note | ISBN_note | italic title | language | last | location | media_type | name | native_external_host | native_external_url | native_wikisource | nocat_wdimage | note | notes | oclc | orig_lang_code | pages | preceded_by | preceded_by_quotation_marks | pub_date | published | publisher | publisher2 | release_date | release_number | series | set_in | subject | subjects | title_orig | title_working | translator | translators | URL | website | width | wikisource
}}{{Wikidata image |1={{{image|}}} |2={{{nocat_wdimage|}}}
}}<noinclude>
{{Documentation}}
</noinclude>