Difference between revisions of "Template:Book"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 2: Line 2:
|title=<!--
|title=<!--


-->{{#if:{{{prequel|}}}|<span style="float: left;">[[{{{prev|{{{prequel}}}|}}}|<]]</span>|}}<!--
-->{{#if:{{{prequel|}}}|<span style="float: left; ">[[{{{prev|{{{prequel}}}|}}}|<]]</span>}}<!--
-->{{{title|{{PAGENAME}}|}}}<!--
-->{{{title|{{PAGENAME}}|}}}<!--
-->{{#if:{{{sequel|}}}|<span style="float: right;">[[{{{next|{{{sequel}}}|}}}|>]]</span>}}<!--
-->{{#if:{{{sequel|}}} |<span style="float: right;">[[{{{next|{{{sequel}}}| }}}|>]]</span>}}<!--


-->|1=<!--
-->|1=
<!-- cover image -->

{{#if:{{{cover|}}} |{{row/image |{{{cover}}}|}} }}
cover image
<!-- series -->
-->{{#if:{{{cover|}}}|{{row/image|{{{cover}}}|}}|}}<!--
{{#if:{{{series|}}}{{{perquel|}}}{{{sequel|}}}|

{{!}}-
series
{{!}} colspan=2 style="padding: 0; margin: 0;" {{!}}
-->{{#if:<!--
{{{!}} width=100%
-->{{{hide-series|}}}{{{series|}}}{{{prequel|}}}{{{sequel|}}}<!--
-->|{{#!:
{{!}}-
! colspan=2 align=center {{!}} {{{series|Series}}}
|-
{{!}}-
| colspan=2 style="padding: 0; margin: 0;" |
{{#if:{{{prequel}}} |{{row/kv|Follows |''[[{{{prev|{{{{prequel}}}|}}}|{{{prequel}}}]]'' }}|}}
{| width=100% class="mw-collapsible {{{hide-series|mw-collapsed}}}"
{{#if:{{{sequel}}} |{{row/kv|Precedes |''[[{{{next|{{{sequel}}}|}}} |{{{sequel}}} ]]'' }}|}}
|-
{{!}}}
! colspan=2 align=center | {{{series|Series}}}
}}
|-
<!-- release date -->
{{#if:{{{prequel|}}}|{{row/kv|Follows|''[[{{{prev|{{{prequel}}}|}}}|{{{prequel}}}]]''}}|}}
{{#if:{{{sequel|}}}|{{row/kv|Precedes|''[[{{{next|{{{sequel}}}|}}}|{{{sequel}}}]]''}}|}}
{{#if:{{{released|}}} |{{row/kv|Released |{{{released}}} }}|}}
<!-- publisher's wikipedia page -->
|}}}|}}
{{#if:{{{publisher-raw|}}} |{{row/kv|Publisher |{{{publisher-raw}}} }}|}}
<!--
{{#if:{{{publisher|}}} |{{row/kv|Publisher |[[wikipedia:{{{publisher}}}|{{{publisher}}}]] }}|}}

<!-- ISBN -->
release date
-->{{#if:{{{released|}}}|{{row/kv|Released|{{{released}}}|}}|}}<!--
{{#if:{{{ISBN|}}} |{{row/kv|ISBN |[[Special: BookSources/{{{ISBN}}}|{{{ISBN}}}]] }}|}}
<!-- annotations -->
publisher's wikipedia page
{{#if:{{{annotations|}}} |{{row/kv|Annotations |[[bws:{{{annotations}}}|{{{a-text|Portal}}}]] }}|}}
-->{{#if:{{{publisher-raw|{{{publisher|}}}|}}}|<!--
-->{{row/kv|Publisher|{{{publisher-raw|[[wikipedia:{{{publisher}}}|{{{publisher}}}]]|}}}|}}<!--
{{#if:{{{annotation|}}} |{{row/kv|Annotation |[[bws:{{{annotation}}} |{{{a-text|here}}}]] }}|}}
-->|}}<!--
}}<includeonly><!--
ISBN
-->{{#if:{{{ISBN|}}}|{{row/kv|ISBN|[[Special: BookSources/{{{ISBN}}}|{{{ISBN}}}]]}}|}}<!--

annotations
-->{{#if:{{{annotations|}}}|{{row/kv|Annotations|[[bws:{{{annotations}}}|{{{a-text|Portal}}}]]}}<!--
-->|{{#if:{{{annotation|}}}|{{row/kv|Annotation|[[bws:{{{annotation}}}|{{{a-text|here}}}]]}}|}}<!--
-->}}<!--

-->}}<includeonly><!--


-->[[Category: Books]]<!--
-->[[Category: Books]]<!--

Revision as of 20:53, 4 December 2014

Book

This template is used to describe books. It will add the article to Category: 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.