Actions

Template

Difference between revisions of "Infobox Book"

From

 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table class="infobox" align="right" style="width: 20em; font-size: 90%; text-align: left; border: 1px green solid;">
+
<includeonly>[[Category:Books]]<table class="infobox" align="right" style="width: 20em; font-size: 90%; text-align: left; border: 1px black solid;"><!--
<caption style="font-size: larger;">'''''{{{name}}}'''''</caption><!--
+
-->{{#if:{{{Title|}}}|{{#set:name={{{Title}}}}}}}<!--
 +
-->{{#if:{{{Link|}}}|{{#set:Link={{{Link}}}/summary}}}}<!--
 +
--><caption style="font-size: larger;font-style:italic;font-weight:bold"><!--
 +
-->{{#if:{{{Link|}}}<!--
 +
then-->|[{{{Link}}}/summary {{#if:{{{name|}}}|{{{name}}}|{{{Title|}}}}}]<!-- 
 +
else-->|{{#if:{{{name|}}}|{{{name}}}|{{{Title|}}}}}<!--
 +
-->}}</caption><!--
 
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center;">{{{image|}}}</td></tr>}}<!--
 
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center;">{{{image|}}}</td></tr>}}<!--
 
-->{{#if:{{{image|}}}|{{#if:{{{image_caption|}}}|<tr><td colspan="2" style="text-align: center;">{{{image_caption|}}}</td></tr>}}}}
 
-->{{#if:{{{image|}}}|{{#if:{{{image_caption|}}}|<tr><td colspan="2" style="text-align: center;">{{{image_caption|}}}</td></tr>}}}}
<tr><th>Author</th><td>{{{author}}}</td></tr><!--
+
<tr><th>Author</th><td>{{{author|}}}{{{Author|}}}</td></tr><!--
 
-->{{#if:{{{title_orig|}}}|<tr><th>Original title (if not in English)</th><td>{{{title_orig|}}}</td></tr>}}<!--
 
-->{{#if:{{{title_orig|}}}|<tr><th>Original title (if not in English)</th><td>{{{title_orig|}}}</td></tr>}}<!--
 
-->{{#if:{{{translator|}}}|<tr><th>Translator</th><td>{{{translator|}}}</td></tr>}}<!--
 
-->{{#if:{{{translator|}}}|<tr><th>Translator</th><td>{{{translator|}}}</td></tr>}}<!--
Line 21: Line 27:
 
-->{{#if:{{{preceded_by|}}}|<tr><th>Preceded&nbsp;by</th><td>''{{{preceded_by|}}}''</td></tr>}}<!--
 
-->{{#if:{{{preceded_by|}}}|<tr><th>Preceded&nbsp;by</th><td>''{{{preceded_by|}}}''</td></tr>}}<!--
 
-->{{#if:{{{followed_by|}}}|<tr><th>Followed&nbsp;by</th><td>''{{{followed_by|}}}''</td></tr>}}
 
-->{{#if:{{{followed_by|}}}|<tr><th>Followed&nbsp;by</th><td>''{{{followed_by|}}}''</td></tr>}}
</table><noinclude>
+
</table>{{DiscussionWidget}}</includeonly><noinclude>
  
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
 
{{Infobox Book  
 
{{Infobox Book  
 +
| Title        = old param
 +
| Link          = old param
 +
| Author        = old param
 
| name          =  
 
| name          =  
 
| title_orig    =  
 
| title_orig    =  

Latest revision as of 13:07, 22 February 2016


Usage

{{Infobox Book 
| Title         = old param
| Link          = old param
| Author        = old param
| name          = 
| title_orig    = 
| translator    = 
| image         = http://books.google.com/books?id=auZXJuwLw8QC&printsec=frontcover&dq=the+glass+castle&source=gbs_summary_r&cad=0
| image_caption = the book
| author        = Jeannette Walls
| illustrator   = 
| cover_artist  = 
| country       = 
| language      = 
| series        = 
| subject       = 
| genre         = 
| publisher     = 
| release_date  = 
| media_type    = 
| pages         = 
| isbn          = 
| preceded_by   = 
| followed_by   = 
}}


Please do not make major changes to the infobox without proposing and discussing it on the talk page first.