Template:Infobox Object: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
(+worn by, similar to used by)
Tags: Mobile edit Mobile web edit
 
(74 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{|
<infobox theme="infobox">
|}
<title source="name"><default>{{da smw|{{PAGENAME}}}}</default></title>
<includeonly>{| border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:250px; background:#f1f4fa; border-collapse:collapse; border:1px solid #999; font-size:smaller; line-height:1.5; "
<image source="image">
<caption source="caption">
<default>{{#if:{{{image|}}}|{{#set:Has image=File:{{{image|}}}}}|}}</default>
</caption>
</image>
<image source="image2">
<caption source="caption">
<default>{{#if:{{{image2|}}}|{{#set:Has image=File:{{{image2|}}}}}|}}</default>
</caption>
</image>
<data source="aka"><label>Main aliases:</label></data>
<data source="type"><label>Type:</label></data>
<data source="location"><label>Location:</label></data>
<data source="origin"><label>Place of origin:</label></data>
<data source="made by"><label>Made by:</label></data>
<data source="used by"><label>Used by:</label></data>
<data source="worn by"><label>Worn by:</label></data>
<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>
<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>
<data source="only"><label>Appearance:</label><format>''[[first appearance::{{{only}}}|{{da smw|{{{only}}}}}]]''{{{only note|}}}</format></data>
<data source="only cs"><label>Appearance:</label><format>{{cite source|{{{only cs}}}}}{{{only cs note|{{{only note|}}}}}}{{#set:first appearance={{{only cs}}}}}</format></data>
<data source="appearances"><label>Appearances:</label></data>
<data source="actor"><label>Main actor:</label><format>[[actor::{{{actor}}}|{{da smw|{{{actor}}}}}]]</format></data>
    <data source="main actor"><label>Main TV actor:</label><format>[[main TV actor::{{{main actor}}}|{{da smw|{{{main actor}}}}}]]</format></data>
    <data source="voice actor"><label>Main voice actor:</label><format>[[main voice actor::{{{voice actor}}}|{{da smw|{{{voice actor}}}}}]]</format></data>
    <data source="other actor"><label>Other actors:</label><format>[[other actor::{{{other actor}}}]]{{#if:{{{other actor2|}}}|, [[other actor::{{{other actor2}}}]]}}{{#if:{{{other actor3|}}}|, [[other actor::{{{other actor3}}}]]}}{{#if:{{{other actor4|}}}|, [[other actor::{{{other actor4}}}]]}}{{#if:{{{other actor5|}}}|, [[other actor::{{{other actor5}}}]]}}{{#if:{{{other actor6|}}}|, [[other actor::{{{other actor6}}}]]}}{{#if:{{{other actor7|}}}|, [[other actor::{{{other actor7}}}]]}}{{#if:{{{other actor8|}}}|, [[other actor::{{{other actor8}}}]]}}{{#if:{{{other actor9|}}}|, [[other actor::{{{other actor9}}}]]}}{{#if:{{{other actor10|}}}|, [[other actor::{{{other actor10}}}]]}}{{#if:{{{other actor11|}}}|, [[other actor::{{{other actor11}}}]]}}{{#if:{{{other actor12|}}}|, [[other actor::{{{other actor12}}}]]}}</format></data>
    <data source="other voice actor"><label>Other voice actors:</label></data>


| bgcolor=white align="center" colspan="2" | {{{image|No image available}}}
    <group>
|- valign="top"
      <header>Official trailer</header>
| align="center" colspan=2 bgcolor="#0041b7" style="border-bottom:0px solid gray; font-size:larger; color:white;" | '''{{{object name}}}'''
      <data source="trailer"><format>{{video|{{{trailer}}}|250px|center}}</format></data>
|-
    </group>
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt" | '''Also known as:'''
    <group>
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{#if: {{{alias|}}}|{{{alias}}}|''No known aliases''}}
      <header>{{{clip name|Memorable moment}}}</header>
|- valign="top"
      <data source="clip"><format>{{video|{{{clip}}}|250px|center}}</format></data>
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt" | '''Usage:'''
</group>
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{#if: {{{used|}}}|{{{used}}}|''Unknown''}}
    <group>
|- valign="top"
      <header>{{{clip2 name|Another memorable moment}}}</header>
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | '''Owners:'''
      <data source="clip2"><format>{{video|{{{clip2}}}|250px|center}}</format></data>
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{owners}}}
</group>
|- valign="top"
    <group>
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | '''Appearances:'''
      <header>{{{clip3 name|One more memorable moment}}}</header>
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{appearances}}}
      <data source="clip3"><format>{{video|{{{clip3}}}|250px|center}}</format></data>
|- valign="top"
</group>
|}</includeonly><noinclude>
    <group>
{{Infobox Object|
      <header>{{{fullvid name|Full video}}}</header>
|location name = Glasses
      <data source="fullvid"><format>{{video|{{{fullvid}}}|250px|center}}</format></data>
|alias =
</group>
|image = [[File:Doc 3d specs4.jpg|250px]]
    <group>
|usage = *To allow enhanced or altered sight
      <header>{{{bts name|Behind the scenes video}}}</header>
*To observe the effects of the Void and its effect on people and objects.
      <data source="bts"><format>{{video|{{{bts}}}|250px|center}}</format></data>
|owners = [[The Doctor]]
</group>
|appearances = *[[DW]]: ''[[The Daleks]]''
    <group>
*[[DW]]: ''[[The Dæmons]]''
      <header>More behind the scenes stuff</header>
*[[DW]]: ''[[Time Crash]]''
      <data source="bts2"><format>{{video|{{{bts2}}}|250px|center}}</format></data>
*[[DW]]: ''[[Castrovalva (TV story)|Castrovalva]]''
</group>
*[[DW]]: ''[[Silver Nemesis]]''
<group>
*[[DW]]: ''[[The Empty Child]]''
<header>Another behind the scenes moment</header>
*[[DW]]: ''[[Tooth and Claw]]'' et al
      <data source="bts3"><format>{{video|{{{bts3}}}|250px|center}}</format></data>
*[[DW]]: ''[[Army of Ghosts]]/[[Doomsday]]''
</group>
}}
<group layout="horizontal">
== Usage ==
      <header>Leitmotif</header>
<pre>
  <data source="leitmotif"><label>{{{leitmotif name|}}}</label><format>{{{leitmotif}}}</format></data>
{{Infobox Object|
</group>
| location name  = Name
</infobox><noinclude>{{Documentation}}[[Category:Infoboxes]]</noinclude>
| alias            = Known aliases
| image            = Image of the object
| usage            = What the object is used for
| owners          = Known owners of the object
| appearances      = Appearances made
}}</pre>
 
==Example of usage==
<pre>
{{Infobox Object|
|location name = Glasses
|alias =
|image = [[File:Doc 3d specs4.jpg|250px]]
|usage = *To allow enhanced or altered sight
*To observe the effects of the Void and its effect on people and objects.
|owners = [[The Doctor]]
|appearances = *[[DW]]: ''[[The Daleks]]''
*[[DW]]: ''[[The Dæmons]]''
*[[DW]]: ''[[Time Crash]]''
*[[DW]]: ''[[Castrovalva (TV story)|Castrovalva]]''
*[[DW]]: ''[[Silver Nemesis]]''
*[[DW]]: ''[[The Empty Child]]''
*[[DW]]: ''[[Tooth and Claw]]'' et al
*[[DW]]: ''[[Army of Ghosts]]/[[Doomsday]]''
}}</pre>
This produces the infobox on the right side of the page.
[[Category:Infoboxes|{{PAGENAME}}]]</noinclude>

Latest revision as of 20:22, 21 October 2024

Instructions for {{Infobox Object}}
{{Infobox Object}} is the infobox for in-universe objects.

Usage

Cut and paste the entire framework seen below into your article.

{{Infobox Object
|name          = 
|aka           =
|image         = 
|type          = 
|origin        =
|made by       =
|used by       =
|first mention =
|first         = 
|only          =
|appearances   =  
|clip          =
|clip2         =
|clip3         =
}}