Template:Infobox Species: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (only show the fields if they're actually set to something)
(Turning {{{affiliation}}} into an autolinking variable. Will convert all uses by bot.)
Tags: Mobile edit Mobile web edit
 
(50 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<includeonly>
<infobox theme="infobox">
{| 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; "
<title source="name"><default>{{da smw|{{PAGENAME}}}}</default></title>
 
<image source="image">
| bgcolor=white align="center" colspan="2" | {{{image|No image available}}}
<caption source="caption">
|- valign="top"
<default>{{#if:{{{image|}}}|{{#set:Has image=File:{{{image|}}}}}|}}</default>
| align="center" colspan=2 bgcolor="#00A530" style="border-bottom:0px solid gray; font-size:larger; color:white;" | '''{{{Species name}}}'''
</caption>
|- class{{{type}}}="hiddenStructure" style="vertical-align: top;"
</image>
{{#if:{{{aka|}}}|
<image source="image2">
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt"{{!}}'''Appearance / Type:'''
<caption source="caption2">
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{type}}}
<default>{{#if:{{{image2|}}}|{{#set:Has image=File:{{{image2|}}}}}|}}</default>
}}
</caption>
|- class{{{aka}}}="hiddenStructure" style="vertical-align: top;"
</image>
{{#if:{{{aka|}}}|
<data source="aka"><label>Main aliases:</label></data>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Also known as:'''
<data source="type"><label>Biological type:</label></data>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{aka}}}
<data source="affiliation"><label>Affiliated with:</label><format>[[affiliation::{{{affiliation}}}|{{da smw|{{{affiliation}}}}}]]{{#if:{{{affiliation2|}}}|, [[affiliation::{{{affiliation2}}}|{{da smw|{{{affiliation2}}}}}]]}}{{#if:{{{affiliation3|}}}|, [[affiliation::{{{affiliation3}}}|{{da smw|{{{affiliation3}}}}}]]}}{{#if:{{{affiliation4|}}}|, [[affiliation::{{{affiliation4}}}|{{da smw|{{{affiliation4}}}}}]]}}{{#if:{{{affiliation5|}}}|, [[affiliation::{{{affiliation5}}}|{{da smw|{{{affiliation5}}}}}]]}}{{#if:{{{affiliation6|}}}|, [[affiliation::{{{affiliation6}}}|{{da smw|{{{affiliation6}}}}}]]}}{{#if:{{{affiliation7|}}}|, [[affiliation::{{{affiliation7}}}|{{da smw|{{{affiliation7}}}}}]]}}{{#if:{{{affiliation8|}}}|, [[affiliation::{{{affiliation8}}}|{{da smw|{{{affiliation8}}}}}]]}}</format></data>
}}
<data source="origin"><label>Place of origin:</label></data>
|- class{{{affiliation}}}="hiddenStructure" style="vertical-align: top;"
<data source="individuals"><label>Notable individuals:</label></data>
{{#if:{{{affiliation|}}}|
<data source="first mention"><label>First mentioned in:</label><format>''[[first mention::{{{first mention}}}|{{da smw|{{{first mention}}}}}]]''{{{first mention note|}}}</format></data>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt"{{!}}'''Affiliated with:'''
<data source="first mention cs"><label>First mentioned in:</label><format>{{cite source|{{{first mention cs}}}}}{{{first mention cs note|{{{first mention note|}}}}}}{{#set:first mention={{{first mention cs}}}}}</format></data>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{affiliation}}}
<data source="first"><label>First appearance:</label><format>''[[first appearance::{{{first}}}|{{da smw|{{{first}}}}}]]''{{{first note|}}}</format></data>
}}
<data source="first cs"><label>First appearance:</label><format>{{cite source|{{{first cs}}}}}{{{first cs note|{{{first note|}}}}}}{{#set:first appearance={{{first cs}}}}}</format></data>
|- class{{{origin}}}="hiddenStructure" style="vertical-align: top;"
<data source="only"><label>Appearance:</label><format>''[[first appearance::{{{only}}}|{{da smw|{{{only}}}}}]]''{{{only note|}}}</format></data>
{{#if:{{{origin|}}}|
<data source="only cs"><label>Appearance:</label><format>{{cite source|{{{only cs}}}}}{{{only cs note|{{{only note|}}}}}}{{#set:first appearance={{{only cs}}}}}</format></data>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Place of origin:'''
<data source="appearances"><label>Appearances:</label></data>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{origin}}}
    <group>
}}
      <header>Some memorable appearances</header>
|- class{{{appearances}}}="hiddenStructure" style="vertical-align: top;"
      <data source="trailer"><format>{{video|{{{trailer}}}|250px|center}}</format></data>
{{#if:{{{appearances|}}}|
    </group>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Appearances:'''
    <group>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{appearances}}}
      <header>{{{clip name|Memorable moment}}}</header>
}}
      <data source="clip"><format>{{video|{{{clip}}}|250px|center}}</format></data>
|- class{{{mentions}}}="hiddenStructure" style="vertical-align: top;"
</group>
{{#if:{{{mentions|}}}|
    <group>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Mentioned in:'''
      <header>{{{clip2 name|Another memorable moment}}}</header>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{mentions}}}
      <data source="clip2"><format>{{video|{{{clip2}}}|250px|center}}</format></data>
}}
</group>
|- class{{{individuals}}}="hiddenStructure" style="vertical-align: top;"
    <group>
{{#if:{{{individuals|}}}|
      <header>{{{clip3 name|One more memorable moment}}}</header>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Notable Individuals:'''
      <data source="clip3"><format>{{video|{{{clip3}}}|250px|center}}</format></data>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{individuals}}}
</group>
}}
    <group>
|}
      <header>More memorable moments</header>
</includeonly><noinclude>
      <data source="trailer2"><format>{{video|{{{trailer2}}}|250px|center}}</format></data>
 
    </group>
==Usage==
    <group>
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).
      <header>{{{fullvid name|Full appearance}}}</header>
<pre>
      <data source="fullvid"><format>{{video|{{{fullvid}}}|250px|center}}</format></data>
{{Infobox Species
</group>
|Species name    =
    <group>
|image          =
      <header>{{{bts name|Behind the scenes video}}}</header>
|type            =
      <data source="bts"><format>{{video|{{{bts}}}|250px|center}}</format></data>
|aka            =
</group>
|affiliation     =
     <group>
|origin          =  
      <header>More behind the scenes stuff</header>
|appearances    =
      <data source="bts2"><format>{{video|{{{bts2}}}|250px|center}}</format></data>
|mentions        =
</group>
|individuals    =
<group>
}}
<header>Another behind the scenes moment</header>
</pre>
      <data source="bts3"><format>{{video|{{{bts3}}}|250px|center}}</format></data>
 
</group>
==Description of fields==
<group layout="horizontal">
<pre>
        <header>Leitmotif</header>
{{Infobox Species
  <data source="leitmotif"><label>{{{leitmotif name|}}}</label><format>{{{leitmotif}}}</format></data>
|Species name    = Name of Species
</group>
|image          = Image of species at 250px
</infobox>
|type            = Appearance / Type of Species
<noinclude>{{Documentation}}[[Category:Infoboxes]]</noinclude>
|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
}}
</pre>
 
[[Category:Infoboxes|Species]]</noinclude>

Latest revision as of 22:00, 6 December 2024

Instructions for {{Infobox Species}}
{{Infobox Species}} is the main infobox for the delivery of information about all species, sentient and non-sapient alike.

Note that for non-sentient life, you made need to also use {{looks like}} in order to give prominent links to other species that look like the ones under discussion. See, for instance, dog, cat, dolphin, and rhinoceros.

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
|name            = 
|image           = 
|type            = 
|aka             = 
|affiliation     = 
|origin          = 
|first mention   =
|first           =
|only            = 
|appearances     =  
|individuals     =
|clip            = 
|clip2           = 
|clip3           = 
|bts             =             
}}

Notes

  • Images should be entered in the format Image.jpg. Widths may not be specified.
  • Legacy support has been retained for the variable name Species name
  • The variable mentions is no longer supported