Template:Infobox Book: Difference between revisions
Appearance
f |
new |
||
| Line 1: | Line 1: | ||
{ | <includeonly> | ||
| | {| class="infobox" style="width:22em; font-size:90%; border:1px solid #aaa; background-color:#f9f9f9; padding:0.5em; margin:0.5em 0;" | ||
| image | |- | ||
| caption | ! colspan="2" style="font-size:125%; background-color:#f2f2f2; text-align:center;" | {{{name|}}} | ||
| | |- | ||
| | | {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|upright=1.2]]}} | ||
| | |- | ||
| | | {{#if:{{{caption|}}}|<div style="text-align:center;">''{{{caption}}}''</div>}} | ||
| | |- | ||
| | | '''Author:''' || {{{author|}}} | ||
| | |- | ||
| '''Country:''' || {{{country|}}} | |||
|- | |||
| '''Language:''' || {{{language|}}} | |||
|- | |||
| '''Genre:''' || {{{genre|}}} | |||
|- | |||
| '''Publication Date:''' || {{{pub_date|}}} | |||
|- | |||
| '''Pages:''' || {{{pages|}}} | |||
|- | |||
| '''Media Type:''' || {{{media_type|}}} | |||
|} | |||
</includeonly> | |||
<noinclude> | |||
This template creates an infobox for books. To use it, copy the following example and customize it: | |||
<pre> | |||
{{Infobox book | |||
| name = Book Title | |||
| image = Example.jpg | |||
| caption = Example Caption | |||
| author = Author Name | |||
| country = Country Name | |||
| language = Language Name | |||
| genre = Genre Name | |||
| pub_date = Publication Date | |||
| pages = Number of Pages | |||
| media_type = Media Type | |||
}} | }} | ||
</pre> | |||
</noinclude> | |||
Revision as of 09:21, 26 December 2024
This template creates an infobox for books. To use it, copy the following example and customize it:
{{Infobox book
| name = Book Title
| image = Example.jpg
| caption = Example Caption
| author = Author Name
| country = Country Name
| language = Language Name
| genre = Genre Name
| pub_date = Publication Date
| pages = Number of Pages
| media_type = Media Type
}}