Template:Infobox Novel: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
(Redirected page to Template:Infobox Story)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:250px; background:#f1f4fa; border-collapse:collapse; position:relative; border:1px solid #999; font-size:smaller; line-height:1.5; "
#REDIRECT [[Template:Infobox Story]]
| bgcolor=white align="center" colspan="2" | {{{image|}}}
[[Category:Obsolete infoboxes]]
|- valign="top"
| align="center" colspan=2 bgcolor="#0041b7" style="border-bottom:0px solid gray; font-size:larger; color:white;" | '''{{{novel name}}}'''
|- class{{{series}}}="hiddenStructure" style="vertical-align: top;"
{{#if:{{{series|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt"{{!}}'''Series:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{series}}}
}}
|- class{{{number}}}="hiddenStructure" style="vertical-align: top;"
{{#if:{{{number|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Release Number:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{number}}}
}}
|- valign="top"
{{#if:{{{doctor|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Doctor:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{doctor}}}
}}
|- class{{{companions}}}="hiddenStructure" style="vertical-align: top;"
{{#if:{{{companions|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Companions:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{companions}}}
}}
|- valign="top"
{{#if:{{{enemy|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Enemy:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{enemy}}}
}}
|- valign="top"
{{#if:{{{set between|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Set Between:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{set between}}}
}}
|- valign="top"
{{#if:{{{year|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Setting:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{year}}}
}}
|- valign="top"
{{#if:{{{writer|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Author:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{writer}}}
}}
|- valign="top"
{{#if:{{{publisher|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Publisher:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{publisher}}}
}}
|- valign="top"
{{#if:{{{release date|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Publication:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{release date}}}
}}
|- valign="top"
{{#if:{{{format|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Format:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{format}}}
}}
|- class{{{isbn}}}="hiddenStructure" style="vertical-align: top;"
{{#if:{{{isbn|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''ISBN:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{isbn}}}
}}
|- class{{{previous story}}}="hiddenStructure" style="vertical-align: top;"
{{#if:{{{previous story|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Previous Story:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{previous story}}}
}}
|- class{{{next story}}}="hiddenStructure" style="vertical-align: top;"
{{#if:{{{next story|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Following Story:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{next story}}}
}}
|}</includeonly><noinclude>
==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).
<pre>
{{Infobox Novel
|novel name    =
|image          =
|series        =
|number        =
|doctor        =
|companions    =
|enemy          =
|set between    =
|year          =
|writer        =
|publisher      =
|release date  =
|format        =
|isbn          = ISBN
|previous story =
|next story    =
}}
</pre>
 
==Definition of fields==
<pre>
{{Infobox Novel
|novel name    = Name of novel
|image          = Image of novel cover/identifying image of novel at 250px
|series        = Series the novel is part of
|number        = Number of novel in series
|doctor        = Doctor in novel
|companions    = Companions in novel
|enemy          = Any enemies in the novel
|set between    = episodes the novel is set between
|year          = Setting(s) of the novel
|writer        = Writer of the novel
|publisher      = Publisher of the novel
|release date  = Release date of the novel
|format        = Format and page count of the novel
|isbn          = The novel's ISBN, leave a space between ISBN and the number
|previous story = Previous released novel in series
|next story    = Next released novel in series
}}
</pre>
[[Category:Infoboxes|Novel]]</noinclude>

Latest revision as of 10:23, 13 March 2012