Difference between revisions of "Template:Infobox book"
(rv) |
(qif -> #if: (see m:ParserFunctions) using AWB) |
||
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>}} |
<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:{{{translator|}}}|<tr><th>Translator</th><td>{{{translator|}}}</td></tr>}}<!-- |
− | -->{{ | + | -->{{#if:{{{cover_artist|}}}|<tr><th>Cover Artist</th><td>{{{cover_artist|}}}</td></tr>}}<!-- |
− | -->{{ | + | -->{{#if:{{{country|}}}|<tr><th>Country</th><td>{{{country|}}}</td></tr>}}<!-- |
− | -->{{ | + | -->{{#if:{{{language|}}}|<tr><th>Language</th><td>{{{language|}}}</td></tr>}}<!-- |
− | -->{{ | + | -->{{#if:{{{series|}}}|<tr><th>Series</th><td>{{{series}}}</td></tr>}}<!-- |
− | -->{{ | + | -->{{#if:{{{subject|}}}|<tr><th>Subject(s)</th><td>{{{subject|}}}</td></tr>}}<!-- |
− | -->{{ | + | -->{{#if:{{{genre|}}}|<tr><th>Genre(s)</th><td>{{{genre|}}}</td></tr>}} |
<tr><th>Publisher</th><td>{{{publisher}}}</td></tr> | <tr><th>Publisher</th><td>{{{publisher}}}</td></tr> | ||
<tr><th>Released</th><td>{{{release_date}}}</td></tr><!-- | <tr><th>Released</th><td>{{{release_date}}}</td></tr><!-- | ||
− | -->{{ | + | -->{{#if:{{{media_type|}}}|<tr><th>Media Type</th><td>{{{media_type|}}}</td></tr>}}<!-- |
− | -->{{ | + | -->{{#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:{{{isbn|}}}|<tr><th>ISBN</th><td>{{{isbn|}}}</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>}} |
</table><noinclude> | </table><noinclude> | ||
Revision as of 21:21, 20 April 2006
Author | {{{author}}} |
---|---|
Publisher | {{{publisher}}} |
Released | {{{release_date}}} |
Usage
{{Infobox Book | name = | orig title = | translator = | image = | author = | cover_artist = | country = | language = | series = | subject = | genre = | publisher = | release_date = | media_type = | pages = | size_weight = | isbn = | preceded_by = | followed_by = }}
Please do not make major changes to the infobox, such as the addition of new fields (e.g. MPAA ratings), without proposing and discussing it on the talk page first. If you make any changes, please make sure that all pages relying on this template (Special:Whatlinkshere/Template:Infobox_Book) still work.