|
|
Line 1: |
Line 1: |
| {{Infobox | | {{Infobox |
| | italic title = {{{italic title|<noinclude>no</noinclude>}}} | | | bodystyle = border-radius:2px; background-color:#f8f9fa; width:{{{width|25%}}}; border: none |
| | bodyclass = vcard | | |titlestyle = |
| | bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }} | | |headerstyle = background-color:#e6e6e6; font-family: sahel |
| | |abovestyle = background-color:#FFE077; font-size:133%; font-weight: bold; |
| | |image = {{#if:{{{image|}}}|[[file:{{{image|}}}{{!}}{{#if: {{{size image|}}}|{{{size image}}}|230px}} ]] }} |
| | |caption = {{#if:{{{caption|}}}|{{{caption|}}}}} |
| | | labelstyle = white-space: nowrap; text-align:left; background-color: #e6e6e6; padding-left: 5px; vertical-align: middle; font-family: sahel |
| | | datastyle = padding-right: 5px; vertical-align: middle |
|
| |
|
| <!---------------Title----------------->
| | |above = {{{title|}}} |
| | titlestyle = font-size:125%; font-style:italic; padding-bottom:0.2em<!--(so title doesn't touch border)-->; | |
| | 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
| |
| -->{{{name|{{PAGENAMEBASE}}}}} <!--
| |
| --><span class="Z3988"
| |
| title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:book}}&rft.genre=book&rft.btitle={{urlencode:{{{name|}}}}}<!--
| |
| -->{{#if:{{{author|}}} |&rft.author={{urlencode:{{{author}}}}}}}<!--
| |
| -->{{#if:{{{last|}}} |&rft.aulast={{urlencode:{{{last}}}}}}}<!--
| |
| -->{{#if:{{{first|}}} |&rft.aufirst={{urlencode:{{{first}}}}}}}<!--
| |
| -->{{#if:{{{pub_date|{{{release_date|}}}}}} |&rft.date={{urlencode:{{{pub_date|{{{release_date}}}}}}}}}}<!--
| |
| -->{{#if:{{{publisher|}}} |&rft.pub={{urlencode:{{{publisher}}}}}}}<!--
| |
| -->{{#if:{{{pub_place|{{{country|}}}}}} |&rft.place={{urlencode:{{if empty|{{{pub_place|}}}|{{{country|}}}}}}}}}<!--
| |
| -->{{#if:{{{pages|}}} |&rft.pages={{urlencode:{{{pages}}}}}}}<!--
| |
| -->{{#if:{{{series|}}} |&rft.series={{urlencode:{{{series}}}}}}}<!--
| |
| -->{{#if:{{{oclc|}}} |&rft_id=info:oclcnum/{{{oclc}}}}}"><!--
| |
| --></span><!--
| |
| --></includeonly>
| |
|
| |
|
| <!---------------Image----------------->
| | |header1 = Book Information |
| | imagestyle = {{#if:{{{image|}}}||display:none}}
| |
| | image = {{#if:{{{image|}}} <!--
| |
| then:-->| {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |upright=1 |alt={{{alt|}}} |title={{{alt|}}} |border={{{border|}}} |suppressplaceholder=yes}}<!--
| |
| else:-->| {{#ifeq:{{yesno|{{lc:{{{exclude_cover|no}}}}}}}|yes | |{{main other|[[Category:Books with missing cover]]}} }}
| |
| }}
| |
| | caption = {{{caption|{{{image_caption|}}}}}}
| |
|
| |
|
| <!---------------Data------------------>
| | |label2 = main title |
| | label1 = Editor{{#if:{{{editors|}}}|s}} | | |data2 = {{{main title|}}} |
| | data1 = {{{editors|{{{editor|}}}}}} | |
|
| |
|
| | label2 = Author{{#if:{{{authors|}}}|s}} | | |label3 = other names |
| | data2 = {{{authors|{{{author|}}}}}} | | |data3 = {{{other names|}}} |
|
| |
|
| | label3 = Audio read by | | |label4 = author |
| | data3 = {{{audio_read_by|}}} | | |data4 = {{{author|}}} |
|
| |
|
| | label4 = Original title | | |label5 = date of writing |
| | 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}}}''}} }} | | |data5 ={{{date of writing|}}} |
|
| |
|
| | label5 = Working title | | |label6 = subject |
| | data5 = {{#if:{{{title_working|}}} |''{{{title_working}}}''}} | | |data6= {{{subject|}}} |
|
| |
|
| | label6 = Translator{{#if:{{{translators|}}}|s}} | | |label8= style |
| | data6 = {{{translators|{{{translator|}}}}}} | | |data8 = {{{style|}}} |
|
| |
|
| | label7 = Illustrator{{#if:{{{illustrators|}}}|s}} | | |label10 = language |
| | data7 = {{{illustrators|{{{illustrator|}}}}}} | | |data10 = {{{language|}}} |
|
| |
|
| | label8 = Cover artist | | |label11 = main language |
| | data8 = {{{cover_artist|}}} | | |data11 = {{{main language|}}} |
|
| |
|
| | label11 = Language | | |label12 = editor |
| | data11 = {{{language|}}} | | |data12 = {{{editor|}}} |
|
| |
|
| | label12 = Series | | |label13 = with the efforts of |
| | data12 = {{{series|}}} | | |data13 = {{{with the efforts of|}}} |
|
| |
|
| | label13 = {{longitem|Release number}} | | |label14 = collected by |
| | data13 = {{{release_number|}}} | | |data14 = {{{collected by|}}} |
|
| |
|
| | label14 = Subject{{#if:{{{subjects|}}}|s}} | | |label15 = textual editing |
| | data14 = {{{subjects|{{{subject|}}}}}} | | |data15= {{{textual editing|}}} |
|
| |
|
| | label15 = Genre{{#if:{{{genres|}}}|s}} | | |label16 = volumes |
| | data15 = {{#invoke:Wikidata|getValue|P136|{{{genres|{{{genre|}}}}}}}} | | |data16 = {{{volumes|}}} |
|
| |
|
| | label16 = Set in | | |label18 = pages |
| | data16 = {{{set_in|}}} | | |data18 = {{{pages|}}} |
|
| |
|
| | label17 = Published | | |label20 = size |
| | data17 = {{{published|}}} | | |data20 = {{{size|}}} |
|
| |
|
| | label18 = Publisher | | |label21 = collection |
| | data18 = {{{publisher|}}}{{#if:{{{publisher2|}}} |, {{{publisher2}}} }} | | |data21 = {{{collection|}}} |
|
| |
|
| | label19 = {{longitem|Publication date}} | | |label22 = illustrator |
| | data19 = {{#invoke:Wikidata|getValue|P577|{{{pub_date|{{{release_date|}}}}}}}} | | |data22 = {{{illustrator|}}} |
|
| |
|
| | label20 = Publication place | | |label23 = cover designer |
| | data20 = {{if empty|{{{pub_place|}}}|{{{country|}}}}} | | |data23 = {{{cover designer|}}} |
|
| |
|
| | label23 = {{longitem|Published in English}} | | |label25 = translations |
| | data23 = {{{english_pub_date|{{{english_release_date|}}}}}} | | |data25 = {{{translations|}}} |
|
| |
|
| | label24 = Media type
| |
| | data24 = {{{media_type|}}}
| |
|
| |
|
| | label25 = Pages | | |header30 = {{#if: {{{publisher||}}}{{{publication place|}}}{{{publication date|}}}{{{printing|}}}{{{print run|}}}{{{isbn|}}}{{{media type|}}}{{{publisher website|}}}|اطلاعات نشر}} |
| | data25 = {{#invoke:Wikidata|getValue|P1104|{{{pages|}}}}}
| |
|
| |
|
| | label26 = Award{{#if:{{{awards|}}}|s}} | | |label32 = publisher |
| | data26 = {{{awards|{{{award|}}}}}} | | |data32 = {{{publisher|}}} |
|
| |
|
| | label30 = [[ISBN (identifier)|ISBN]]<!--Do not change this deliberate redirect. See talk page.--> | | |label33 = publication place |
| | data30 = {{#if:{{{isbn|{{{ISBN|}}}}}} | | |data33 = {{{publication place|}}} |
| | {{#ifeq:{{{isbn|{{{ISBN|}}}}}}|FETCH_WIKIDATA
| |
| | {{#if:{{#property:P212}}|{{#invoke:ISBNT|link|{{#property:P212}}}}[[Category:Pages using ISBN values obtained from wikidata]]}}
| |
| | {{ISBNT|1={{{isbn|{{{ISBN}}}}}}}} {{{isbn_note|{{{ISBN_note|}}}}}}
| |
| }}
| |
| }}
| |
|
| |
|
| | label31 = [[OCLC (identifier)|{{abbr|OCLC|Online Computer Library Center number}}]]<!--Do not change this deliberate redirect. See talk page.--> | | |label35 = publication date |
| | data31 = {{#if:{{{oclc|}}} |[https://www.worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]}} | | |data35 = {{{publication date|}}} |
|
| |
|
| | label32 = {{longitem|[[Dewey Decimal Classification|Dewey Decimal]]}} | | |label36 = printing |
| | data32 = {{#invoke:Wikidata|getValue|P1036|{{{dewey|}}}}} | | |data36 = {{{printing|}}} |
|
| |
|
| | label33 = [[LCC (identifier)|{{abbr|LC Class|Library of Congress Classification}}]]<!--Do not change this deliberate redirect. See talk page.--> | | |label38 = print run |
| | data33 = {{#invoke:Wikidata|getValue|P1149|{{{congress|}}}}} | | |data38= {{{print run|}}} |
|
| |
|
| | label34 = Preceded by | | |label39= isbn |
| | data34 = {{#if:{{{preceded_by|}}} |''{{{preceded_by|}}} '' | | |data39 = {{{isbn|}}} |
| | {{#if:{{{preceded_by_quotation_marks|}}} |"{{{preceded_by_quotation_marks|}}}"}}
| |
| }}
| |
|
| |
|
| | label35 = Followed by | | |label40 = media type |
| | data35 = {{#if:{{{followed_by|}}} |''{{{followed_by|}}} '' | | |data40 = {{{media type|}}} |
| | {{#if:{{{followed_by_quotation_marks|}}} |"{{{followed_by_quotation_marks|}}}"}}
| |
| }}
| |
|
| |
|
| | label36 = {{longitem|Original text}} | | |label42= publisher website |
| | data36 = {{#if:{{both|{{{native_wikisource|}}}|{{{orig_lang_code|}}}}} <!-- | | |data42 = {{{publisher website|}}} |
| 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|}}} {{{title_orig|{{{name|{{PAGENAME}}}}}}}}]<!--
| |
| -->}} <!--
| |
| -->{{#if:{{{native_external_host|}}} |at {{{native_external_host|}}} |online}}
| |
| }} }}
| |
|
| |
|
| | label37 = {{#if:{{{native_wikisource|}}} |Translation |{{#if:{{{native_external_url|}}}|Translation|Text}} }} | | |header46 = {{#if: {{{نام کتاب|}}}{{{مترجم|}}}{{{مشخصات نشر|}}}|Farsi Translation}} |
| | data37 = {{#if:{{{wikisource|}}} <!--
| |
| then:-->| ''[[s:{{{wikisource|}}}|{{{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|}}} {{{name|{{PAGENAME}}}}}]'' <!--
| |
| -->{{#if:{{{external_host|}}} |at {{{external_host|}}} |online}}
| |
| }} }}
| |
|
| |
|
| | label38 = Website | | |label48 = نام کتاب |
| | data38 = {{{website|{{{homepage|{{{URL|{{#ifeq:{{{website|{{{homepage|{{{URL|}}}}}}}}} | | |data48 = {{{نام کتاب|}}} |
| | FETCH_WIKIDATA
| |
| | {{#if:{{#property:P856}}|{{Url|1={{#invoke:Wikidata|getValue|P856|FETCH_WIKIDATA}} }} }}
| |
| |}}}}}}}}}}}
| |
|
| |
|
| | data60 = {{{module|}}} | | |label50 = مترجم |
| | |data50 = {{{مترجم|}}} |
|
| |
|
| | belowstyle = border-top:#aaa 1px solid; | | |label51 = مشخصات نشر |
| | below = {{{notes|{{{note|}}}}}} | | |data51 = {{{مشخصات نشر|}}} |
|
| |
|
| }}{{#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 | infoboxwidth | 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 | subject | subjects | title_orig | title_working | translator | translators | URL | website | width | wikisource
| | |label61 = نسخه الکترونیکی |
| }}{{Wikidata image |1={{{image|}}} |2={{{nocat_wdimage|}}}
| | |data61 = {{{نسخه الکترونیکی|}}} |
| | |
| | |header65 = {{#if: {{{جلدهای دیگر|}}}|جلدهای دیگر}} |
| | |below = {{{جلدهای دیگر|}}} |
| }}<noinclude> | | }}<noinclude> |
| {{Documentation}} | | ==طرز استفاده== |
| </noinclude> | | <pre> |
| | {{جعبه Book Information |
| | | title = |
| | | image = |
| | | size image = |
| | | caption = |
| | | other names = |
| | | main title = |
| | | author = |
| | | date of writing = |
| | | subject = |
| | | style = |
| | | language = |
| | | main language = |
| | | editor = |
| | | textual editing = |
| | | with the efforts of = |
| | | collection = |
| | | illustrator = |
| | | cover designer = |
| | | volumes = |
| | | pages = |
| | | size = |
| | | collection = |
| | | translations = |
| | | publisher = |
| | | publication place = |
| | | publication date = |
| | | printing = |
| | | print run = |
| | | isbn = |
| | | media type = |
| | | publisher website = |
| | | نام کتاب = <!-- نام کتاب به language فارسی --> |
| | | مترجم = <!-- مترجم به فارسی --> |
| | | مشخصات نشر = <!-- مشخصات نشر در language فارسی --> |
| | |نسخه الکترونیکی= |
| | |جلدهای دیگر = |
| | }} |
| | </pre><templatedata> |
| | { |
| | "params": { |
| | "نام": {}, |
| | "title": {}, |
| | "image": {}, |
| | "size image": {}, |
| | "caption": {}, |
| | "other names": {}, |
| | "author": {}, |
| | "date of writing": {}, |
| | "subject": {}, |
| | "style": {}, |
| | "language": {}, |
| | "editor": {}, |
| | "with the efforts of": {}, |
| | "collection": {}, |
| | "textual editing": {}, |
| | "volumes": {}, |
| | "pages": {}, |
| | "size": {}, |
| | "collection": {}, |
| | "illustrator": {}, |
| | "cover designer": {}, |
| | "translations": {}, |
| | "publisher": {}, |
| | "publication place": {}, |
| | "publication date": {}, |
| | "printing": {}, |
| | "print run": {}, |
| | "isbn": {}, |
| | "media type": {}, |
| | "publisher website": {}, |
| | "نام کتاب": {}, |
| | "مترجم": {}, |
| | "مشخصات نشر": {}, |
| | "نسخه الکترونیکی": {}, |
| | "جلدهای دیگر": {}, |
| | "main title": {}, |
| | "main language": {} |
| | }, |
| | "format": "block" |
| | } |
| | </templatedata></noinclude> |