Jump to content

Template:Infobox Book: Difference between revisions

From Impact Evaluation Foundation
f
new
Line 1: Line 1:
{{Infobox
<includeonly>
| name              = {{{name|}}}
{| class="infobox" style="width:22em; font-size:90%; border:1px solid #aaa; background-color:#f9f9f9; padding:0.5em; margin:0.5em 0;"
| image             = {{{image|}}}
|-
| caption           = {{{caption|}}}
! colspan="2" style="font-size:125%; background-color:#f2f2f2; text-align:center;" | {{{name|}}}
| author            = {{{author|}}}
|-
| country          = {{{country|}}}
| {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|upright=1.2]]}}
| language          = {{{language|}}}
|-
| genre            = {{{genre|}}}
| {{#if:{{{caption|}}}|<div style="text-align:center;">''{{{caption}}}''</div>}}
| pub_date          = {{{pub_date|}}}
|-
| pages            = {{{pages|}}}
| '''Author:''' || {{{author|}}}
| media_type        = {{{media_type|}}}
|-
| '''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
}}