Difference between revisions of "Template:Book"

From Dungeons and Dragons Wiki
Jump to: navigation, search
 
m (1 revision: Importing from Forgotten Realms Wiki)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{| style="clear: right; border: solid #aaa 1px; margin: 0 0 1em 1em; font-size: 95%; background: #f9f9f9; color:black; width: 310px; padding: 10px; text-align: left; float: right;"
+
{| class="infobox2 infoboxright"
|-
 
| colspan="2" align="center" style="font-size:125%;" bgcolor=#cef2e0 | {{PAGENAME}}
 
 
|-
 
|-
|
+
{{ #if:{{{image|}}}|{{!}} colspan="2" class="infoboximage" {{!}} {{{image}}}{{ #if:{{{caption|}}}|<br />{{{caption}}} }} }}
 
|-
 
|-
{{#if: {{{image|}}} | {{!}} align=center colspan=2 {{!}} [[Image:{{{image}}}|center|284px]] }}
+
{{ #if:{{{code|}}}|{{!}} colspan="2" style="text-align: center" {{!}} {{{code}}} }}
|- style="vertical-align: top;"
 
{{#if: {{{author|}}} | {{!}} valign=top {{!}} '''Author''' {{!!}} {{{author}}} }}
 
|- style="vertical-align: top;"
 
{{#if: {{{illustrator|}}} | {{!}} valign=top {{!}} '''Illustrator''' {{!!}} {{{illustrator}}} }}
 
|- style="vertical-align: top;"
 
{{#if: {{{date|}}} | {{!}} '''Publication date''' {{!!}} {{{date}}} }}
 
|- style="vertical-align: top;"
 
{{#if: {{{publisher|}}} | {{!}} '''Published by''' {{!!}} {{{publisher}}} }}
 
|- style="vertical-align: top;"
 
{{#if: {{{isbn|}}} | {{!}} '''ISBN''' {{!!}} {{{isbn}}} }}
 
 
|-
 
|-
| colspan="2" align="center" style="font-size:125%;" bgcolor=#cef2e0 | ''Publication Order''
+
| colspan="2" class="title" | ''{{{title|Enter Name Here}}}''
|- align=center
+
|-
| valign=top align=center style="font-size:80%;" width=150 | Preceded by<br>{{{previous}}}
+
{{ #if:{{{author|}}}{{{cover_artist|}}}{{{publisher|}}}{{{released|}}}{{{reprinted|}}}{{{binding|}}}{{{pages|}}}{{{isbn|}}}{{{isbn10|}}}{{{isbn13|}}}{{{languages|}}}{{{type|}}}{{{realm year|}}}|{{!}} colspan="2" class="subtitle" {{!}} Basic Information }}
| valign=top align=center style="font-size:80%;" width=150 | Followed by<br>{{{next}}}
+
|-
 +
{{ #if:{{{author|}}}|{{!}} Author(s) {{!}}{{!}} {{{author}}} }}
 +
|-
 +
{{ #if:{{{publisher|}}}|{{!}} Publisher {{!}}{{!}} {{{publisher}}} }}
 +
|-
 +
{{ #if:{{{cover_artist|}}}|{{!}} Cover Artist {{!}}{{!}} {{{cover_artist}}} }}
 +
|-
 +
{{ #if:{{{inter_artist|}}}|{{!}} Interior Artist {{!}}{{!}} {{{inter_artist}}} }}
 +
|-
 +
{{ #if:{{{type|}}}|{{!}} Type {{!}}{{!}} {{{type}}} }}
 +
|-
 +
{{ #if:{{{languages|}}}|{{!}} Languages {{!}}{{!}} {{{languages}}} }}
 +
|-
 +
{{ #if:{{{realm year|}}}|{{!}} Realm year(s) {{!}}{{!}} {{{realm year}}} }}
 +
|-
 +
{{ #if:{{{edition1|}}}|{{!}} colspan="2" class="subtitle" {{!}} {{{edition1}}} edition }}
 +
|-
 +
{{ #if:{{{binding|}}}{{{binding1|}}}|{{!}} Binding {{!}}{{!}} {{{binding|}}}{{{binding1|}}} }}
 +
|-
 +
{{ #if:{{{released|}}}{{{released1|}}}|{{!}} Released {{!}}{{!}} {{{released|}}} {{{released1|}}} }}
 +
|-
 +
{{ #if:{{{reprinted|}}}|{{!}} Reprinted {{!}}{{!}} {{{reprinted}}} }}
 +
|-
 +
{{ #if:{{{pages|}}}{{{pages1|}}}|{{!}} Pages {{!}}{{!}} {{{pages|}}}{{{pages1|}}} }}
 +
|-
 +
{{ #if:{{{isbn|}}}|{{!}} ISBN {{!}}{{!}} {{{isbn}}} }}
 +
|-
 +
{{ #if:{{{isbn10|}}}{{{isbn10-1|}}}|{{!}} ISBN 10 {{!}}{{!}} {{{isbn10|}}}{{{isbn10-1|}}} }}
 +
|-
 +
{{ #if:{{{isbn13|}}}{{{isbn13-1|}}}|{{!}} ISBN 13 {{!}}{{!}} {{{isbn13|}}}{{{isbn13-1|}}} }}
 +
|-
 +
{{ #if:{{{cite1|}}}|{{!}} colspan="2" style="text-align: right" {{!}} <sup><nowiki>[</nowiki>[[Template:Cite book/{{{title}}}/{{{cite1}}}|cite this]]<nowiki>]</nowiki></sup> }}
 +
|-
 +
{{ #if:{{{edition2|}}}|{{!}} colspan="2" class="subtitle" {{!}} {{{edition2}}} edition }}
 +
|-
 +
{{ #if:{{{binding2|}}}|{{!}} Binding {{!}}{{!}} {{{binding2|}}} }}
 +
|-
 +
{{ #if:{{{released2|}}}|{{!}} Released {{!}}{{!}} {{{released2|}}} }}
 +
|-
 +
{{ #if:{{{pages2|}}}|{{!}} Pages {{!}}{{!}} {{{pages2|}}} }}
 +
|-
 +
{{ #if:{{{isbn10-2|}}}|{{!}} ISBN 10 {{!}}{{!}} {{{isbn10-2|}}} }}
 +
|-
 +
{{ #if:{{{isbn13-2|}}}|{{!}} ISBN 13 {{!}}{{!}} {{{isbn13-2|}}} }}
 +
|-
 +
{{ #if:{{{cite2|}}}|{{!}} colspan="2" style="text-align: right" {{!}} <sup><nowiki>[</nowiki>[[Template:Cite book/{{{title}}}/{{{cite2}}}|cite this]]<nowiki>]</nowiki></sup> }}
 +
|-
 +
{{ #if:{{{edition3|}}}|{{!}} colspan="2" class="subtitle" {{!}} {{{edition3}}} edition }}
 +
|-
 +
{{ #if:{{{binding3|}}}|{{!}} Binding {{!}}{{!}} {{{binding3|}}} }}
 +
|-
 +
{{ #if:{{{released3|}}}|{{!}} Released {{!}}{{!}} {{{released3|}}} }}
 +
|-
 +
{{ #if:{{{pages3|}}}|{{!}} Pages {{!}}{{!}} {{{pages3|}}} }}
 +
|-
 +
{{ #if:{{{isbn10-3|}}}|{{!}} ISBN 10 {{!}}{{!}} {{{isbn10-3|}}} }}
 +
|-
 +
{{ #if:{{{isbn13-3|}}}|{{!}} ISBN 13 {{!}}{{!}} {{{isbn13-3|}}} }}
 +
|-
 +
{{ #if:{{{cite3|}}}|{{!}} colspan="2" style="text-align: right" {{!}} <sup><nowiki>[</nowiki>[[Template:Cite book/{{{title}}}/{{{cite3}}}|cite this]]<nowiki>]</nowiki></sup> }}
 +
|-
 +
{{ #if:{{{edition4|}}}|{{!}} colspan="2" class="subtitle" {{!}} {{{edition4}}} edition }}
 +
|-
 +
{{ #if:{{{binding4|}}}|{{!}} Binding {{!}}{{!}} {{{binding4|}}} }}
 +
|-
 +
{{ #if:{{{released4|}}}|{{!}} Released {{!}}{{!}} {{{released4|}}} }}
 +
|-
 +
{{ #if:{{{pages4|}}}|{{!}} Pages {{!}}{{!}} {{{pages4|}}} }}
 +
|-
 +
{{ #if:{{{isbn10-4|}}}|{{!}} ISBN 10 {{!}}{{!}} {{{isbn10-4|}}} }}
 +
|-
 +
{{ #if:{{{isbn13-4|}}}|{{!}} ISBN 13 {{!}}{{!}} {{{isbn13-4|}}} }}
 +
|-
 +
{{ #if:{{{cite4|}}}|{{!}} colspan="2" style="text-align: right" {{!}} <sup><nowiki>[</nowiki>[[Template:Cite book/{{{title}}}/{{{cite4}}}|cite this]]<nowiki>]</nowiki></sup> }}
 +
|-
 +
{{ #if:{{{edition5|}}}|{{!}} colspan="2" class="subtitle" {{!}} {{{edition5}}} edition }}
 +
|-
 +
{{ #if:{{{binding5|}}}|{{!}} Binding {{!}}{{!}} {{{binding5|}}} }}
 +
|-
 +
{{ #if:{{{released5|}}}|{{!}} Released {{!}}{{!}} {{{released5|}}} }}
 +
|-
 +
{{ #if:{{{pages5|}}}|{{!}} Pages {{!}}{{!}} {{{pages5|}}} }}
 +
|-
 +
{{ #if:{{{isbn10-5|}}}|{{!}} ISBN 10 {{!}}{{!}} {{{isbn10-5|}}} }}
 +
|-
 +
{{ #if:{{{isbn13-5|}}}|{{!}} ISBN 13 {{!}}{{!}} {{{isbn13-5|}}} }}
 +
|-
 +
{{ #if:{{{cite5|}}}|{{!}} colspan="2" style="text-align: right" {{!}} <sup><nowiki>[</nowiki>[[Template:Cite book/{{{title}}}/{{{cite5}}}|cite this]]<nowiki>]</nowiki></sup> }}
 +
|-
 +
{{ #if:{{{series|}}}{{{preceded_by|}}}{{{followed_by|}}}|{{!}} colspan="2" class="subtitle" {{!}} Series }}
 +
|-
 +
{{ #if:{{{series|}}}|{{!}} Series {{!}}{{!}} {{{series}}} }}
 +
|-
 +
{{ #if:{{{preceded_by|}}}|{{!}} Preceded by {{!}}{{!}} {{{preceded_by}}} }}
 +
|-
 +
{{ #if:{{{followed_by|}}}|{{!}} Followed by {{!}}{{!}} {{{followed_by}}} }}
 +
|-
 +
{{ #if:{{{source|}}}|{{!}} colspan="2" style="text-align: right" {{!}} <hr />''Source: {{{source}}} {{#if: {{{page|}}} | p.{{{page|}}}'' }} }}
 
|}<noinclude>
 
|}<noinclude>
<br clear="all">
+
{{/doc}}
{{documentation}}
+
 
[[Category:Templates|Book]]
+
[[Category:Infoboxes|Book]]</noinclude>
</noinclude>
 

Latest revision as of 16:17, 26 February 2015

Enter Name Here
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
| image   = 
| author   = 
| illustrator = 
| date      = 
| publisher = 
| isbn  = 
| previous =
| next =
}}

Results in...

Example.jpg
Enter Name Here
Basic Information
Author(s) Author
Publisher Publisher
ISBN ISBN