Template:Infobox TV: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
(really don't understand the point of this one but there ya are)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div>
#REDIRECT [[Template:Infobox Story]]
{| border="0" cellspacing="0" cellpadding="4" style="clear:right;float:right; margin:0 0 .5em 1em; width:250px; background:#f1f4fa; border-collapse:collapse; border:1px solid #999; font-size:smaller; line-height:1.5; "
[[Category:Obsolete infoboxes]]
| bgcolor=white align="center" colspan="2" | {{{image|}}}
|- valign="top"
| align="center" colspan=2 bgcolor="#0041b7" style="border-bottom:0px solid gray; font-size:larger; color:white;" | '''{{{story name}}}'''
|-
{{#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;"{{!}}'''Series Number:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{number}}}
}}
|- class{{{doctor}}}="hiddenStructure" style="vertical-align: 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{{{main character}}}="hiddenStructure" style="vertical-align: top;"
{{#if:{{{main character|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Main character:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{main character}}}
}}
|- 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:{{{setting|}}}|
{{!}}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;"{{!}}{{{setting}}}
}}
|- valign="top"
{{#if:{{{writer|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Writer:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{writer}}}
}}
|- valign="top"
{{#if:{{{director|}}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Director:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{director}}}
}}
|- valign="top"
{{#if:{{{producer|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Producer:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{producer}}}
}}
|- valign="top"
{{#if:{{{broadcast date|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Original Broadcast:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{broadcast 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{{{production code}}}="hiddenStructure" style="vertical-align: top;"
{{#if:{{{production code|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Prod. Code:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{production code}}}
}}
|- 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}}}
}}
|- valign="top"
|}
</div></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 TV
|story name      =
|image          =
|series          =
|number          =
|doctor          =
|main character  =
|companion      =
|enemy          =
|setting        =
|writer          =
|director        =
|producer        =
|broadcast date  =
|format          =
|production code =
|previous story  =
|next story      =
}}</pre>
 
==Description of fields==
This infobox is generally not used for most stories, it is only used for specially broadcast stories such as ''[[A Girl's Best Friend]]'', ''[[The Curse of Fatal Death]]'' and ''[[Tonight's the Night]]''. Therefore to be applicable to multiple formats it has a field that is used only for particular stories (main character which is used instead of doctor). But all fields must be included to allow the infobox to function correctly.
 
<pre>
{{Infobox TV
|story name      = Name/Title of story
|image          = Image from story at 250px
|series          = Series the story is part of
|number          = Number of series/season
|doctor          = Which Doctor is in the story
|main character  = The main character (if not the Doctor)
|companion      = Any companions featured in the story
|enemy          = Enemy of the story
|setting        = Setting of the story
|writer          = Writer of the story
|director        = Director of the story
|producer        = Producer of the story
|broadcast date  = Broadcast date of the story
|format          = Format of the story
|production code = Production code of the story
|previous story  = Previous story
|next story      = Next story
}}</pre>
[[Category:Infoboxes|TV]]</noinclude>

Latest revision as of 07:19, 16 March 2012