Template:Infobox Species: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(adding hidden structure fo type)
m (only show the fields if they're actually set to something)
Line 1: Line 1:
{|
<includeonly>
|}
{| border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:250px; background:#d7f8e1; 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:#d7f8e1; border-collapse:collapse; border:1px solid #999; font-size:smaller; line-height:1.5; "


Line 7: Line 6:
| align="center" colspan=2 bgcolor="#00A530" style="border-bottom:0px solid gray; font-size:larger; color:white;" | '''{{{Species name}}}'''
| align="center" colspan=2 bgcolor="#00A530" style="border-bottom:0px solid gray; font-size:larger; color:white;" | '''{{{Species name}}}'''
|- class{{{type}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{type}}}="hiddenStructure" style="vertical-align: top;"
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt" | '''Appearance / Type:'''
{{#if:{{{aka|}}}|
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{type}}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt"{{!}}'''Appearance / Type:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{type}}}
}}
|- class{{{aka}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{aka}}}="hiddenStructure" style="vertical-align: top;"
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt" | '''Also known as:'''
{{#if:{{{aka|}}}|
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{aka}}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Also known as:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{aka}}}
}}
|- class{{{affiliation}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{affiliation}}}="hiddenStructure" style="vertical-align: top;"
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt" | '''Affiliated with:'''
{{#if:{{{affiliation|}}}|
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{affiliation}}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt"{{!}}'''Affiliated with:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{affiliation}}}
}}
|- class{{{origin}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{origin}}}="hiddenStructure" style="vertical-align: top;"
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | '''Place of origin:'''
{{#if:{{{origin|}}}|
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{origin}}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Place of origin:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{origin}}}
}}
|- class{{{appearances}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{appearances}}}="hiddenStructure" style="vertical-align: top;"
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | '''Appearances:'''
{{#if:{{{appearances|}}}|
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{appearances}}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Appearances:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{appearances}}}
}}
|- class{{{mentions}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{mentions}}}="hiddenStructure" style="vertical-align: top;"
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | '''Mentioned in:'''
{{#if:{{{mentions|}}}|
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{mentions}}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Mentioned in:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{mentions}}}
}}
|- class{{{individuals}}}="hiddenStructure" style="vertical-align: top;"
|- class{{{individuals}}}="hiddenStructure" style="vertical-align: top;"
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | '''Notable Individuals:'''
{{#if:{{{individuals|}}}|
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{individuals}}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Notable Individuals:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{individuals}}}
}}
|}
|}
<noinclude>
</includeonly><noinclude>


==Usage==
==Usage==

Revision as of 20:15, 26 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 Species
|Species name    = 
|image           = 
|type            = 
|aka             = 
|affiliation     = 
|origin          = 
|appearances     = 
|mentions        = 
|individuals     =
}}

Description of fields

{{Infobox Species
|Species name    = Name of Species
|image           = Image of species at 250px
|type            = Appearance / Type of Species
|aka             = Also known as
|affiliation     = Any affiliation(s)
|origin          = Location of Species home planet/star system/galaxy etc
|appearances     = Stories Species have appeared in
|mentions        = Stories Species mentioned in 
|individuals     = Notable individuals
}}