Template:Infobox book/doc: Difference between revisions
Appearance
m 1 revision |
m typo Tag: visualeditor-wikitext |
||
| Line 3: | Line 3: | ||
==Syntax== | ==Syntax== | ||
<pre>{{infobox | <pre>{{infobox book | ||
| title = | | title = | ||
| image = [e.g. "Example.jpg"] | | image = [e.g. "Example.jpg"] | ||
Latest revision as of 19:18, November 28, 2022
Description[edit]
To use this template, copy the following code and fill in the appropriate fields.
Syntax[edit]
{{infobox book
| title =
| image = [e.g. "Example.jpg"]
| imagewidth = [e.g. "150"] [default: 210 pixels]
| author =
| illustrator =
| date =
| publisher =
| previous =
| next =
}}
Sample output[edit]
{{infobox book
| title = The Adventures of Flower
| image = Example.jpg
| author = Alice
| illustrator = Bob
| date = April 1928
| publisher = Arthur's
| previous = Book One
| next = Book Three
}}
Results in...
{{#if: Example.jpg | {{#if: Alice | | Author || Alice }} {{#if: Bob | | Illustrator || Bob }} {{#if: April 1928 | | Date posted || April 1928 }} {{#if: | | Link || {{{link}}} }}| The Adventures of Flower | ||
|---|---|---|
| File:Example.jpg | }} | |
| Publication order | ||
| Previous Book One}} |
Next Book Three}} | |
| The Adventures of Flower Chapter List | ||