Template:Infobox book: Difference between revisions
From Vigyanwiki
Template>Ligulem (What's the problem with this? Reverting back. Please specify why you revert.) |
Template>Kevinalewis (Because these "are" required field and you made the change without discussion as is requested.) |
||
| 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|}}} | -->{{#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|}}} | -->{{#if:{{{title_orig|}}}|<tr><th>Original title (if not in English)</th><td>{{{title_orig|}}}</td></tr>}}<!-- | ||
-->{{#if: {{{translator|}}} | -->{{#if:{{{translator|}}}|<tr><th>Translator</th><td>{{{translator|}}}</td></tr>}}<!-- | ||
-->{{#if: {{{illustrator|}}} | <tr><th>Illustrator</th> <td>{{{illustrator}}}</td> </tr>}}<!-- | -->{{#if:{{{illustrator|}}}|<tr><th>Illustrator</th><td>{{{illustrator|}}}</td></tr>}}<!-- | ||
-->{{#if: {{{cover_artist|}}}| <tr><th>Cover Artist</th><td>{{{cover_artist}}}</td></tr>}}<!-- | -->{{#if:{{{cover_artist|}}}|<tr><th>Cover Artist</th><td>{{{cover_artist|}}}</td></tr>}}<!-- | ||
-->{{#if: {{{country|}}} | -->{{#if:{{{country|}}}|<tr><th>Country</th><td>{{{country|}}}</td></tr>}}<!-- | ||
-->{{#if: {{{language|}}} | -->{{#if:{{{language|}}}|<tr><th>Language</th><td>{{{language|}}}</td></tr>}}<!-- | ||
-->{{#if: {{{series|}}} | -->{{#if:{{{series|}}}|<tr><th>Series</th><td>{{{series}}}</td></tr>}}<!-- | ||
-->{{#if: {{{subject|}}} | -->{{#if:{{{subject|}}}|<tr><th>Subject(s)</th><td>{{{subject|}}}</td></tr>}}<!-- | ||
-->{{#if: {{{genre|}}} | -->{{#if:{{{genre|}}}|<tr><th>Genre(s)</th><td>{{{genre|}}}</td></tr>}} | ||
<tr><th>Publisher</th><td>{{{publisher}}}</td></tr> | |||
<tr><th>Released</th><td>{{{release_date}}}</td></tr><!-- | |||
-->{{#if: {{{english_release_date|}}} | <tr><th>Released in English</th><td>{{{english_release_date}}}</td></tr>}}<!-- | -->{{#if:{{{english_release_date|}}}|<tr><th>Released in English</th><td>{{{english_release_date}}}</td></tr>}}<!-- | ||
-->{{#if: {{{media_type|}}} | -->{{#if:{{{media_type|}}}|<tr><th>Media Type</th><td>{{{media_type|}}}</td></tr>}}<!-- | ||
-->{{#if: {{{pages|}}} | -->{{#if:{{{pages|}}}|<tr><th>Pages</th><td>{{{pages|}}}</td></tr>}}<!-- | ||
-->{{#if: {{{size_weight|}}} | <tr><th>Size and Weight</th><td>{{{size_weight}}}</td></tr>}}<!-- | -->{{#if:{{{size_weight|}}}|<tr><th>Size and Weight</th><td>{{{size_weight|}}}</td></tr>}}<!-- | ||
-->{{#if: {{{isbn|}}} | -->{{#if:{{{isbn|}}}|<tr><th>ISBN</th><td>{{{isbn|}}}</td></tr>}}<!-- | ||
-->{{#if: {{{preceded_by|}}} | <tr><th>Preceded by</th><td>''{{{preceded_by}}}''</td></tr>}}<!-- | -->{{#if:{{{preceded_by|}}}|<tr><th>Preceded by</th><td>''{{{preceded_by|}}}''</td></tr>}}<!-- | ||
-->{{#if: {{{followed_by|}}} | <tr><th>Followed by</th><td>''{{{followed_by}}}''</td></tr>}} | -->{{#if:{{{followed_by|}}}|<tr><th>Followed by</th><td>''{{{followed_by|}}}''</td></tr>}} | ||
</table><noinclude> | </table><noinclude> | ||
Revision as of 18:34, 6 November 2006
| Author | {{{author}}} |
|---|---|
| Publisher | {{{publisher}}} |
| Released | {{{release_date}}} |
Usage
{{Infobox Book
| name =
| title_orig =
| translator =
| image =
| image_caption =
| author =
| illustrator =
| cover_artist =
| country =
| language =
| series =
| subject =
| genre =
| publisher =
| release_date =
| english_release_date =
| media_type =
| pages =
| isbn =
| preceded_by =
| followed_by =
}}
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Please do not make major changes to the infobox without proposing and discussing it on the talk page first.