Difference between revisions of "Template:Book"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 17: Line 17:
 
|-
 
|-
 
| colspan=2 style="padding: 0; margin: 0;" |
 
| colspan=2 style="padding: 0; margin: 0;" |
{| width=100% class="collapsible {{{hide-family|collapsed}}}"
+
{| width=100% class="collapsible {{{hide-series|collapsed}}}"
 
|-
 
|-
! colspan=2 align=center|{{{series|Series}}}
+
! colspan=2 align=center | {{{series|Series}}}
 
|-
 
|-
 
{{#if:{{{prequel|}}}|{{row/kv|Follows|''[[{{{prev|{{{prequel}}}|}}}|{{{prequel}}}]]''}}|}}
 
{{#if:{{{prequel|}}}|{{row/kv|Follows|''[[{{{prev|{{{prequel}}}|}}}|{{{prequel}}}]]''}}|}}
Line 31: Line 31:
 
-->{{#if:{{{publisher|}}}|{{row/kv|Publisher|[[wikipedia:{{{publisher}}}|{{{publisher}}}]]|}}|}}<!--
 
-->{{#if:{{{publisher|}}}|{{row/kv|Publisher|[[wikipedia:{{{publisher}}}|{{{publisher}}}]]|}}|}}<!--
 
ISBN
 
ISBN
-->{{#if:{{{ISBN|}}}|{{row/kv|ISBN|[[Special:BookSources/{{{ISBN}}}|{{{ISBN}}}]]}}|}}<!--
+
-->{{#if:{{{ISBN|}}}|{{row/kv|ISBN|[[Special: BookSources/{{{ISBN}}}|{{{ISBN}}}]]}}|}}<!--
  +
 
annotations
 
annotations
 
-->{{#if:{{{annotations|}}}|{{row/kv|Annotations|[[bws:{{{annotations}}}|{{{a-text|Portal}}}]]}}<!--
 
-->{{#if:{{{annotations|}}}|{{row/kv|Annotations|[[bws:{{{annotations}}}|{{{a-text|Portal}}}]]}}<!--
Line 37: Line 38:
 
-->}}<!--
 
-->}}<!--
   
 
-->}}[[Category: Books]]<noinclude>
--><!--
 
 
-->}}<includeonly>[[Category: Books]]</includeonly><!--
 
 
--><noinclude>[[Category: Infoboxes]]
 
   
 
This template is used to describe books.
 
This template is used to describe books.
Line 51: Line 48:
 
: {{{publisher}}} link to the publisher's Wikipedia page and {{{ISBN}}} does something with the books ISBN number.
 
: {{{publisher}}} link to the publisher's Wikipedia page and {{{ISBN}}} does something with the books ISBN number.
 
: Passing {{{annotations}}} will link to one of the annotations pages on [[Brandon]]'s website.
 
: Passing {{{annotations}}} will link to one of the annotations pages on [[Brandon]]'s website.
  +
  +
[[Category: Books|~]]
 
[[Category: Infoboxes]]

Revision as of 17:34, 3 July 2014

Book

This template is used to describe books.

All the parameters are optional, though it is advised that most of them should be filled in.

Passing a file name in {{{cover}}} will output a thumbnail at the top of the infobox.
The release date can be added in {{{released}}}.
The {{{series}}}, {{{prequel}}} and {{{sequel}}} parameters can be used where appropriate, the prequel and sequel links will add < or > links to the title at the top of the box.
{{{publisher}}} link to the publisher's Wikipedia page and {{{ISBN}}} does something with the books ISBN number.
Passing {{{annotations}}} will link to one of the annotations pages on Brandon's website.