Template:Infobox Other Short Story: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
(adding collapsing fields to series, feauring, previous/next story. also adding usage/example info) |
m (optional bits) |
||
Line 1: | Line 1: | ||
<includeonly><div> | |||
<div> | |||
{| border="0" cellspacing="0" cellpadding="4" style="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; " | {| border="0" cellspacing="0" cellpadding="4" style="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; " | ||
| align="center" colspan=2 bgcolor="#0041b7" style="border-bottom:0px solid gray; font-size:larger; color:white;" | '''{{{story name}}}''' | | align="center" colspan=2 bgcolor="#0041b7" style="border-bottom:0px solid gray; font-size:larger; color:white;" | '''{{{story name}}}''' | ||
|- class{{{series}}}="hiddenStructure" style="vertical-align: top;" | |- class{{{series}}}="hiddenStructure" style="vertical-align: top;" | ||
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | {{#if:{{{series|}}}| | ||
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Series:''' | |||
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{series}}} | |||
}} | |||
|- valign="top" | |- valign="top" | ||
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | {{#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{{{featuring}}}="hiddenStructure" style="vertical-align: top;" | |- class{{{featuring}}}="hiddenStructure" style="vertical-align: top;" | ||
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | {{#if:{{{featuring|}}}| | ||
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Featuring:''' | |||
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{featuring}}} | |||
}} | |||
|- valign="top" | |- valign="top" | ||
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | {{#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" | |- valign="top" | ||
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | {{#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" | |- valign="top" | ||
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | {{#if:{{{publication|}}}| | ||
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Published In:''' | |||
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{publication}}} | |||
}} | |||
|- class{{{previous story}}}="hiddenStructure" style="vertical-align: top;" | |- class{{{previous story}}}="hiddenStructure" style="vertical-align: top;" | ||
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | {{#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;" | |- class{{{next story}}}="hiddenStructure" style="vertical-align: top;" | ||
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | {{#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}}} | |||
}} | |||
|} | |} | ||
</div> | </div></includeonly><noinclude> | ||
<noinclude> | |||
==Usage== | ==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). | 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). |
Revision as of 20:22, 31 January 2010
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 Other Short Story |story name = |series = |main character = |featuring = |year = |writer = |publication = |previous story = |next story = }}
Description of fields
{{Infobox Short Story |story name = Name of story |series = Series the short story is part of |main character = Main character of the story |featuring = Secondary characters in the story |year = Setting of the story |writer = Writer of the story |publication = Which publication the story is published in |previous story = Previous story in the collection |next story = Next story in the collection }}