Template:Infobox Species: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
mNo edit summary
(Turning {{{affiliation}}} into an autolinking variable. Will convert all uses by bot.)
Tags: Mobile edit Mobile web edit
 
(63 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>
|- valign="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|n/a}}}
<data source="aka"><label>Main aliases:</label></data>
|- valign="top"
<data source="type"><label>Biological type:</label></data>
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" |  
<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>
'''Affiliated with:'''
<data source="origin"><label>Place of origin:</label></data>
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{affiliation|n/a}}}
<data source="individuals"><label>Notable individuals:</label></data>
|- valign="top"
<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;" | '''Place of origin:'''
<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;" | {{{origin|n/a}}}
<data source="first"><label>First appearance:</label><format>''[[first appearance::{{{first}}}|{{da smw|{{{first}}}}}]]''{{{first note|}}}</format></data>
|- valign="top"
<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="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | '''Appearances:'''
<data source="only"><label>Appearance:</label><format>''[[first appearance::{{{only}}}|{{da smw|{{{only}}}}}]]''{{{only note|}}}</format></data>
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{appearances|None}}}
<data source="only cs"><label>Appearance:</label><format>{{cite source|{{{only cs}}}}}{{{only cs note|{{{only note|}}}}}}{{#set:first appearance={{{only cs}}}}}</format></data>
|- valign="top"
<data source="appearances"><label>Appearances:</label></data>
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | '''Mentioned in:'''
    <group>
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{Mentions|None}}}
      <header>Some memorable appearances</header>
|- valign="top"
      <data source="trailer"><format>{{video|{{{trailer}}}|250px|center}}</format></data>
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | '''Notable Individuals:'''
    </group>
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{individuals|Unknown}}}
    <group>
|}
      <header>{{{clip name|Memorable moment}}}</header>
<noinclude>[[Category:Infoboxes|Species]]</noinclude>
      <data source="clip"><format>{{video|{{{clip}}}|250px|center}}</format></data>
</group>
    <group>
      <header>{{{clip2 name|Another memorable moment}}}</header>
      <data source="clip2"><format>{{video|{{{clip2}}}|250px|center}}</format></data>
</group>
    <group>
      <header>{{{clip3 name|One more memorable moment}}}</header>
      <data source="clip3"><format>{{video|{{{clip3}}}|250px|center}}</format></data>
</group>
    <group>
      <header>More memorable moments</header>
      <data source="trailer2"><format>{{video|{{{trailer2}}}|250px|center}}</format></data>
    </group>
    <group>
      <header>{{{fullvid name|Full appearance}}}</header>
      <data source="fullvid"><format>{{video|{{{fullvid}}}|250px|center}}</format></data>
</group>
    <group>
      <header>{{{bts name|Behind the scenes video}}}</header>
      <data source="bts"><format>{{video|{{{bts}}}|250px|center}}</format></data>
</group>
    <group>
      <header>More behind the scenes stuff</header>
      <data source="bts2"><format>{{video|{{{bts2}}}|250px|center}}</format></data>
</group>
<group>
<header>Another behind the scenes moment</header>
      <data source="bts3"><format>{{video|{{{bts3}}}|250px|center}}</format></data>
</group>
<group layout="horizontal">
        <header>Leitmotif</header>
  <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