Jump to content

Template:Book/doc: Difference between revisions

From Sandie Shaw Wiki
PinkPugPrincess (talk | contribs)
Added a category.
PinkPugPrincess (talk | contribs)
Necessary updates as this wiki has moved from Fandom.
 
Line 1: Line 1:
== Description ==
;Description
To use this template, add the {{T|{{BASEPAGENAME}}}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses [[w:Help:Infobox|Fandom's infobox syntax]].
:To use this template, enter the following and fill in the appropriate fields. Any field left blank will not show up. Don't forget to include brackets, to make the fields into links.
;Syntax
:Type <code>{{t|book|...}}</code> somewhere, with parameters as shown below.
;Sample output


== Syntax ==
<pre>{{Book
<pre>{{Book
| title        =
| image        = [e.g. "Example.jpg"]
| author        =
| illustrator  =
| datePublished =
| publisher    =
| previous      =
| next          =
}}</pre>
== Sample output ==
{{Book
  | title        = The Adventures of Flower
  | title        = The Adventures of Flower
  | image        = Example.jpg
  | image        = Example.jpg
  | author        = Alice
  | author        = Alice
  | illustrator  = Bob
  | illustrator  = Bob
  | datePublished = April 1928
  | published    = April 1928
  | publisher    = Arthur's
  | publisher    = Arthur's
  | previous      = Book One
  | previous      = Book One
  | next          = Book Three
  | next          = Book Three
}}
}}</pre>
<pre>{{Book
 
Results in...
 
{{Book
  | title        = The Adventures of Flower
  | title        = The Adventures of Flower
  | image        = Example.jpg
  | image        = Example.jpg
  | author        = Alice
  | author        = Alice
  | illustrator  = Bob
  | illustrator  = Bob
  | datePublished = April 1928
  | published    = April 1928
  | publisher    = Arthur's
  | publisher    = Arthur's
  | previous      = Book One
  | previous      = Book One
  | next          = Book Three
  | next          = Book Three
}}
}}
</pre><includeonly>[[Category:Infobox templates]][[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]][[Category:Templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 21:27, 4 September 2025

Description
To use this template, enter the following and fill in the appropriate fields. Any field left blank will not show up. Don't forget to include brackets, to make the fields into links.
Syntax
Type {{book|<...>}} somewhere, with parameters as shown below.
Sample output
{{Book
 | title         = The Adventures of Flower
 | image         = Example.jpg
 | author        = Alice
 | illustrator   = Bob
 | published     = April 1928
 | publisher     = Arthur's
 | previous      = Book One
 | next          = Book Three
}}

Results in...

The Adventures of Flower
Author: Alice
Illustrator: Bob
Published: April 1928
Publisher: Arthur's
Previous: Book One
Next: Book Three
Cookies help us deliver our services. By using our services, you agree to our use of cookies.