Template:Infobox book: Difference between revisions
Jump to navigation
Jump to search
Abbie Normal (talk | contribs) (Created page with "{{Infobox | italic title = {{{italic title|}}} | bodyclass = vcard | bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }} <!------------...") |
Abbie Normal (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{ infobox |
|||
{{Infobox |
|||
| italic title = {{{italic title|}}} |
| italic title = {{{italic title|}}} |
||
| bodystyle = {{#if:{{{infoboxwidth|}}}|width: {{{infoboxwidth}}}}} |
|||
| bodyclass = vcard |
|||
| bodyclass = vcard |
|||
| bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }} |
|||
| abovestyle = font-style: italic |
|||
| above = <includeonly>{{{name|{{PAGENAME}}}}} <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: {{{location|}}}|&rft.place={{urlencode:{{{location}}}}}}}{{#if: {{{pages|}}}|&rft.pages={{urlencode:{{{pages}}}}}}}{{#if: {{{series|}}}|&rft.series={{urlencode:{{{series}}}}}}}{{#if: {{{oclc|}}}|&rft_id=info:oclcnum/{{{oclc}}}}}"></span></includeonly> |
|||
<!---------------Title-----------------> |
|||
|image = {{#if:{{{image|}}}|{{#if:{{Hide if placeholder image|{{{image|}}}}}|{{#ifeq:{{Str left | {{{image|}}} | 1 }}|[|{{{image|}}}[[Category:Infobox book image param needs updating]]|[[File:{{{image}}}|{{px|{{{image_size|}}}|frameless}}|alt={{{alt|}}}|{{#ifeq:{{{border|}}}|yes|border}}]]}}}}|[[Category:Books with missing cover]]}} |
|||
| titlestyle = font-style:italic;padding-bottom:0.2em<!--(so title doesn't touch border)-->; |
|||
| title = <includeonly><!-- |
|||
-->{{{name|{{PAGENAME}}}}} <!-- |
|||
--><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:{{{location|}}} |&rft.place={{urlencode:{{{location}}}}}}}<!-- |
|||
-->{{#if:{{{pages|}}} |&rft.pages={{urlencode:{{{pages}}}}}}}<!-- |
|||
-->{{#if:{{{series|}}} |&rft.series={{urlencode:{{{series}}}}}}}<!-- |
|||
-->{{#if:{{{oclc|}}} |&rft_id=info:oclcnum/{{{oclc}}}}}"><!-- |
|||
--></span><!-- |
|||
--></includeonly> |
|||
<!---------------Image-----------------> |
|||
| image = {{#if:{{{image|}}} <!-- |
|||
then:-->| {{#ifeq:{{str left|{{{image|}}}|1}}|[ |[[Category:Infobox book image param needs updating]]}}<!-- |
|||
-->{{#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|[[Category:Books with missing cover]]}} }} |
|||
}} |
|||
| caption = {{{caption|{{{image_caption|}}}}}} |
| caption = {{{caption|{{{image_caption|}}}}}} |
||
| label1 = Author(s) |
|||
| data1 = {{{author|}}} |
|||
<!---------------Data------------------> |
|||
| label2 = Original title |
|||
| label1 = Editor{{#if:{{{editors|}}}|s}} |
|||
| |
| data2 = {{#if:{{{title_orig|}}}|''{{{title_orig}}}''}} |
||
| label3 = Translator |
|||
| |
| data3 = {{{translator|}}} |
||
| label4 = Illustrator |
|||
| data2 = {{{authors|{{{author|}}}}}} |
|||
| data4 = {{{illustrator|}}} |
|||
| label5 = Cover artist |
|||
| label3 = Audio read by |
|||
| |
| data5 = {{{cover_artist|}}} |
||
| label6 = Country |
|||
| data6 = {{{country|}}} |
|||
| label4 = Original title |
|||
| label7 = Language |
|||
| data4 = {{#if:{{{title_orig|}}} |{{lang|{{{orig_lang_code|}}} |''{{{title_orig}}}''}} }} |
|||
| data7 = {{{language|}}} |
|||
| label8 = Series |
|||
| label5 = Working title |
|||
| data8 = {{{series|}}} |
|||
| data5 = {{#if:{{{title_working|}}} |''{{{title_working}}}''}} |
|||
| label9 = Subject(s) |
|||
| |
| data9 = {{{subject|}}} |
||
| label10 = Genre(s) |
|||
| data6 = {{{translators|{{{translator|}}}}}} |
|||
| data10 = {{{genre|}}} |
|||
| label11 = Publisher |
|||
| label7 = Illustrator{{#if:{{{illustrators|}}}|s}} |
|||
| |
| data11 = {{{publisher|}}}{{#if:{{{publisher2|}}}|, {{{publisher2}}}}} |
||
| label12 = Publication date |
|||
| data12 = {{{pub_date|{{{release_date|}}}}}} |
|||
| label8 = Cover artist |
|||
| label13 = Published in English |
|||
| data8 = {{{cover_artist|}}} |
|||
| data13 = {{{english_pub_date|{{{english_release_date|}}}}}} |
|||
| label14 = Media type |
|||
| label10 = Country |
|||
| |
| data14 = {{{media_type|}}} |
||
| label15 = Pages |
|||
| data15 = {{{pages|}}} |
|||
| label11 = Language |
|||
| label16 = Award(s) |
|||
| data11 = {{{language|}}} |
|||
| data16 = {{{awards|}}} |
|||
| label17 = [[International Standard Book Number|ISBN]] |
|||
| label12 = Series |
|||
| data17 = {{#if:{{{isbn|{{{ISBN|}}}}}}|{{#iferror:{{#expr:{{{isbn|{{{ISBN}}}}}}}}|{{{isbn|{{{ISBN}}}}}}|[[Special:Booksources/{{{isbn|{{{ISBN}}}}}}|{{{isbn|{{{ISBN}}}}}}]]}}}} |
|||
| data12 = {{{series|}}} |
|||
| label18 = [[Online Computer Library Center|OCLC]] Number |
|||
| data18 = {{#if:{{{oclc|}}}|[http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]}} |
|||
| label13 = {{longitem|Release number}} |
|||
| label19 = [[Dewey Decimal Classification|Dewey Decimal]] |
|||
| data13 = {{{release_number|}}} |
|||
| data19 = {{{dewey|}}} |
|||
| label20 = [[Library of Congress Classification|LC Classification]] |
|||
| label14 = Subject{{#if:{{{subjects|}}}|s}} |
|||
| |
| data20 = {{{congress|}}} |
||
| label21 = Preceded by |
|||
| data21 = {{#if:{{{preceded_by|}}}|''{{{preceded_by|}}}''|{{#if:{{{preceded_by_quotation_marks|}}}|"{{{preceded_by_quotation_marks|}}}"}}}} |
|||
| label15 = Genre{{#if:{{{genres|}}}|s}} |
|||
| label22 = Followed by |
|||
| data15 = {{{genres|{{{genre|}}}}}} |
|||
| data22 = {{#if:{{{followed_by|}}}|''{{{followed_by|}}}''|{{#if:{{{followed_by_quotation_marks|}}}|"{{{followed_by_quotation_marks|}}}"}}}} |
|||
| label23 = Read online |
|||
| label16 = Set in |
|||
| data23 = {{#if:{{{wikisource|}}}|''[[s:{{{wikisource|}}}|{{{name|}}}]]'' at [[Wikisource]][[Category:Articles that link to Wikisource]]<!--create hidden category to be monitored by Wikiproject:Wikisource-->}} |
|||
| data16 = {{{set_in|}}} |
|||
}}<noinclude> |
|||
{{documentation}} |
|||
| label17 = Published |
|||
| data17 = {{{published|}}} |
|||
| label18 = Publisher |
|||
| data18 = {{{publisher|}}}{{#if:{{{publisher2|}}} |, {{{publisher2}}} }} |
|||
| label19 = {{longitem|Publication date}} |
|||
| data19 = {{{pub_date|{{{release_date|}}}}}} |
|||
| label20 = {{longitem|Published in English}} |
|||
| data20 = {{{english_pub_date|{{{english_release_date|}}}}}} |
|||
| label21 = Media type |
|||
| data21 = {{{media_type|}}} |
|||
| label22 = Pages |
|||
| data22 = {{{pages|}}} |
|||
| label23 = Award{{#if:{{{awards|}}}|s}} |
|||
| data23 = {{{awards|{{{award|}}}}}} |
|||
| label30 = [[International Standard Book Number|ISBN]] |
|||
| data30 = {{#if:{{{isbn|{{{ISBN|}}}}}} |
|||
| {{#iferror:{{#expr:{{{isbn|{{{ISBN}}}}}}}} |{{{isbn|{{{ISBN}}}}}} |
|||
| [[Special:Booksources/{{{isbn|{{{ISBN}}}}}}|{{{isbn|{{{ISBN}}}}}}]] |
|||
}} {{{isbn_note|{{{ISBN_note|}}}}}} }} |
|||
| label31 = [[OCLC#Control Numbers|{{abbr|OCLC|Online Computer Library Center number}}]] |
|||
| data31 = {{#if:{{{oclc|}}} |[//www.worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]}} |
|||
| label32 = {{longitem|[[Dewey Decimal Classification|Dewey Decimal]]}} |
|||
| data32 = {{{dewey|}}} |
|||
| label33 = [[Library of Congress Classification|{{abbr|LC Class|Library of Congress Classification}}]] |
|||
| data33 = {{{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:{{{native_wikisource|}}} <!-- |
|||
then:-->| ''{{lang |{{{orig_lang_code|}}} |
|||
| [[s:{{#if:{{{orig_lang_code|}}}|{{{orig_lang_code|}}}:}}{{{native_wikisource|}}}|{{{title_orig|{{{name|{{PAGENAME}}}}}}}}]]<!-- |
|||
-->}}'' at <!-- |
|||
-->{{#ifeq:{{#language:{{{orig_lang_code}}}}}|{{{orig_lang_code}}} | |
|||
| {{iso2lang|{{{orig_lang_code}}}}}<!-- |
|||
-->}} [[Wikisource]]<!-- |
|||
-->{{main other|[[Category:Articles that link to foreign-language Wikisources]]}} <!--(create hidden category to be monitored by WikiProject:Wikisource) |
|||
else:-->| {{#if:{{{native_external_url|}}} |
|||
| ''{{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}} }} |
|||
| 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}} |
|||
}} }} |
|||
| belowstyle = border-top:#aaa 1px solid;font-size:90%; |
|||
| below = {{{notes|{{{note|}}}}}} |
|||
}}<!----Tagging deprecated parameters: |
|||
-->{{main other |
|||
| {{#if:{{{publisher|}}} |<!--[[Category:Infobox book using deprecated parameters|1 {{PAGENAME}}]]-->}}<!-- |
|||
-->{{#if:{{{publisher2|}}} |<!--[[Category:Infobox book using deprecated parameters|2 {{PAGENAME}}]]-->}}<!-- |
|||
-->{{#if:{{{pub_date|}}} |<!--[[Category:Infobox book using deprecated parameters|p {{PAGENAME}}]]-->}}<!-- |
|||
-->{{#if:{{{release_date|}}} |<!--[[Category:Infobox book using deprecated parameters|r {{PAGENAME}}]]-->}}<!-- |
|||
-->{{#if:{{{english_pub_date|}}} |<!--[[Category:Infobox book using deprecated parameters|e {{PAGENAME}}]]-->}}<!-- |
|||
-->{{#if:{{{english_release_date|}}} |<!--[[Category:Infobox book using deprecated parameters|d {{PAGENAME}}]]-->}}<!-- |
|||
-->}}<noinclude> |
|||
{{Documentation}} |
|||
</noinclude> |
</noinclude> |