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 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|}}} | ||
− | | | + | | label1 = Author |
− | | | + | | data1 = {{#if:{{{author|}}}|{{#if:{{#pos:{{{author}}}|]]|}}|{{{author}}}|[[{{{author}}}]] }} }} |
− | | | + | | label2 = Coauthor |
− | | | + | | data2 = {{{coauthor|}}} |
− | | | + | | label3 = {{{editor_title|Editor}}} |
− | | | + | | data3 = {{{editor|}}} |
− | | | + | | label4 = Publisher |
− | | | + | | data4 = {{#if:{{{publisher|}}}|[[{{{publisher}}}]]}} |
| label30 = Subject | | label30 = Subject | ||
| data30 = {{{subject|}}} | | data30 = {{{subject|}}} | ||
− | | | + | | label5 = Illustrator |
− | | | + | | data5 = {{{illustrator|}}} |
− | | | + | | label6 = Publication Date |
− | | | + | | data6 = {{#if:{{{pub_date|}}}|[[{{{pub_date}}}]]}} |
− | | | + | | label7 = Language |
− | | | + | | data7 = {{#if:{{{language|}}}|{{{language|}}}|English }} |
| label20 = Pages | | label20 = Pages | ||
| data20 = {{{pages|}}} | | data20 = {{{pages|}}} |
Revision as of 22: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--> | 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