Template:Infobox book: Difference between revisions
From Vigyanwiki
Template>Kevinalewis (Because these "are" required field and you made the change without discussion as is requested.) |
Template>Ligulem (A lot of articles don't specify these. I suggest you post on talk before snap reverting) |
||
| 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 | -->{{#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 | | <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 | -->{{#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 | -->{{#if: {{{translator|}}} | <tr><th>Translator</th> <td>{{{translator}}}</td> </tr>}}<!-- | ||
-->{{#if:{{{illustrator|}}}|<tr><th>Illustrator</th><td>{{{illustrator | -->{{#if: {{{illustrator|}}} | <tr><th>Illustrator</th> <td>{{{illustrator}}}</td> </tr>}}<!-- | ||
-->{{#if:{{{cover_artist|}}}|<tr><th>Cover Artist</th><td>{{{cover_artist | -->{{#if: {{{cover_artist|}}}| <tr><th>Cover Artist</th><td>{{{cover_artist}}}</td></tr>}}<!-- | ||
-->{{#if:{{{country|}}}|<tr><th>Country</th><td>{{{country | -->{{#if: {{{country|}}} | <tr><th>Country</th> <td>{{{country}}}</td> </tr>}}<!-- | ||
-->{{#if:{{{language|}}}|<tr><th>Language</th><td>{{{language | -->{{#if: {{{language|}}} | <tr><th>Language</th> <td>{{{language}}}</td> </tr>}}<!-- | ||
-->{{#if:{{{series|}}}|<tr><th>Series</th><td>{{{series}}}</td></tr>}}<!-- | -->{{#if: {{{series|}}} | <tr><th>Series</th> <td>{{{series}}}</td> </tr>}}<!-- | ||
-->{{#if:{{{subject|}}}|<tr><th>Subject(s)</th><td>{{{subject | -->{{#if: {{{subject|}}} | <tr><th>Subject(s)</th> <td>{{{subject}}}</td> </tr>}}<!-- | ||
-->{{#if:{{{genre|}}}|<tr><th>Genre(s)</th><td>{{{genre | -->{{#if: {{{genre|}}} | <tr><th>Genre(s)</th> <td>{{{genre}}}</td> </tr>}}<!-- | ||
<tr><th>Publisher</th><td>{{{publisher}}}</td></tr> | -->{{#if: {{{publisher|}}} | <tr><th>Publisher</th> <td>{{{publisher}}}</td> </tr>}}<!-- | ||
<tr><th>Released</th><td>{{{release_date}}}</td></tr><!-- | -->{{#if: {{{release_date|}}}| <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|}}}|<tr><th>Media Type</th><td>{{{media_type | -->{{#if: {{{media_type|}}} | <tr><th>Media Type</th> <td>{{{media_type}}}</td> </tr>}}<!-- | ||
-->{{#if:{{{pages|}}}|<tr><th>Pages</th><td>{{{pages | -->{{#if: {{{pages|}}} | <tr><th>Pages</th> <td>{{{pages}}}</td> </tr>}}<!-- | ||
-->{{#if:{{{size_weight|}}}|<tr><th>Size and Weight</th><td>{{{size_weight | -->{{#if: {{{size_weight|}}} | <tr><th>Size and Weight</th><td>{{{size_weight}}}</td></tr>}}<!-- | ||
-->{{#if:{{{isbn|}}}|<tr><th>ISBN</th><td>{{{isbn | -->{{#if: {{{isbn|}}} | <tr><th>ISBN</th> <td>{{{isbn}}}</td> </tr>}}<!-- | ||
-->{{#if:{{{preceded_by|}}}|<tr><th>Preceded by</th><td>''{{{preceded_by | -->{{#if: {{{preceded_by|}}} | <tr><th>Preceded by</th><td>''{{{preceded_by}}}''</td></tr>}}<!-- | ||
-->{{#if:{{{followed_by|}}}|<tr><th>Followed by</th><td>''{{{followed_by | -->{{#if: {{{followed_by|}}} | <tr><th>Followed by</th><td>''{{{followed_by}}}''</td></tr>}} | ||
</table><noinclude> | </table><noinclude> | ||
Revision as of 18:39, 6 November 2006
| Author | {{{author}}} |
|---|
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.