Template:Infobox Species: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
(Turning {{{affiliation}}} into an autolinking variable. Will convert all uses by bot.)
Tags: Mobile edit Mobile web edit
 
(32 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly><div id="infobox-exterior">  
<infobox theme="infobox">
{|  class="infobox-interior"
<title source="name"><default>{{da smw|{{PAGENAME}}}}</default></title>
|-
<image source="image">
! colspan="3" class=wh style="font-size:150%"| {{{name|{{{Species name|}}}}}}
<caption source="caption">
|-
<default>{{#if:{{{image|}}}|{{#set:Has image=File:{{{image|}}}}}|}}</default>
{{#if:{{{image|}}}|{{!}}class="info-both" colspan="2"{{!}}{{infobox image|{{{image}}}|{{#if:{{{caption|}}}|{{{caption}}}|}}}}}}
</caption>
|-
</image>
{{#if:{{{aka|}}}|{{!}}class="info-left"{{!}}Major alternate names:}}
<image source="image2">
{{#if:{{{aka|}}}|{{!}}class="info-right"{{!}}{{{aka}}}}}
<caption source="caption2">
|-
<default>{{#if:{{{image2|}}}|{{#set:Has image=File:{{{image2|}}}}}|}}</default>
{{ #if: {{{type|}}}|{{!}}class="info-left"{{!}}Biological type:}}
</caption>
{{ #if: {{{type|}}}|{{!}}class="info-right"{{!}}{{{type}}}}}
</image>
|-
<data source="aka"><label>Main aliases:</label></data>
{{#if:{{{affiliation|}}}|{{!}}class="info-left"{{!}}Affiliated with:}}
<data source="type"><label>Biological type:</label></data>
{{#if:{{{affiliation|}}}|{{!}}class="info-right"{{!}}{{{affiliation}}}}}
<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>
{{#if:{{{origin|}}}|{{!}}class="info-left"{{!}}Place of origin:}}
<data source="individuals"><label>Notable individuals:</label></data>
{{#if:{{{origin|}}}|{{!}}class="info-right"{{!}}{{{origin}}}}}
<data source="first mention"><label>First mentioned in:</label><format>''[[first mention::{{{first mention}}}|{{da smw|{{{first mention}}}}}]]''{{{first mention note|}}}</format></data>
|-
<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>
{{#if:{{{individuals|}}}|{{!}}class="info-left"{{!}}Notable individuals:}}
<data source="first"><label>First appearance:</label><format>''[[first appearance::{{{first}}}|{{da smw|{{{first}}}}}]]''{{{first note|}}}</format></data>
{{#if:{{{individuals|}}}|{{!}}class="info-right"{{!}}{{{individuals}}}}}
<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>
|-
<data source="only"><label>Appearance:</label><format>''[[first appearance::{{{only}}}|{{da smw|{{{only}}}}}]]''{{{only note|}}}</format></data>
{{#if:{{{first|}}}|{{!}}class="info-left"{{!}}First seen in:}}  
<data source="only cs"><label>Appearance:</label><format>{{cite source|{{{only cs}}}}}{{{only cs note|{{{only note|}}}}}}{{#set:first appearance={{{only cs}}}}}</format></data>
{{#if:{{{first|}}}|{{!}}class="info-right"{{!}}{{{first}}}}}
<data source="appearances"><label>Appearances:</label></data>
|-
    <group>
{{#if:{{{appearances|}}}|{{!}}class="info-left"{{!}}Appearances:}}
      <header>Some memorable appearances</header>
{{#if:{{{appearances|}}}|{{!}}class="info-right"{{!}}{{{appearances}}}}}
      <data source="trailer"><format>{{video|{{{trailer}}}|250px|center}}</format></data>
|-
    </group>
|}</div></includeonly><noinclude>{{documentation}}[[Category:Infoboxes|Species]]</noinclude>
    <group>
      <header>{{{clip name|Memorable moment}}}</header>
      <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