Template:Infobox book: Difference between revisions
Jump to navigation
Jump to search
Saul Wenger (talk | contribs) (Added template.) |
Saul Wenger (talk | contribs) m (Reworking template to remove unneeded modules.) |
||
Line 1: | Line 1: | ||
{{Infobox | <onlyinclude>{{Infobox | ||
|bodyclass = vcard | |||
| bodyclass = vcard | |bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }} | ||
| bodystyle = {{#if:{{{infoboxwidth|{{{width|}}}}}} |width:{{{infoboxwidth|{{{width}}}}}} }} | <!---------------Title----------------->|titlestyle = font-size:125%; font-style:italic; padding-bottom:0.2em; | ||
|title = {{#if:{{{name|}}}{{{caption|{{{image_caption|}}}}}}{{{editors|{{{editor|}}}}}}{{{authors|{{{author|}}}}}}{{{audio_read_by|}}}{{{title_orig|}}}{{{title_working|}}}{{{translators|{{{translator|}}}}}}{{{illustrators|{{{illustrator|}}}}}}{{{cover_artist|}}}{{{language|}}}{{{series|}}}{{{release_number|}}}{{{subjects|{{{subject|}}}}}}{{{genres|{{{genre|}}}}}}{{{set_in|}}}{{{publication|}}}{{{media_type|}}}{{{pages|}}}{{{awards|{{{award|}}}}}}{{{dewey|}}}{{{congress|}}}| }} | |||
<!---------------Title-----------------> | -->{{{name|{{PAGENAMEBASE}}}}} | ||
| titlestyle = font-size:125%; font-style:italic; padding-bottom:0.2em | |||
| title = | |||
-->{{{name|{{PAGENAMEBASE}}}}} | |||
| imagestyle = {{#if:{{{image|}}}||display:none}} | | imagestyle = {{#if:{{{image|}}}||display:none}} | ||
| image = {{#if:{{{image|}}} <!-- | | image = {{#if:{{{image|}}} <!-- | ||
Line 30: | Line 12: | ||
| caption = {{{caption|{{{image_caption|}}}}}} | | caption = {{{caption|{{{image_caption|}}}}}} | ||
| label1 = Editor{{#if:{{{editors|}}}|s}} | | label1 = Editor{{#if:{{{editors|}}}|s}} | ||
| data1 = {{{editors|{{{editor|}}}}}} | | data1 = {{{editors|{{{editor|}}}}}} | ||
Line 55: | Line 36: | ||
| data8 = {{{cover_artist|}}} | | data8 = {{{cover_artist|}}} | ||
| | | label9 = Language | ||
| | | data9 = {{{language|}}} | ||
| | | label10 = Series | ||
| | | data10 = {{{series|}}} | ||
| | | label11 = {{longitem|Release number}} | ||
| | | data11 = {{{release_number|}}} | ||
| | | label12 = Subject{{#if:{{{subjects|}}}|s}} | ||
| data12 = {{{subjects|{{{subject|}}}}}} | |||
| | | label13 = Genre{{#if:{{{genres|}}}|s}} | ||
| | | data13 = {{{genres|{{{genre|}}}}}} | ||
| | | label14 = Set in | ||
| | | data14 = {{{set_in|}}} | ||
| | | label15 = Publication | ||
| | | data15 = {{{publication|}}} | ||
| | | label16 = Media type | ||
| | | data16 = {{{media_type|}}} | ||
| | | label17 = Pages | ||
| | | data17 = {{{pages|}}} | ||
| | | label18 = Award{{#if:{{{awards|}}}|s}} | ||
| | | data18 = {{{awards|{{{award|}}}}}} | ||
| | | label19 = [[ISBN (identifier)|<abbr title='International Standard Book Number'>ISBN</abbr>]] | ||
| data19 = {{{isbn|}}} | |||
| | | label20 = [[OCLC (identifier)|<abbr title='Online Computer Library Center'>OCLC<abbr/> Number]] | ||
| | | data20 = {{#if:{{{oclc|}}} |[https://www.worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]}} | ||
| | | label21 = [[Dewey Decimal Classification|Dewey Decimal]] | ||
| | | data21 = {{{dewey|}}} | ||
| | | label22 = [[LCC (identifier)|<abbr title='Library of Congress Classification'>LC Class</abbr>]] | ||
| | | data22 = {{{congress|}}} | ||
| | | label23 = Preceded by | ||
| | | data23 = {{#if:{{{preceded_by|}}} |''{{{preceded_by|}}} '' | ||
| {{#if:{{{preceded_by_quotation_marks|}}} |"{{{preceded_by_quotation_marks|}}}"}} | | {{#if:{{{preceded_by_quotation_marks|}}} |"{{{preceded_by_quotation_marks|}}}"}} | ||
}} | }} | ||
| | | label24 = Followed by | ||
| | | data24 = {{#if:{{{followed_by|}}} |''{{{followed_by|}}} '' | ||
| {{#if:{{{followed_by_quotation_marks|}}} |"{{{followed_by_quotation_marks|}}}"}} | | {{#if:{{{followed_by_quotation_marks|}}} |"{{{followed_by_quotation_marks|}}}"}} | ||
}} | }} | ||
| | | label25 = Website(s) | ||
| data25 = {{{websites|}}} | |||
| data60 = {{{module|}}} | | data60 = {{{module|}}} | ||
| belowstyle = border-top:#aaa 1px solid; | | belowstyle = border-top:#aaa 1px solid;font-size:90%; | ||
| below = {{{notes|{{{note|}}}}}} | | below = {{{notes|{{{note|}}}}}} | ||
}} | |||
{{#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 | cover_artist | dewey | editor | editors | exclude_cover | followed_by | followed_by_quotation_marks | genre | genres | illustrator | illustrators | image | image_caption | image_size | infoboxwidth | isbn | language | media_type | module | name | nocat_wdimage | note | notes | oclc | orig_lang_code | pages | preceded_by | preceded_by_quotation_marks | publication | release_number | series | set_in | subject | subjects | title_orig | title_working | translator | translators | website | width | |||
}}</onlyinclude> | |||
<noinclude> | |||
== Parameters == | |||
<pre style="overflow:auto;"> | |||
{{Infobox book | |||
| name = | |||
| image = | |||
| image_size = | |||
| border = | |||
| alt = | |||
| caption = | |||
| author = | |||
| audio_read_by = | |||
| title_orig = | |||
| orig_lang_code = | |||
| title_working = | |||
| translator = | |||
| illustrator = | |||
| cover_artist = | |||
| language = | |||
| series = | |||
| release_number = | |||
| subject = | |||
| genre = | |||
| set_in = | |||
| publication = | |||
| media_type = | |||
| pages = | |||
| awards = | |||
| isbn = | |||
| oclc = | |||
| dewey = | |||
| congress = | |||
| preceded_by = | |||
| followed_by = | |||
| wikisource = | |||
| notes = | |||
| exclude_cover = | |||
| website = | |||
}}</pre> | |||
<noinclude> | |||
[[Category:Infobox templates]] | |||
</noinclude> |
Revision as of 02:27, 15 August 2024
Parameters
{{Infobox book | name = | image = | image_size = | border = | alt = | caption = | author = | audio_read_by = | title_orig = | orig_lang_code = | title_working = | translator = | illustrator = | cover_artist = | language = | series = | release_number = | subject = | genre = | set_in = | publication = | media_type = | pages = | awards = | isbn = | oclc = | dewey = | congress = | preceded_by = | followed_by = | wikisource = | notes = | exclude_cover = | website = }}