Difference between revisions of "Template:Book"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 33: Line 33:
 
-->{{#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/book/{{{annotations}}}|{{{a-text|Portal}}}]]}}|}}<!--
+
-->{{#if:{{{annotations|}}}|{{row/kv|Annotations|[[{{{annotations}}}|{{{a-text|Portal}}}]]}}<!--
  +
-->|{{#if:{{{annotation|}}}|{{row/kv|Annotation|[[{{{annotation}}}|{{{a-text|here}}}]]}}|}}<!--
  +
-->}}<!--
   
 
--><!--
 
--><!--
   
-->}}<includeonly>[[Category:Books]]</includeonly><!--
+
-->}}<includeonly>[[Category: Books]]</includeonly><!--
   
--><noinclude>{{cat|infoboxes}}
+
--><noinclude>[[Category: Infoboxes]]
   
 
This template is used to describe books.
 
This template is used to describe books.

Revision as of 12:05, 20 February 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.