Difference between revisions of "Template:Infobox book"
(Clearer form of code. Does not affect functionality or style.) |
|||
Line 1: | Line 1: | ||
− | + | {| class="infobox" style="width: 20em; text-align: left; font-size: 90%" cellspacing="2" | |
− | + | |- | |
− | - | + | | style="font-size: 110%;" align="center" colspan="2" | '''''{{{name}}}''''' |
− | + | |- | |
− | + | {{qif | test={{{image|}}} | then= | |
− | + | {{!}} style="font-size: 100%;" align="center" colspan="2" {{!}} {{{image}}}}} | |
− | + | |- | |
− | + | ! Author | |
− | + | | {{{author}}} | |
− | + | |- | |
− | + | {{qif | test={{{title_orig|}}} | then= | |
− | + | ! Original title (if not in English) | |
− | + | {{!}} {{{title_orig}}}}} | |
− | + | |- | |
− | + | {{qif | test={{{translator|}}} | then= | |
− | + | ! Translator | |
− | + | {{!}} {{{translator}}}}} | |
− | + | |- | |
− | + | {{qif | test={{{cover_artist|}}} | then= | |
− | + | ! Cover Artist | |
− | + | {{!}} {{{cover_artist}}}}} | |
− | + | |- | |
− | ==Usage== | + | {{qif | test={{{country|}}} | then= |
− | <pre> | + | ! Country |
− | {{Infobox Book | + | {{!}} {{{country}}}}} |
+ | |- | ||
+ | {{qif | test={{{language|}}} | then= | ||
+ | ! Language | ||
+ | {{!}} {{{language}}}}} | ||
+ | |- | ||
+ | {{qif | test={{{series|}}} | then= | ||
+ | ! Series | ||
+ | {{!}} {{{series}}}}} | ||
+ | |- | ||
+ | {{qif | test={{{subject|}}} | then= | ||
+ | ! Subject(s) | ||
+ | {{!}} {{{subject}}}}} | ||
+ | |- | ||
+ | {{qif | test={{{genre|}}} | then= | ||
+ | ! Genre(s) | ||
+ | {{!}} {{{genre}}}}} | ||
+ | |- | ||
+ | ! Publisher | ||
+ | | {{{publisher}}} | ||
+ | |- | ||
+ | ! Released | ||
+ | | {{{release_date}}} | ||
+ | |- | ||
+ | {{qif | test={{{media_type|}}} | then= | ||
+ | ! Media Type | ||
+ | {{!}} {{{media_type}}}}} | ||
+ | |- | ||
+ | {{qif | test={{{pages|}}} | then= | ||
+ | ! Pages | ||
+ | {{!}} {{{pages}}}}} | ||
+ | |- | ||
+ | {{qif | test={{{size_weight|}}} | then= | ||
+ | ! Size and Weight | ||
+ | {{!}} {{{size_weight}}}}} | ||
+ | |- | ||
+ | {{qif | test={{{isbn|}}} | then= | ||
+ | ! ISBN | ||
+ | {{!}} {{{isbn}}}}} | ||
+ | |- | ||
+ | {{qif | test={{{preceded_by|}}} | then= | ||
+ | ! Preceded by | ||
+ | {{!}} {{{preceded_by}}}}} | ||
+ | |- | ||
+ | {{qif | test={{{followed_by|}}} | then= | ||
+ | ! Followed by | ||
+ | {{!}} {{{followed_by}}}}} | ||
+ | |}<noinclude> | ||
+ | == Usage == | ||
+ | {| style="background: transparent;" | ||
+ | |<pre>{{Infobox Book | ||
| name = | | name = | ||
− | |||
− | |||
| image = | | image = | ||
| author = | | author = | ||
+ | | title_orig = | ||
+ | | translator = | ||
| cover_artist = | | cover_artist = | ||
| country = | | country = | ||
Line 43: | Line 93: | ||
| preceded_by = | | preceded_by = | ||
| followed_by = | | followed_by = | ||
− | }} | + | }}</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:Infobox_Book]]) still work. | 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. | ||
Line 50: | Line 100: | ||
[[Category:Infobox templates|Book]] | [[Category:Infobox templates|Book]] | ||
[[Category:Book templates|{{PAGENAME}}]] | [[Category:Book templates|{{PAGENAME}}]] | ||
+ | [[Category:WikiProject Books|Infobox Book]] | ||
+ | [[Category:WikiProject Novels|Infobox Book]] | ||
</noinclude> | </noinclude> | ||
− |
Revision as of 08:57, 6 April 2006
{{{name}}} | |
Author | {{{author}}} |
---|---|
Publisher | {{{publisher}}} |
Released | {{{release_date}}} |
Usage
{{Infobox Book | name = | image = | author = | title_orig = | translator = | 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.