Difference between revisions of "Template:Infobox book"
(1st attempt didn't work) |
(2nd attempt at image caption) |
||
Line 1: | Line 1: | ||
<table class="infobox" style="width: 20em; font-size: 90%; text-align: left;"> | <table class="infobox" style="width: 20em; font-size: 90%; text-align: left;"> | ||
<caption style="font-size: larger;">'''''{{{name}}}'''''</caption><!-- | <caption style="font-size: larger;">'''''{{{name}}}'''''</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>}}}} | ||
<tr><th>Author</th><td>{{{author}}}</td></tr><!-- | <tr><th>Author</th><td>{{{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>}}<!-- | ||
Line 24: | Line 25: | ||
<pre> | <pre> | ||
{{Infobox Book | {{Infobox Book | ||
− | | name | + | | name = |
− | | title_orig | + | | title_orig = |
− | | translator | + | | translator = |
− | | image | + | | image = |
− | | author | + | | image_caption = |
− | | cover_artist = | + | | author = |
− | | country | + | | cover_artist = |
− | | language | + | | country = |
− | | series | + | | language = |
− | | subject | + | | series = |
− | | genre | + | | subject = |
− | | publisher | + | | genre = |
− | | release_date = | + | | publisher = |
− | | media_type | + | | release_date = |
− | | pages | + | | media_type = |
− | | isbn | + | | pages = |
− | | preceded_by | + | | isbn = |
− | | followed_by | + | | preceded_by = |
+ | | followed_by = | ||
}} | }} | ||
</pre> | </pre> |
Revision as of 14:31, 5 June 2006
Author | {{{author}}} |
---|---|
Publisher | {{{publisher}}} |
Released | {{{release_date}}} |
Usage
{{Infobox Book | name = | title_orig = | translator = | image = | image_caption = | author = | 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.