Jump to content

Template:Book: Difference between revisions

From Sandie Shaw Wiki
wikia:sandie-shaw>FANDOM
No edit summary
 
PinkPugPrincess (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><infobox type="Book">
{| border="0" width="320px" style="float: right;"
<title source="title"/>
|-
<image source="image"><caption source="imagecaption"/></image>
|
<data source="author"><label>Author</label></data>
{| border="0" cellpadding="3" cellspacing="4" style="border: 1px solid #f7b2e3; border-radius:5px; background: none;" align="center" infobox layout="tabular"
<data source="illustrator"><label>Illustrator</label></data>
|-
<data source="datePublished"><label>Published on</label></data>
!style="text-align:center; border-radius:5px; margin:0.3em; padding:10px; background:#e843d3" |'''''<big>{{{title|{{PAGENAME}}}}}</big>'''''
<data source="publisher"><label>Publisher</label></data>
|-
<group layout="horizontal">
|
<header>Publication order</header>
{| border="0" cellpadding="2" cellspacing="0"; align="center"
<data source="previous"><label>Previous</label></data>
|-
<data source="next"><label>Next</label></data>
![[Image:{{{image|none.png}}}|300px|center|]]
</group>
|-
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Books]]}}</includeonly><noinclude>{{Documentation}}</noinclude>
|}<div style= align="center"></div>
{| cellpadding="2" cellspacing="1" style="text-align:left; background: none;"
|-valign="top"
{{#if:{{{author|}}} |
!width=100{{!}}Author:
!width=200{{!}}{{{author|}}}
}}
|-valign="top"
{{#if:{{{illustrator|}}} |
!width=100{{!}}Illustrator:
!width=200{{!}}{{{illustrator|}}}
}}
|-valign="top"
{{#if:{{{published|}}} |
!width=100{{!}}Published:
!width=200{{!}}{{{published|}}}
}}
|-valign="top"
{{#if:{{{publisher|}}} |
!width=100{{!}}Publisher:
!width=200{{!}}{{{publisher|}}}
}}
|-valign="top"
{{#if:{{{previous|}}} |
!width=100{{!}}Previous:
!width=200{{!}}{{{previous|}}}
}}
|-valign="top"
{{#if:{{{next|}}} |
!width=100{{!}}Next:
!width=200{{!}}{{{next|}}}
}}
|-
|}
|}
|}
<includeonly>
[[Category:Books]]
</includeonly>
<noinclude><br style="clear:both;"/>
{{documentation}}</noinclude>

Latest revision as of 20:33, 6 September 2025

Book


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.