Difference between revisions of "Template:Infobox book"
(re-add release_date (still can hold value for the original year of publication)) |
|||
Line 1: | Line 1: | ||
− | + | <table class="infobox" style="width: 20em; font-size: 90%; text-align: left;"> | |
− | + | <caption style="font-size: larger;">'''''{{{name}}}'''''</caption><!-- | |
− | + | -->{{qif|test={{{image|}}}|then=<tr><td colspan="2" style="text-align: center;">{{{image|}}}</td></tr>}} | |
− | | colspan="2" style="text-align: center;" | + | <tr><th>Author</th><td>{{{author}}}</td></tr><!-- |
− | |- | + | -->{{qif|test={{{title_orig|}}}|then=<tr><th>Original title (if not in English)</th><td>{{{title_orig|}}}</td></tr>}}<!-- |
− | ! | + | -->{{qif|test={{{translator|}}}|then=<tr><th>Translator</th><td>{{{translator|}}}</td></tr>}}<!-- |
− | | {{{ | + | -->{{qif|test={{{cover_artist|}}}|then=<tr><th>Cover Artist</th><td>{{{cover_artist|}}}</td></tr>}}<!-- |
− | |- | + | -->{{qif|test={{{country|}}}|then=<tr><th>Country</th><td>{{{country|}}}</td></tr>}}<!-- |
− | ! | + | -->{{qif|test={{{language|}}}|then=<tr><th>Language</th><td>{{{language|}}}</td></tr>}}<!-- |
− | | {{{ | + | -->{{qif|test={{{series|}}}|then=<tr><th>Series</th><td>{{{series}}}</td></tr>}}<!-- |
− | |- | + | -->{{qif|test={{{subject|}}}|then=<tr><th>Subject(s)</th><td>{{{subject|}}}</td></tr>}}<!-- |
− | + | -->{{qif|test={{{genre|}}}|then=<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><!-- |
− | + | -->{{qif|test={{{media_type|}}}|then=<tr><th>Media Type</th><td>{{{media_type|}}}</td></tr>}}<!-- | |
− | + | -->{{qif|test={{{pages|}}}|then=<tr><th>Pages</th><td>{{{pages|}}}</td></tr>}}<!-- | |
− | + | -->{{qif|test={{{size_weight|}}}|then=<tr><th>Size and Weight</th><td>{{{size_weight|}}}</td></tr>}}<!-- | |
− | + | -->{{qif|test={{{isbn|}}}|then=<tr><th>ISBN</th><td>{{{isbn|}}}</td></tr>}}<!-- | |
− | + | -->{{qif|test={{{preceded_by|}}}|then=<tr><th>Preceded by</th><td>''{{{preceded_by|}}}''</td></tr>}}<!-- | |
− | + | -->{{qif|test={{{followed_by|}}}|then=<tr><th>Followed by</th><td>''{{{followed_by|}}}''</td></tr>}} | |
− | ! | + | </table><noinclude> |
− | | {{{ | + | |
− | |- | + | |
− | ! | + | |
− | | {{{ | + | |
− | |- | + | |
− | ! | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
==Usage== | ==Usage== | ||
Line 37: | Line 26: | ||
| name = | | name = | ||
| orig title = | | orig title = | ||
+ | | translator = | ||
| image = | | image = | ||
− | |||
| author = | | author = | ||
− | | | + | | cover_artist = |
| country = | | country = | ||
| language = | | language = | ||
− | |||
− | |||
| series = | | series = | ||
+ | | subject = | ||
+ | | genre = | ||
| publisher = | | publisher = | ||
+ | | release_date = | ||
+ | | media_type = | ||
+ | | pages = | ||
+ | | size_weight = | ||
+ | | isbn = | ||
| preceded_by = | | preceded_by = | ||
| followed_by = | | followed_by = | ||
Line 52: | Line 46: | ||
</pre> | </pre> | ||
− | 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: | + | 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. |
[[Category:Infobox templates|Book]] | [[Category:Infobox templates|Book]] |
Revision as of 15:38, 14 March 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.