Template:Infobox Species: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(adding how to use/copyable information to aid in adding to pages)
(Turning {{{affiliation}}} into an autolinking variable. Will convert all uses by bot.)
Tags: Mobile edit Mobile web edit
 
(53 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{|
<infobox theme="infobox">
|}
<title source="name"><default>{{da smw|{{PAGENAME}}}}</default></title>
{| 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; "
<image source="image">
 
<caption source="caption">
| bgcolor=white align="center" colspan="2" | {{{image|No image available}}}
<default>{{#if:{{{image|}}}|{{#set:Has image=File:{{{image|}}}}}|}}</default>
|- valign="top"
</caption>
| align="center" colspan=2 bgcolor="#00A530" style="border-bottom:0px solid gray; font-size:larger; color:white;" | '''{{{Species name}}}'''
</image>
|-
<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|Unknown}}}
<default>{{#if:{{{image2|}}}|{{#set:Has image=File:{{{image2|}}}}}|}}</default>
|- class{{{aka}}}="hiddenStructure" style="vertical-align: top;"
</caption>
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt" | '''Also known as:'''
</image>
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{aka}}}
<data source="aka"><label>Main aliases:</label></data>
|- class{{{affiliation}}}="hiddenStructure" style="vertical-align: top;"
<data source="type"><label>Biological type:</label></data>
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt" | '''Affiliated with:'''
<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>
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{affiliation}}}
<data source="origin"><label>Place of origin:</label></data>
|- valign="top"
<data source="individuals"><label>Notable individuals:</label></data>
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | '''Place of origin:'''
<data source="first mention"><label>First mentioned in:</label><format>''[[first mention::{{{first mention}}}|{{da smw|{{{first mention}}}}}]]''{{{first mention note|}}}</format></data>
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{origin|n/a}}}
<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>
|- valign="top"
<data source="first"><label>First appearance:</label><format>''[[first appearance::{{{first}}}|{{da smw|{{{first}}}}}]]''{{{first note|}}}</format></data>
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | '''Appearances:'''
<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>
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{appearances|None}}}
<data source="only"><label>Appearance:</label><format>''[[first appearance::{{{only}}}|{{da smw|{{{only}}}}}]]''{{{only note|}}}</format></data>
|- class{{{Mentions}}}="hiddenStructure" style="vertical-align: top;"
<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;" | '''Mentioned in:'''
<data source="appearances"><label>Appearances:</label></data>
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{Mentions}}}
    <group>
|- class{{{individuals}}}="hiddenStructure" style="vertical-align: top;"
      <header>Some memorable appearances</header>
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | '''Notable Individuals:'''
      <data source="trailer"><format>{{video|{{{trailer}}}|250px|center}}</format></data>
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{individuals}}}
    </group>
|}
    <group>
<noinclude>
      <header>{{{clip name|Memorable moment}}}</header>
 
      <data source="clip"><format>{{video|{{{clip}}}|250px|center}}</format></data>
==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).
    <group>
<pre>
      <header>{{{clip2 name|Another memorable moment}}}</header>
{{Infobox Species
      <data source="clip2"><format>{{video|{{{clip2}}}|250px|center}}</format></data>
|Species name    =
</group>
|image          =  
    <group>
|type            =
      <header>{{{clip3 name|One more memorable moment}}}</header>
|aka            =
      <data source="clip3"><format>{{video|{{{clip3}}}|250px|center}}</format></data>
|affiliation    =
</group>
|origin          =
    <group>
|appearances     =
      <header>More memorable moments</header>
|Mentions       =  
      <data source="trailer2"><format>{{video|{{{trailer2}}}|250px|center}}</format></data>
|individuals    =
    </group>
}}
    <group>
</pre>
      <header>{{{fullvid name|Full appearance}}}</header>
 
      <data source="fullvid"><format>{{video|{{{fullvid}}}|250px|center}}</format></data>
==Description of fields==
</group>
<pre>
    <group>
{{Infobox Species
      <header>{{{bts name|Behind the scenes video}}}</header>
|Species name    = Name of Species
      <data source="bts"><format>{{video|{{{bts}}}|250px|center}}</format></data>
|image          = Image of species at 250px
</group>
|type            = Appearance / Type of Species
     <group>
|aka            = Also known as
       <header>More behind the scenes stuff</header>
|affiliation    = Any affiliation(s)
      <data source="bts2"><format>{{video|{{{bts2}}}|250px|center}}</format></data>
|origin          = Location of Species home planet/star system/galaxy etc
</group>
|appearances    = Stories Species have appeared in
<group>
|Mentions        = Stories Species mentioned in
<header>Another behind the scenes moment</header>
|individuals    = Notable individuals
      <data source="bts3"><format>{{video|{{{bts3}}}|250px|center}}</format></data>
}}
</group>
</pre>
<group layout="horizontal">
 
        <header>Leitmotif</header>
[[Category:Infoboxes|Species]]</noinclude>
  <data source="leitmotif"><label>{{{leitmotif name|}}}</label><format>{{{leitmotif}}}</format></data>
</group>
</infobox>
<noinclude>{{Documentation}}[[Category:Infoboxes]]</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