Template:Infobox book: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
Line 4:
| bodyclass = ib-book vcard
<!---------------Title (inside the box)----------------->
|
-->{{{name|{{PAGENAMEBASE}}}}} <!--
--><span class="Z3988"
Line 28:
<!---------------Data------------------>
| label1 =
| data1 = {{{
| label2 =
| data2 = {{{
| label3 =
| data3 = {{{
| label4 =
| data4 = {{{audio_read_by|}}}
| 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}}}''}} }}▼
| label5 =
▲|
| label6 =
| data6 = {{#if:{
| label7 =
| data7 = {{{
| label8 =
| data8 = {{{
| label9 = Cover artist
| data9 = {{{cover_artist|}}}
| label11 = Language
Line 112 ⟶ 115:
| 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|}}}"}}
}}
Line 142 ⟶ 145:
}} }}
|
|
| {{formatnum:{{#iferror:
| {{formatnum:{{{goodreads_rating}}}}}/5{{#if:{{{goodreads_ratings_count|}}} | ({{formatnum:{{{goodreads_ratings_count}}}}} ratings)}}{{#if:{{{goodreads_url|}}} | – [{{{goodreads_url}}} Goodreads]}}▼
{{#expr: floor(({{formatnum:{{{goodreads_rating}}}|R}} * 10) + 0.5) / 10 }}
| {{formatnum:{{{goodreads_rating}}}|R}}
}}}}/5
▲
}}
|
|
| FETCH_WIKIDATA
| {{#if:{{#property:P856}}|{{Url|1={{#invoke:Wikidata|getValue|P856|FETCH_WIKIDATA}} }} }}
Line 157 ⟶ 164:
| 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 | 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|}}}
}}<noinclude>
| |||