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.
Jump to: navigation, search
m
m
Line 6: Line 6:
 
| label1    = Author
 
| label1    = Author
 
| data1      = {{#if:{{{author|}}}|{{#if:{{#pos:{{{author}}}|]]|}}|{{{author}}}|[[{{{author}}}]] }} }}
 
| data1      = {{#if:{{{author|}}}|{{#if:{{#pos:{{{author}}}|]]|}}|{{{author}}}|[[{{{author}}}]] }} }}
 +
| label30    = Coauthor
 +
| data30      = {{#if:{{{coauthor|}}}|{{#if:{{#pos:{{{coauthor}}}|]]|}}|{{{coauthor}}}|[[{{{coauthor}}}]] }} }}
 
| label2    = {{{editor_title|Editor}}}
 
| label2    = {{{editor_title|Editor}}}
 
| data2      = {{{editor|}}}
 
| data2      = {{{editor|}}}
Line 37: Line 39:
 
}}[[Category:Books]]
 
}}[[Category:Books]]
 
{{#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:{{{language|}}}|[[Category:{{{language}}} books]]| [[Category:English books]]}}
 
{{#if:{{{language|}}}|[[Category:{{{language}}} books]]| [[Category:English books]]}}
 
{{#if:{{{pub_date|}}}|[[Category:Books published in {{{pub_date}}}]]}}
 
{{#if:{{{pub_date|}}}|[[Category:Books published in {{{pub_date}}}]]}}

Revision as of 21:08, 20 March 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-->
| 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