|
|
| (2 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| <noinclude>{{Template for merging/dated|page=Infobox book|otherpage=Infobox novella|link=Wikipedia:Templates for discussion/Log/2026 May 15#Template:Infobox book|type=sidebar|help=off|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}} | | <table class="infobox" style="float:right; clear:right; margin:0 0 1em 1em; |
| </noinclude>{{Infobox
| | background:#f9f9f9; border:1px solid #aaa; padding:4px; font-size:90%; |
| | templatestyles = Infobox book/styles.css
| | width:22em; line-height:1.5em;"> |
| | italic title = {{if empty|{{{italic title|}}}|<noinclude>no</noinclude>}}
| | {{#if:{{{cover_image|}}}| |
| | bodyclass = ib-book vcard
| | <tr><td colspan="2" style="text-align:center; padding:4px;"> |
| | | [[File:{{{cover_image}}}|220px]] |
| <!---------------Title----------------->
| | </td></tr>}} |
| | title = <includeonly>{{#if:{{{name|}}}{{{caption|}}}{{{image_caption|}}}{{{editors|}}}{{{editor|}}}{{{authors|}}}{{{author|}}}{{{audio_read_by|}}}{{{title_orig|}}}{{{title_working|}}}{{{translators|}}}{{{translator|}}}{{{illustrators|}}}{{{illustrator|}}}{{{cover_artist|}}}{{{pub_place|}}}{{{country|}}}{{{language|}}}{{{series|}}}{{{release_number|}}}{{{subjects|}}}{{{subject|}}}{{{genres|}}}{{{genre|}}}{{{set_in|}}}{{{set_on|}}}{{{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
| | {{#if:{{{name|}}}| |
| -->{{if empty|{{{name|}}}|{{PAGENAMEBASE}}}} <!--
| | <tr><th colspan="2" style="text-align:center; background:#ccc; padding:4px;"> |
| --><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|}}}}}<!--
| | </th></tr>}} |
| -->{{#if:{{{author|}}} |&rft.author={{urlencode:{{{author}}}}}}}<!--
| | {{#if:{{{author|}}}|<tr><th style="padding:2px 8px;">Author</th><td>{{{author}}}</td></tr>}} |
| -->{{#if:{{{last|}}} |&rft.aulast={{urlencode:{{{last}}}}}}}<!--
| | {{#if:{{{series|}}}|<tr><th style="padding:2px 8px;">Series</th><td>{{{series}}}</td></tr>}} |
| -->{{#if:{{{first|}}} |&rft.aufirst={{urlencode:{{{first}}}}}}}<!--
| | {{#if:{{{subject|}}}|<tr><th style="padding:2px 8px;">Subject</th><td>{{{subject}}}</td></tr>}} |
| -->{{#if:{{{pub_date|}}}{{{release_date|}}} |&rft.date={{urlencode:{{if empty|{{{pub_date|}}}|{{{release_date}}}}}}}}}<!--
| | {{#if:{{{genre|}}}|<tr><th style="padding:2px 8px;">Genre</th><td>{{{genre}}}</td></tr>}} |
| -->{{#if:{{{publisher|}}} |&rft.pub={{urlencode:{{{publisher}}}}}}}<!--
| | {{#if:{{{publisher|}}}|<tr><th style="padding:2px 8px;">Publisher</th><td>{{{publisher}}}</td></tr>}} |
| -->{{#if:{{{pub_place|}}}{{{country|}}} |&rft.place={{urlencode:{{if empty|{{{pub_place|}}}|{{{country|}}}}}}}}}<!--
| | {{#if:{{{pub_date|}}}|<tr><th style="padding:2px 8px;">Published</th><td>{{{pub_date}}}</td></tr>}} |
| -->{{#if:{{{pages|}}} |&rft.pages={{urlencode:{{{pages}}}}}}}<!--
| | {{#if:{{{pages|}}}|<tr><th style="padding:2px 8px;">Pages</th><td>{{{pages}}}</td></tr>}} |
| -->{{#if:{{{series|}}} |&rft.series={{urlencode:{{{series}}}}}}}<!--
| | {{#if:{{{isbn|}}}|<tr><th style="padding:2px 8px;">ISBN</th><td>{{{isbn}}}</td></tr>}} |
| -->{{#if:{{{oclc|}}} |&rft_id=info:oclcnum/{{{oclc}}}}}"><!--
| | {{#if:{{{website|}}}|<tr><th style="padding:2px 8px;">Website</th><td>[{{{website}}} Link]</td></tr>}} |
| --></span><!--
| | {{#if:{{{download|}}}| |
| --></includeonly>
| | <tr><td colspan="2" style="text-align:center; padding:6px; border-top:1px solid #aaa;"> |
| | | [[Media:{{{download}}}|⬇ Download PDF]] |
| <!---------------Image-----------------> | | </td></tr>}} |
| | image = {{#if:{{{image|}}} <!--
| | </table> |
| then:-->| {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |upright=1 |alt={{{alt|}}} |title={{{alt|}}} |border={{{border|}}} |suppressplaceholder=yes}}
| |
| }}
| |
| | caption = {{if empty|{{{caption|}}}|{{{image_caption|}}}}}
| |
| | |
| <!---------------Data------------------> | |
| | label1 = Editor{{#if:{{{editors|}}}|s}}
| |
| | data1 = {{if empty|{{{editors|}}}|{{{editor|}}}}}
| |
| | |
| | label2 = Author{{#if:{{{authors|}}}|s}}
| |
| | data2 = {{if empty|{{{authors|}}}|{{{author|}}}}}
| |
| | |
| | label3 = Audio read by
| |
| | data3 = {{{audio_read_by|}}}
| |
| | |
| | label4 = Original title
| |
| | 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 = Working title
| |
| | data5 = {{#if:{{{title_working|}}} |''{{{title_working}}}''}}
| |
| | |
| | label6 = Translator{{#if:{{{translators|}}}|s}}
| |
| | data6 = {{if empty|{{{translators|}}}|{{{translator|}}}}}
| |
| | |
| | label7 = Illustrator{{#if:{{{illustrators|}}}|s}}
| |
| | data7 = {{if empty|{{{illustrators|}}}|{{{illustrator|}}}}}
| |
| | |
| | label8 = Cover artist
| |
| | data8 = {{{cover_artist|}}}
| |
| | |
| | label11 = Language
| |
| | data11 = {{{language|}}}
| |
| | |
| | label12 = Series
| |
| | data12 = {{{series|}}}
| |
| | |
| | label13 = {{longitem|Release number}}
| |
| | data13 = {{{release_number|}}}
| |
| | |
| | label14 = Subject{{#if:{{{subjects|}}}|s}}
| |
| | data14 = {{if empty|{{{subjects|}}}|{{{subject|}}}}}
| |
| | |
| | label15 = Genre{{#if:{{{genres|}}}|s}}
| |
| | data15 = {{#invoke:Wikidata|getValue|P136|{{if empty|{{{genres|}}}|{{{genre|}}}}}}}
| |
| | |
| | label16 = {{#if:{{{set_on|}}}|Set on|Set in}}
| |
| | data16 = {{ifempty|{{{set_on|}}}|{{{set_in|}}}}}
| |
| | |
| | label17 = Published
| |
| | data17 = {{{published|}}}
| |
| | |
| | label18 = Publisher
| |
| | data18 = {{{publisher|}}}{{#if:{{{publisher2|}}} |, {{{publisher2}}} }}
| |
| | |
| | label19 = {{longitem|Publication date}}
| |
| | data19 = {{#invoke:Wikidata|getValue|P577|{{if empty|{{{pub_date|}}}|{{{release_date|}}}}}}}
| |
| | |
| | label20 = Publication place
| |
| | data20 = {{if empty|{{{pub_place|}}}|{{{country|}}}}}
| |
| | |
| | label23 = {{longitem|Published in English}}
| |
| | data23 = {{if empty|{{{english_pub_date|}}}|{{{english_release_date|}}}}}
| |
| | |
| | label24 = Media type
| |
| | data24 = {{{media_type|}}}
| |
| | |
| | label25 = Pages
| |
| | data25 = {{#invoke:Wikidata|getValue|P1104|{{{pages|}}}}}
| |
| | |
| | label26 = Award{{#if:{{{awards|}}}|s}}
| |
| | data26 = {{if empty|{{{awards|}}}|{{{award|}}}}}
| |
| | |
| | label30 = [[ISBN (identifier)|ISBN]]<!--Do not change this deliberate redirect. See talk page.-->
| |
| | data30 = {{#if:{{{isbn|}}}{{{ISBN|}}}
| |
| | {{#ifeq:{{if empty|{{{isbn|}}}|{{{ISBN|}}}}}|FETCH_WIKIDATA
| |
| | {{#if:{{#property:P212}}|{{#invoke:ISBNT|link|{{#property:P212}}}}[[Category:Pages using ISBN values obtained from wikidata]]}}
| |
| | {{ISBNT|1={{if empty|{{{isbn|}}}|{{{ISBN}}}}}}} {{if empty|{{{isbn_note|}}}|{{{ISBN_note|}}}}}
| |
| }}
| |
| }}
| |
| | |
| | label31 = [[OCLC (identifier)|{{abbr|OCLC|Online Computer Library Center number}}]]<!--Do not change this deliberate redirect. See talk page.-->
| |
| | data31 = {{#if:{{{oclc|}}} |[https://www.worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]}}
| |
| | |
| | label32 = {{longitem|[[Dewey Decimal Classification|Dewey Decimal]]}}
| |
| | data32 = {{#invoke:Wikidata|getValue|P1036|{{{dewey|}}}}}
| |
| | |
| | label33 = [[LCC (identifier)|{{abbr|LC Class|Library of Congress Classification}}]]<!--Do not change this deliberate redirect. See talk page.-->
| |
| | data33 = {{#invoke:Wikidata|getValue|P1149|{{{congress|}}}}}
| |
| | |
| | label34 = Preceded by
| |
| | data34 = {{#if:{{{preceded_by|}}} |''{{{preceded_by|}}} ''
| |
| | {{#if:{{{preceded_by_quotation_marks|}}} |"{{{preceded_by_quotation_marks|}}}"}}
| |
| }}
| |
| | |
| | label35 = Followed by
| |
| | data35 = {{#if:{{{followed_by|}}} |''{{{followed_by|}}} ''
| |
| | {{#if:{{{followed_by_quotation_marks|}}} |"{{{followed_by_quotation_marks|}}}"}}
| |
| }}
| |
| | |
| | label36 = {{longitem|Original text}}
| |
| | data36 = {{#if:{{both|{{{native_wikisource|}}}|{{{orig_lang_code|}}}}} <!--
| |
| then:-->| {{#invoke:Infobox/utilities|interlang_wikisource_link_make|{{{orig_lang_code|}}}|{{{native_wikisource|}}}|{{{title_orig|}}}|{{{name|}}} }}<!--
| |
| -->{{main other|[[Category:Articles that link to foreign-language Wikisources]]}} <!--(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|}}} {{if empty|{{{title_orig|}}}|{{{name|}}}|{{PAGENAME}}}}]<!--
| |
| -->}} <!--
| |
| -->{{#if:{{{native_external_host|}}} |at {{{native_external_host|}}} |online}}
| |
| }} }}
| |
| | |
| | label37 = {{#if:{{{native_wikisource|}}} |Translation |{{#if:{{{native_external_url|}}}|Translation|Text}} }}
| |
| | data37 = {{#if:{{{wikisource|}}} <!--
| |
| then:-->| ''[[s:{{{wikisource|}}}|{{if empty|{{{name|}}}|{{PAGENAME}}}}]]'' at <!--
| |
| -->{{#if:{{{native_wikisource|}}} |Wikisource |[[Wikisource]]}}<!--
| |
| -->{{main other|[[Category:Articles that link to Wikisource]]}} <!--(create hidden category to be monitored by WikiProject:Wikisource)
| |
| else:-->| {{#if:{{{external_url|}}}
| |
| | ''[{{{external_url|}}} {{if empty|{{{name|}}}|{{PAGENAME}}}}]'' <!--
| |
| -->{{#if:{{{external_host|}}} |at {{{external_host|}}} |online}}
| |
| }} }}
| |
| | |
| | label38 = Website
| |
| | data38 = {{if empty|{{{website|}}}|{{{homepage|}}}|{{{URL|}}}}}
| |
| | |
| | data60 = {{{module|}}}
| |
| | |
| | below = {{if empty|{{{notes|}}}|{{{note|}}}}}
| |
| | |
| }}{{#if:{{{image|}}}||{{#ifeq:{{yesno|{{lc:{{if empty|{{{exclude_cover|}}}|no}}}}}}|yes | |{{main other|[[Category:Books with missing cover]]}} }}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox book with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox book]] with unknown parameter "_VALUE_"|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 | isbn | ISBN | isbn_note | ISBN_note | italic title | language | last | media_type | module | 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 | pub_place | published | publisher | publisher2 | release_date | release_number | series | set_in | set_on | subject | subjects | title_orig | title_working | translator | translators | URL | website | wikisource
| |
| }}{{Wikidata image |1={{{image|}}} |2={{{nocat_wdimage|}}}
| |
| }}{{#invoke:Check for conflicting parameters|check
| |
| | template = [[Template:Infobox book]]
| |
| | cat = {{main other|Category:Pages using infobox book with conflicting parameters}}
| |
| | pub_date; release_date
| |
| | caption; image_caption
| |
| | editors; editor
| |
| | authors; author
| |
| | translators; translator
| |
| | illustrators; illustrator
| |
| | set_on; set_in
| |
| | subjects; subject
| |
| | genres; genre
| |
| | pub_date; release_date
| |
| | pub_place; country
| |
| | english_pub_date; english_release_date
| |
| | awards; award
| |
| | isbn; ISBN
| |
| | isbn_note; ISBN_note
| |
| | website; homepage; URL
| |
| | notes; note
| |
| }}<noinclude>
| |
| {{Documentation}}
| |
| </noinclude> | |