Template:Infobox Reference Book: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
m (Changed protection level for "Template:Infobox Reference Book": infoboxes routinely locked on other wikis to prevent the kind of minor, but ultimately chaotic, variable tampering that we've been experiencing. Propose changes at forum:panopticon. ) |
(switchover to new format) |
||
Line 1: | Line 1: | ||
<includeonly><div> | <includeonly><div id="infobox-exterior"> | ||
{| | {| class="infobox-interior" | ||
| | |- | ||
|- | ! colspan="3" class=wh style="font-size:150%"| {{{name|{{PAGENAME}}}}} | ||
| | |- | ||
|- | {{#if:{{{image|}}}|{{!}}class="info-both" colspan="2"{{!}}{{infobox image|{{{image}}}|{{#if:{{{caption|}}}|{{{caption}}}|}}}}}} | ||
{{#if:{{{ | |- | ||
{{!}}style="text-align: left; | {{#if:{{{writer|}}}|{{!}}class="info-left"{{!}}Written by:}} | ||
{{!}} | {{#if:{{{writer|}}}|{{!}}class="info-right"{{!}}{{{writer}}}}} | ||
|- | |||
{{#if:{{{cover|}}}|{{!}}class="info-left"{{!}}Cover by:}} | |||
{{#if:{{{cover|}}}|{{!}}class="info-right"{{!}}{{{cover}}}}} | |||
|- | |||
{{ #if: {{{type|}}}|{{!}}class="info-left"{{!}}Type:}} | |||
{{ #if: {{{type|}}}|{{!}}class="info-right"{{!}}{{{type}}}}} | |||
|- | |||
{{ #if: {{{publisher|}}}|{{!}}class="info-left"{{!}}Publisher:}} | |||
{{ #if: {{{publisher|}}}|{{!}}class="info-right"{{!}}{{{publisher}}}}} | |||
|- | |||
{{ #if: {{{isbn|}}}|{{!}}class="info-left"{{!}}ISBN:}} | |||
{{ #if: {{{isbn|}}}|{{!}}class="info-right"{{!}}{{{isbn}}}}} | |||
|- | |||
{{ #if: {{{release date|}}}|{{!}}class="info-left"{{!}}Release date:}} | |||
{{ #if: {{{release date|}}}|{{!}}class="info-right"{{!}}{{{release date}}}}} | |||
|- | |||
{{ #if: {{{format|}}}|{{!}}class="info-left"{{!}}Format:}} | |||
{{ #if: {{{format|}}}|{{!}}class="info-right"{{!}}{{{format}}}}} | |||
|- | |||
|- | |||
{{#if:{{{nav|}}}||!colspan="3" class=info-both{{!}}Navigation}} | |||
|- | |||
{{#if:{{{nav|}}}||!class=info-left style="text-align:left"{{!}}←Previous}} | |||
{{#if:{{{nav|}}}||!class=info-right{{!}}Next→}} | |||
|- | |||
{{#if:{{{series|}}}|{{!}}colspan="3" class="info-both-nav" {{!}}{{{series}}}}} | |||
|- | |||
{{#switch:{{{prev|}}} | |||
|= | |||
|none={{!}}class="info-left-nav"{{!}}none | |||
|#default={{!}}class="info-left-nav"{{!}}''{{dab away|{{{prev}}}}}'' | |||
}} | }} | ||
{{#switch:{{{next|}}} | |||
{{# | |= | ||
|none={{!}}class="info-left-nav"{{!}}none | |||
|#default={{!}}class="info-right-nav"{{!}}''{{dab away|{{{next}}}}}'' | |||
}} | }} | ||
| | |- | ||
|}</div></includeonly><noinclude> | |||
| | |||
| | |||
|} | |||
</div></includeonly><noinclude> | |||
[[Category:Infoboxes|Reference | {{documentation}}[[Category:Infoboxes|Reference]]</noinclude> |
Revision as of 04:31, 21 April 2012
Instructions for {{Infobox Reference Book}}
Infobox Reference Book | ||
---|---|---|
Written by: | Writer(s) of book | |
Cover by: | Cover artist, if known | |
Type: | freeform variable for defining the genre of the book: cookbook, quiz book, guide book, encyclopedia, crticism, etc. | |
Publisher: | ##|Publisher of book | |
ISBN: | Type ISBN followed by the number | |
Release date: | Release date/Publish date of book | |
Format: | Format and page count of book | |
Navigation | ||
←Previous | Next→ | |
Name of series | ||
previous book | next book |
Usage
Copy and paste all of the text below onto whichever article page it is needed for (even if some fields are not needed copy all of the text).
{{Infobox Reference Book |image = |cover = |writer = |publisher = |publisher2 = |publisher3 = |release date = |format = |type = |isbn = |prev = |next = }}