Template:Infobox Species: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(restoring to original form)
(changing over to simplified, CSS version of infobox)
Line 1: Line 1:
<includeonly>
<includeonly><div id="infobox-exterior">  
{| border="0" cellspacing="0" cellpadding="4" style="clear:both; float:right; margin:0 0 .5em 1em; width:250px; background:white; border-collapse:collapse; border:1px solid #999; font-size:smaller; line-height:1.5; "
{| class="infobox-interior"
|- class{{{image}}}="hiddenStructure" style="vertical-align: top;"
|-
| bgcolor=white align="center" colspan="2" | {{#if:{{{image|}}}|[[file:{{{image}}}|250px]]|No image available}}
! colspan="3" class=wh style="font-size:150%"| {{{name|{{{Species name|}}}}}}
|- valign="top"
|-
| align="center" colspan=2 bgcolor="#00A530" style="border-bottom:0px solid gray; font-size:larger; color:white;" | '''{{{Species name}}}'''
{{#if:{{{image|}}}|{{!}}class="info-both" colspan="2"{{!}}{{infobox image|{{{image}}}|{{#if:{{{caption|}}}|{{{caption}}}|}}}}}}
|- class{{{type}}}="hiddenStructure" style="vertical-align: top;"
|-
{{#if:{{{type|}}}|
{{#if:{{{aka|}}}|{{!}}class="info-left"{{!}}Major alternate names:}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt"{{!}}'''Appearance / Type:'''
{{#if:{{{aka|}}}|{{!}}class="info-right"{{!}}{{{aka}}}}}
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{type}}}
|-
}}
{{ #if: {{{type|}}}|{{!}}class="info-left"{{!}}Biological type:}}
|- class{{{aka}}}="hiddenStructure" style="vertical-align: top;"
{{ #if: {{{type|}}}|{{!}}class="info-right"{{!}}{{{type}}}}}
{{#if:{{{aka|}}}|
|-
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Also known as:'''
{{#if:{{{affiliation|}}}|{{!}}class="info-left"{{!}}Affiliated with:}}
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{aka}}}
{{#if:{{{affiliation|}}}|{{!}}class="info-right"{{!}}{{{affiliation}}}}}
}}
|-
|- class{{{affiliation}}}="hiddenStructure" style="vertical-align: top;"
{{#if:{{{origin|}}}|{{!}}class="info-left"{{!}}Place of origin:}}
{{#if:{{{affiliation|}}}|
{{#if:{{{origin|}}}|{{!}}class="info-right"{{!}}{{{origin}}}}}
{{!}}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}}}
{{#if:{{{individuals|}}}|{{!}}class="info-left"{{!}}Notable individuals:}}
}}
{{#if:{{{individuals|}}}|{{!}}class="info-right"{{!}}{{{individuals}}}}}
|- class{{{origin}}}="hiddenStructure" style="vertical-align: top;"
|-
{{#if:{{{origin|}}}|
{{#if:{{{first|}}}|{{!}}class="info-left"{{!}}First seen in:}}
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Place of origin:'''
{{#if:{{{first|}}}|{{!}}class="info-right"{{!}}{{{first}}}}}
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{origin}}}
|-
}}
{{#if:{{{appearances|}}}|{{!}}class="info-left"{{!}}Appearances:}}
|- class{{{appearances}}}="hiddenStructure" style="vertical-align: top;"
{{#if:{{{appearances|}}}|{{!}}class="info-right"{{!}}{{{appearances}}}}}
{{#if:{{{appearances|}}}|
|-
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Appearances:'''
|}</div></includeonly><noinclude>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{appearances}}}
}}
|- class{{{individuals}}}="hiddenStructure" style="vertical-align: top;"
{{#if:{{{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}}}
}}
|}</includeonly><noinclude>


== Usage ==
== Usage ==
Line 46: Line 38:
|aka            =  
|aka            =  
|affiliation    =  
|affiliation    =  
|origin          =  
|origin          = >
|appearances    =   
|appearances    =   
|individuals    =
|individuals    =

Revision as of 02:17, 9 March 2012


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     =  
|individuals     =
|mentions        =            
}}

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 
|individuals     = Notable individuals
}}