Template:Infobox Book: Difference between revisions

The Emma M. Lion Wiki
added book infobox
 
Switched to new template
Line 1: Line 1:
<noinclude>
<noinclude>
Use this info box for any books.
Use this info box for any books.
</noinclude>
</noinclude><includeonly>
{| class="infobox" style="width: 23em; text-align: left; border: 1px solid #ddd; background-color: #f9f9f9; font-size: 90%; float: right;"
{{Infobox|title={{{name}}}|
|+ align="center" style="font-size: 120%; font-weight: bold;" | {{{name}}}
{{#if:{{{image|}}}|{{IBR Picture|{{{image}}}|{{{caption}}} }}
|-
{{#if:{{{release_date|}}}|{{IBR|Release Date|{{{release_date}}}}}}}
| align="center" colspan="2" | {{#if:{{{image|}}}|[[File:{{{image}}}|250px|thumb|{{{caption|}}}]]}}
{{#if:{{{page_count|}}}|{{IBR|Page Count|{{{page_count}}}}}}}
|-
}}</includeonly><noinclude>
| {{#if:{{{release_date|}}}|'''Release Date:''' {{{release_date}}}}}
|-
| {{#if:{{{page_count|}}}|'''Page Count:''' {{{page_count}}}}}
|}
<noinclude>
== Parameters ==
== Parameters ==
* '''name:''' The name of the character (mandatory for the title, but can be left empty).
* '''name:''' The name of the book (mandatory for the title, but can be left empty).
* '''image:''' The image file for the character (e.g., "CharacterImage.png"). Optional.
* '''image:''' The image file for the character (e.g., "CharacterImage.png"). Optional.
* '''caption:''' A caption for the image. Optional.
* '''caption:''' A caption for the image. Optional.

Revision as of 22:46, 3 February 2025

Use this info box for any books.

Parameters

  • name: The name of the book (mandatory for the title, but can be left empty).
  • image: The image file for the character (e.g., "CharacterImage.png"). Optional.
  • caption: A caption for the image. Optional.
  • release_date:
  • page_count: