Help us get to over 8,748 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.
Jump to: navigation, search
m
m
 
(19 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
| image      = {{#if:{{{image_file|}}}|[[Image:{{{image_file}}}|{{px|{{{image_size|}}}|140}}]]}}
 
| image      = {{#if:{{{image_file|}}}|[[Image:{{{image_file}}}|{{px|{{{image_size|}}}|140}}]]}}
 
| caption    = {{{image_caption|}}}
 
| caption    = {{{image_caption|}}}
| label0     = Author
+
| label1     = Author
| data0     = {{#if:{{{author|}}}|{{#if:{{#pos:{{{author}}}|]]|}}|{{{author}}}|[[{{{author}}}]] }} }}
+
| data1     = {{#if:{{{author|}}}|{{#if:{{#pos:{{{author}}}|]]|}}|{{{author}}}|[[{{{author}}}]] }} }}
| label1     = Coauthor
+
| label2     = Coauthor
| data1     = {{{coauthor|}}}
+
| data2     = {{#if:{{{coauthor|}}}|{{#if:{{#pos:{{{coauthor}}}|]]|}}|{{{coauthor}}}|[[{{{coauthor}}}]] }} }}
| label2     = {{{editor_title|Editor}}}
+
| label3     = {{{editor_title|Editor}}}
| data2     = {{{editor|}}}
+
| data3     = {{{editor|}}}
| label3     = Publisher
+
| label4     = Publisher
| data3     = {{#if:{{{publisher|}}}|[[{{{publisher}}}]]}}
+
| data4     = {{#if:{{{publisher|}}}|[[{{{publisher}}}]]}}
 
| label30    = Subject
 
| label30    = Subject
 
| data30    = {{{subject|}}}
 
| data30    = {{{subject|}}}
| label4   = Illustrator
+
| label5   = Illustrator
| data4     = {{{illustrator|}}}
+
| data5     = {{{illustrator|}}}
| label5   = Publication Date
+
| label6   = Publication Date
| data5     = {{#if:{{{pub_date|}}}|[[{{{pub_date}}}]]}}  
+
| data6     = {{#if:{{{pub_date|}}}|[[{{{pub_date}}}]]}}  
| label6   = Language
+
| label7   = Language
| data6     = {{#if:{{{language|}}}|{{{language|}}}|English }}
+
| data7     = {{#if:{{{language|}}}|{{{language|}}}|English }}
 
| label20    = Pages
 
| label20    = Pages
 
| data20    = {{{pages|}}}
 
| data20    = {{{pages|}}}
Line 34: Line 34:
 
| 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}}}] }}
 +
| label14    = Denis Behr's Conjuring Archive
 +
| data14= {{#if:{{{behr|}}}| [http://www.conjuringarchive.com/show.php?book={{urlencode:{{{behr}}}}} {{{behr}}}] }}
 
| label60    =   
 
| label60    =   
| data60= {{#if:{{{gbooks|}}}|{{#widget:Google Books|id={{{gbooks}}} }}[[Category:Books available on Google Books]] }}
+
| data60=  
 
| below  =   
 
| below  =   
}}[[Category:Books]]
+
}}[[Category:Books]]<div style="margin:50px 20px;clear:right;float:right">{{#if:{{{gbooks|}}}|{{#widget:Google Books|id={{{gbooks}}} }}[[Category:Books available on Google Books]] }}</div>
 
{{#if:{{{author|}}}|{{#if:{{#pos:{{{author}}}|]]|}}||[[Category:Books by {{{author}}}]]}} }}
 
{{#if:{{{author|}}}|{{#if:{{#pos:{{{author}}}|]]|}}||[[Category:Books by {{{author}}}]]}} }}
 
{{#if:{{{coauthor|}}}|{{#if:{{#pos:{{{coauthor}}}|]]|}}||[[Category:Books by {{{coauthor}}}]]}} }}
 
{{#if:{{{coauthor|}}}|{{#if:{{#pos:{{{coauthor}}}|]]|}}||[[Category:Books by {{{coauthor}}}]]}} }}

Latest revision as of 16:03, 7 July 2013

Usage

To use this template please add the following code to the top of the article.


{{Infobox book
| author          = <!-- only list one primary author-->
| coauthor        =  
| 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