Help us get to over 8,749 articles in 2024.
If you know of a magician not listed in MagicPedia, start a New Biography for them. Contact us at magicpediahelp@gmail.com
Difference between revisions of "Template:Infobox book"
From Magicpedia, the free online encyclopedia for magicians by magicians.
m |
m |
||
Line 20: | Line 20: | ||
| label61 = Pages | | label61 = Pages | ||
| data61 = {{{pages|}}} | | data61 = {{{pages|}}} | ||
− | |||
− | |||
| label8 = ISBN: | | label8 = ISBN: | ||
|data8 = {{#if:{{{isbn|}}} | {{#iferror: {{#expr:{{{isbn}}}}} | {{{isbn}}} | [[Special:Booksources/{{{isbn}}}|{{{isbn}}}]] }} }} | |data8 = {{#if:{{{isbn|}}} | {{#iferror: {{#expr:{{{isbn}}}}} | {{{isbn}}} | [[Special:Booksources/{{{isbn}}}|{{{isbn}}}]] }} }} | ||
Line 34: | Line 32: | ||
| label13 = [[CARC]] | | label13 = [[CARC]] | ||
| data13= {{#if:{{{carc|}}}| [http://www.conjuringlibrary.net/newopc/booksview.asp?key={{urlencode:{{{carc}}}}} {{{carc}}}] }} | | data13= {{#if:{{{carc|}}}| [http://www.conjuringlibrary.net/newopc/booksview.asp?key={{urlencode:{{{carc}}}}} {{{carc}}}] }} | ||
+ | | label7 = Google books | ||
+ | | data7= {{#if:{{{gbooks|}}}|{{#widget:Google Books|id=q78MAAAAYAAJ}}[[Category:Books available on Google Books]] }} | ||
}}[[Category:Books]] | }}[[Category:Books]] | ||
{{#if:{{{author|}}}|{{#if:{{#pos:{{{author}}}|]]|}}||[[Category:Books by {{{author}}}]]}} }} | {{#if:{{{author|}}}|{{#if:{{#pos:{{{author}}}|]]|}}||[[Category:Books by {{{author}}}]]}} }} | ||
Line 39: | Line 39: | ||
{{#if:{{{pub_date|}}}|[[Category:Books published in {{{pub_date}}}]]}} | {{#if:{{{pub_date|}}}|[[Category:Books published in {{{pub_date}}}]]}} | ||
{{#if:{{{publisher|}}}|[[Category:Books published by {{{publisher}}}]]}} | {{#if:{{{publisher|}}}|[[Category:Books published by {{{publisher}}}]]}} | ||
− | + | ||
}} | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> |
Revision as of 17:07, 12 May 2012
Usage
To use this template please add the following code to the top of the article.
{{Infobox book | author = <!-- only list one primary author--> | pub_date = | publisher = | subject = | image_file = | image_size = | image_caption = | editor = | illustrator = | language = English | pages = | isbn = | series = | preceded_by = | followed_by = | gbooks = <!-- google books ID --> }}
Note: If you have no information for a certain parameter please just blank it rather than removing it so that other editors can see that it needs adding at a later stage