Difference between revisions of "Template:Book"
Jump to navigation
Jump to search
m (try dat) |
m (try that) |
||
Line 1: | Line 1: | ||
− | {{ |
+ | {{infobox |
− | |title= |
+ | |title=<!-- |
− | |1= |
||
− | <!-- optional cover image --> |
||
⚫ | |||
⚫ | |||
⚫ | |||
− | <!-- optional release date --> |
||
⚫ | |||
− | <!-- optional series link --> |
||
⚫ | |||
− | <!-- optional links to pre/sequels --> |
||
⚫ | |||
⚫ | |||
− | <!-- optional ISBN for the book --> |
||
⚫ | |||
− | <!-- optional links to summary/annotations/epigraphs and pre/sequels --> |
||
− | {{#if:{{{l|}}}||{{#!: |
||
− | |- align=center |
||
− | | colspan=2 style="padding:0px;white-space:nowrap;" |<!-- |
||
− | -->{{bookLinks|title={{{title|{{PAGENAME}}|}}}|prev={{{prequel|}}}|next={{{sequel|}}}|s={{{s|}}}|a={{{a|}}}|}}<!-- |
||
− | -->}}<!-- -->}}<!-- -->}} |
||
⚫ | |||
+ | -->{{#if:{{{prequel|}}}|<span style="float: left;">[[{{{prequel}}}|<]]</span>|}}<!-- |
||
− | Usage example: |
||
+ | -->{{{title|{{PAGENAME}}|}}}<!-- |
||
− | <pre> |
||
+ | -->{{#if:{{{sequel|}}}|<span style="float: right;">[[{{{sequel}}}|<]]</span>}}<!-- |
||
− | {{BookInfobox |
||
+ | |||
− | |title=The Way of Kings |
||
+ | -->|1=<!-- |
||
− | |image=TheWayOfKings.png |
||
+ | |||
− | |publisher=Tor books |
||
+ | cover image |
||
− | |series=The Stormlight Archive |
||
⚫ | |||
⚫ | |||
+ | |||
⚫ | |||
+ | release date |
||
− | |ISBN=978-0765326355 |
||
⚫ | |||
− | }} |
||
+ | |||
− | </pre> |
||
+ | series |
||
− | [[Category:Infoboxes|{{PAGENAME}}]] |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
+ | |||
⚫ | |||
⚫ | |||
+ | ISBN |
||
⚫ | |||
+ | annotations |
||
+ | -->{{#if:{{{annotations|}}}|{{row/kv|Annotations|[[bws:annotations/book/{{{annotations}}}|{{{a-text|Portal}}}]]}}|}}<!-- |
||
+ | |||
+ | --><!-- |
||
+ | |||
⚫ | |||
+ | |||
+ | REMOVE |
||
+ | -->{{#if:{{{image|}}}{{{a|}}}{{{e|}}}{{{s|}}}|[[Category:Articles with incorrect templates]]}}<!-- |
||
+ | |||
+ | --><noinclude>{{cat|infoboxes}} |
||
+ | |||
+ | 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. |
Revision as of 18:00, 30 November 2012
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.