Template:Infobox book: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
| bodyclass = ib-book vcard |
| bodyclass = ib-book vcard |
||
<!---------------Title-----------------> |
<!---------------Title (inside the box)-----------------> |
||
| |
| above = <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|}}}{{{full_title|{{{full title|}}}}}}| }}<!-- hack for ref ordering |
||
-->{{{name|{{PAGENAMEBASE}}}}} <!-- |
-->{{{name|{{PAGENAMEBASE}}}}} <!-- |
||
--><span class="Z3988" |
--><span class="Z3988" |
||
| Line 28: | Line 28: | ||
<!---------------Data------------------> |
<!---------------Data------------------> |
||
| label1 = |
| label1 = Full title |
||
| data1 = {{{ |
| data1 = {{{full_title|{{{full title|}}}}}} |
||
| label2 = |
| label2 = Editor{{#if:{{{editors|}}}|s}} |
||
| data2 = {{{ |
| data2 = {{{editors|{{{editor|}}}}}} |
||
| label3 = |
| label3 = Author{{#if:{{{authors|}}}|s}} |
||
| data3 = {{{ |
| data3 = {{{authors|{{{author|}}}}}} |
||
| label4 = |
| label4 = Audio read by |
||
| data4 = {{{audio_read_by|}}} |
|||
| ⚫ | |||
| label5 = |
| label5 = Original title |
||
| ⚫ | |||
| data5 = {{#if:{{{title_working|}}} |''{{{title_working}}}''}} |
|||
| label6 = |
| label6 = Working title |
||
| data6 = {{{ |
| data6 = {{#if:{{{title_working|}}} |''{{{title_working}}}''}} |
||
| label7 = |
| label7 = Translator{{#if:{{{translators|}}}|s}} |
||
| data7 = {{{ |
| data7 = {{{translators|{{{translator|}}}}}} |
||
| label8 = |
| label8 = Illustrator{{#if:{{{illustrators|}}}|s}} |
||
| data8 = {{{ |
| data8 = {{{illustrators|{{{illustrator|}}}}}} |
||
| label9 = Cover artist |
|||
| data9 = {{{cover_artist|}}} |
|||
| label11 = Language |
| label11 = Language |
||
| Line 112: | Line 115: | ||
| label34 = Preceded by |
| label34 = Preceded by |
||
| data34 = {{#if:{{{preceded_by|}}} |''{{{preceded_by|}}} '' |
| data34 = {{#if:{{{preceded_by|}}} |''{{{preceded_by|}}} '' |
||
| {{#if:{{{preceded_by_quotation_marks|}}} |"{{{preceded_by_quotation_marks|}}}"}} |
| {{#if:{{{preceded_by_quotation_marks|}}} |"{{{preceded_by_quotation_marks|}}}"}} |
||
}} |
}} |
||
| label35 = Followed by |
| label35 = Followed by |
||
| data35 = {{#if:{{{followed_by|}}} |''{{{followed_by|}}} '' |
| data35 = {{#if:{{{followed_by|}}} |''{{{followed_by|}}} '' |
||
| {{#if:{{{followed_by_quotation_marks|}}} |"{{{followed_by_quotation_marks|}}}"}} |
| {{#if:{{{followed_by_quotation_marks|}}} |"{{{followed_by_quotation_marks|}}}"}} |
||
}} |
}} |
||
| Line 144: | Line 147: | ||
| label38 = Goodreads rating |
| label38 = Goodreads rating |
||
| data38 = {{#if:{{{goodreads_rating|}}} |
| data38 = {{#if:{{{goodreads_rating|}}} |
||
| {{formatnum:{{#iferror: |
|||
| ⚫ | |||
{{#expr: floor(({{formatnum:{{{goodreads_rating}}}|R}} * 10) + 0.5) / 10 }} |
|||
| {{formatnum:{{{goodreads_rating}}}|R}} |
|||
}}}}/5 |
|||
| ⚫ | |||
}} |
}} |
||
| Line 157: | Line 164: | ||
| below = {{{notes|{{{note|}}}}}} |
| below = {{{notes|{{{note|}}}}}} |
||
}}{{#if:{{{image|}}}||{{#ifeq:{{yesno|{{lc:{{{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 | subject | subjects | title_orig | title_working | translator | translators | URL | website | wikisource | goodreads_rating | goodreads_ratings_count | goodreads_url | goodreads_rating_date |
}}{{#if:{{{image|}}}||{{#ifeq:{{yesno|{{lc:{{{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 | full_title | full title | 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 | subject | subjects | title_orig | title_working | translator | translators | URL | website | wikisource | goodreads_rating | goodreads_ratings_count | goodreads_url | goodreads_rating_date |
||
}}{{Wikidata image |1={{{image|}}} |2={{{nocat_wdimage|}}} |
}}{{Wikidata image |1={{{image|}}} |2={{{nocat_wdimage|}}} |
||
}}<noinclude> |
}}<noinclude> |
||