Difference between revisions of "Template:Infobox book"
Jump to navigation
Jump to search
(Created page with "{{Infobox | italic title = {{{italic title|}}} | bodyclass = vcard | bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }} <!------------...") |
|||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
− | | italic title = {{{ | + | | italic title = {{{name|}}} |
| bodyclass = vcard | | bodyclass = vcard | ||
| bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }} | | bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }} | ||
Line 6: | Line 6: | ||
<!---------------Title-----------------> | <!---------------Title-----------------> | ||
| titlestyle = font-style:italic;padding-bottom:0.2em<!--(so title doesn't touch border)-->; | | titlestyle = font-style:italic;padding-bottom:0.2em<!--(so title doesn't touch border)-->; | ||
− | | title = <includeonly>{{#if:{{{name|}}}{{{caption|{{{image_caption|}}}}}}{{{ | + | | title = <includeonly>{{#if:{{{name|}}}{{{caption|{{{image_caption|}}}}}}{{{authors|{{{author|}}}}}}{{{editors|{{{editor|}}}}}}{{{audio_read_by|}}}{{{title_orig|}}}{{{title_working|}}}{{{translators|{{{translator|}}}}}}{{{illustrators|{{{illustrator|}}}}}}{{{cover_artist|}}}{{{design|}}}{{{texts|{{{text|}}}}}}{{{country|}}}{{{language|}}}{{{series|}}}{{{release_number|}}}{{{subjects|{{{subject|}}}}}}{{{genres|{{{genre|}}}}}}{{{set_in|}}}{{{published|}}}{{{publisher|}}}{{{publisher2|}}}{{{pub_city|}}}{{{pub_date|{{{release_date|}}}}}}{{{english_pub_date|{{{english_release_date|}}}}}}{{{format|}}}{{{fabrication|}}}{{{reprint|}}}{{{media_type|}}}{{{pages|}}}{{{awards|{{{award|}}}}}}{{{isbn_note|{{{ISBN_note|}}}}}}{{{dewey|}}}{{{congress|}}}{{{website|}}}{{{ebook|}}}| }}<!-- hack for ref ordering |
-->{{{name|{{PAGENAMEBASE}}}}} <!-- | -->{{{name|{{PAGENAMEBASE}}}}} <!-- | ||
--><span class="Z3988" | --><span class="Z3988" | ||
Line 15: | Line 15: | ||
-->{{#if:{{{pub_date|{{{release_date|}}}}}} |&rft.date={{urlencode:{{{pub_date|{{{release_date}}}}}}}}}}<!-- | -->{{#if:{{{pub_date|{{{release_date|}}}}}} |&rft.date={{urlencode:{{{pub_date|{{{release_date}}}}}}}}}}<!-- | ||
-->{{#if:{{{publisher|}}} |&rft.pub={{urlencode:{{{publisher}}}}}}}<!-- | -->{{#if:{{{publisher|}}} |&rft.pub={{urlencode:{{{publisher}}}}}}}<!-- | ||
+ | -->{{#if:{{{city|}}} |&rft.city={{urlencode:{{{city}}}}}}}<!-- | ||
-->{{#if:{{{location|}}} |&rft.place={{urlencode:{{{location}}}}}}}<!-- | -->{{#if:{{{location|}}} |&rft.place={{urlencode:{{{location}}}}}}}<!-- | ||
-->{{#if:{{{pages|}}} |&rft.pages={{urlencode:{{{pages}}}}}}}<!-- | -->{{#if:{{{pages|}}} |&rft.pages={{urlencode:{{{pages}}}}}}}<!-- | ||
Line 24: | Line 25: | ||
<!---------------Image-----------------> | <!---------------Image-----------------> | ||
| imagestyle = {{#if:{{{image|}}}||display:none}} | | imagestyle = {{#if:{{{image|}}}||display:none}} | ||
− | | image = {{#if:{{{image|}}} | + | | image = {{#if:{{{image|}}}|[[File:{{{image}}}|{{px|{{{imagesize|{{{image_size|}}}}}}|frameless}}|alt={{{alt|}}}]]}} |
− | |||
− | |||
− | |||
| caption = {{{caption|{{{image_caption|}}}}}} | | caption = {{{caption|{{{image_caption|}}}}}} | ||
<!---------------Data------------------> | <!---------------Data------------------> | ||
− | | | + | | label0 = Name |
− | | | + | | data0 = {{{name|}}} |
− | | | + | | label1 = Author{{#if:{{{authors|}}}|s}} |
− | | | + | | data1 = {{{authors|{{{author|}}}}}} |
+ | |||
+ | | label2 = Editor{{#if:{{{editors|}}}|s}} | ||
+ | | data2 = {{{editors|{{{editor|}}}}}} | ||
| label3 = Audio read by | | label3 = Audio read by | ||
Line 41: | Line 42: | ||
| label4 = Original title | | label4 = Original title | ||
− | | data4 = | + | | data4 = {{{title_orig|}}} |
| label5 = Working title | | label5 = Working title | ||
Line 55: | Line 56: | ||
| data8 = {{{cover_artist|}}} | | data8 = {{{cover_artist|}}} | ||
− | | | + | | label10 = Design |
− | | | + | | data10 = {{{design|}}} |
+ | |||
+ | | label11 = Text{{#if:{{{texts|}}}|s}} | ||
+ | | data11 = {{{texts|{{{text|}}}}}} | ||
+ | |||
+ | | label12 = Country | ||
+ | | data12 = {{{country|}}} | ||
− | | | + | | label13 = Language |
− | | | + | | data13 = {{{language|}}} |
− | | | + | | label14 = Series |
− | | | + | | data14 = {{{series|}}} |
− | | | + | | label15 = {{longitem|Release number}} |
− | | | + | | data15 = {{{release_number|}}} |
− | | | + | | label16 = Subject{{#if:{{{subjects|}}}|s}} |
− | | | + | | data16 = {{{subjects|{{{subject|}}}}}} |
− | | | + | | label17 = Genre{{#if:{{{genres|}}}|s}} |
− | | | + | | data17 = {{{genres|}}} |
− | | | + | | label18 = Set in |
− | | | + | | data18 = {{{set_in|}}} |
− | | | + | | label19 = Published |
− | | | + | | data19 = {{{published|}}} |
− | | | + | | label20 = Publisher |
− | | | + | | data20 = {{{publisher|}}}{{#if:{{{publisher2|}}} |, {{{publisher2}}} }} |
− | | | + | | label21 = City |
− | | | + | | data21 = {{{pub_city|}}} |
− | | | + | | label22 = Date |
− | | | + | | data22 = {{{pub_date|{{{release_date|}}}}}} |
− | | | + | | label23 = {{longitem|Published in English}} |
− | | | + | | data23 = {{{english_pub_date|{{{english_release_date|}}}}}} |
− | | | + | | label24 = Reprint |
− | | | + | | data24 = {{{reprint|}}} |
− | | | + | | label25 = Media type |
− | | | + | | data25 = {{{media_type|}}} |
− | | | + | | label26 = Pages |
− | | | + | | data26 = {{{pages|}}} |
+ | |||
+ | | label27 = Format | ||
+ | | data27 = {{{format|}}} | ||
+ | |||
+ | | label28 = Fabrication | ||
+ | | data28 = {{{fabrication|}}} | ||
+ | |||
+ | | label29 = Award{{#if:{{{awards|}}}|s}} | ||
+ | | data29 = {{{awards|{{{award|}}}}}} | ||
| label30 = [[International Standard Book Number|ISBN]] | | label30 = [[International Standard Book Number|ISBN]] | ||
− | | data30 = | + | | data30 = {{{isbn|{{{ISBN|}}}}}} {{{isbn_note|{{{ISBN_note|}}}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
| label31 = [[OCLC#Identifiers and linked data|{{abbr|OCLC|Online Computer Library Center number}}]] | | label31 = [[OCLC#Identifiers and linked data|{{abbr|OCLC|Online Computer Library Center number}}]] | ||
Line 112: | Line 123: | ||
| label32 = {{longitem|[[Dewey Decimal Classification|Dewey Decimal]]}} | | label32 = {{longitem|[[Dewey Decimal Classification|Dewey Decimal]]}} | ||
− | | data32 = | + | | data32 = {{{dewey|}}} |
| label33 = [[Library of Congress Classification|{{abbr|LC Class|Library of Congress Classification}}]] | | label33 = [[Library of Congress Classification|{{abbr|LC Class|Library of Congress Classification}}]] | ||
− | | data33 = | + | | data33 = {{{congress|}}} |
| label34 = Preceded by | | label34 = Preceded by | ||
Line 126: | Line 137: | ||
| {{#if:{{{followed_by_quotation_marks|}}} |"{{{followed_by_quotation_marks|}}}"}} | | {{#if:{{{followed_by_quotation_marks|}}} |"{{{followed_by_quotation_marks|}}}"}} | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| label37 = {{#if:{{{native_wikisource|}}} |Translation |{{#if:{{{native_external_url|}}}|Translation|Text}} }} | | label37 = {{#if:{{{native_wikisource|}}} |Translation |{{#if:{{{native_external_url|}}}|Translation|Text}} }} | ||
− | | data37 = | + | | data37 = {{#if:{{{external_url|}}} |
− | |||
− | |||
− | |||
− | |||
| ''[{{{external_url|}}} {{{name|{{PAGENAME}}}}}]'' <!-- | | ''[{{{external_url|}}} {{{name|{{PAGENAME}}}}}]'' <!-- | ||
-->{{#if:{{{external_host|}}} |at {{{external_host|}}} |online}} | -->{{#if:{{{external_host|}}} |at {{{external_host|}}} |online}} | ||
− | + | }} | |
| label38 = Website | | label38 = Website | ||
− | | data38 = {{{website| | + | | data38 = {{{website|}}} |
− | |||
− | |||
− | |||
− | | | + | | label39 = E-book |
− | | | + | | data39 = {{{ebook|}}} |
| belowstyle = border-top:#aaa 1px solid;font-size:90%; | | belowstyle = border-top:#aaa 1px solid;font-size:90%; | ||
| below = {{{notes|{{{note|}}}}}} | | below = {{{notes|{{{note|}}}}}} | ||
− | |||
− | |||
− | |||
}}<noinclude> | }}<noinclude> | ||
− | + | [https://en.wikipedia.org/wiki/Template:Infobox_book Documentation] | |
</noinclude> | </noinclude> |