Template:Infobox Object: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
No edit summary
(55 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{| border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:250px; background:White; border-collapse:collapse; border:1px solid #999; font-size:smaller; line-height:1.5; "
<infobox theme="infobox">
|- class{{{image}}}="hiddenStructure" style="vertical-align: top;"
<title source="name"><default>{{da smw|{{PAGENAME}}}}</default></title>
| bgcolor=white align="center" colspan="2" | {{#if:{{{image|}}}|[[file:{{{image}}}|250px]]|No image available}}
<image source="image">
|- valign="top"
<caption source="caption">
| align="center" colspan=2 bgcolor="Slategray" style="border-bottom:0px solid gray; font-size:larger; color:White;" | '''{{{object name}}}'''
<default>{{#if:{{{image|}}}|{{#set:Has image=File:{{{image|}}}}}|}}</default>
|-
</caption>
{{#if:{{{alias|}}}|
</image>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt"{{!}}'''Also known as:'''
<image source="image2">
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{alias}}}
<caption source="caption">
}}
<default>{{#if:{{{image2|}}}|{{#set:Has image=File:{{{image2|}}}}}|}}</default>
|- class{{{origin}}}="hiddenStructure" style="vertical-align: top;"
</caption>
{{#if:{{{type|}}}|
</image>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt"{{!}}'''Type:'''
<data source="aka"><label>Main aliases:</label></data>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{type}}}
<data source="type"><label>Type:</label></data>
}}
<data source="location"><label>Location:</label></data>
|- class{{{origin}}}="hiddenStructure" style="vertical-align: top;"
<data source="origin"><label>Place of origin:</label></data>
{{#if:{{{origin|}}}|
<data source="made by"><label>Made by:</label></data>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Created by:'''
<data source="used by"><label>Used by:</label></data>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{origin}}}
<data source="first mention"><label>First mentioned in:</label><format>''[[first mention::{{{first mention}}}|{{da smw|{{{first mention}}}}}]]''</format></data>
}}
<data source="first mention cs"><label>First mentioned in:</label><format>{{cite source|{{{first mention cs}}}}}{{#set:first mention={{{first mention cs}}}}}</format></data>
|- class{{{appearances}}}="hiddenStructure" style="vertical-align: top;"
<data source="first"><label>First appearance:</label><format>''[[first appearance::{{{first}}}|{{da smw|{{{first}}}}}]]''</format></data>
{{#if:{{{appearances|}}}|
<data source="first cs"><label>First appearance:</label><format>{{cite source|{{{first cs}}}}}{{#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}}}}}]]''</format></data>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{appearances}}}
<data source="only cs"><label>Appearance:</label><format>{{cite source|{{{only cs}}}}}{{#set:first appearance={{{only cs}}}}}</format></data>
}}
<data source="appearances"><label>Appearances:</label></data>
|- class{{{mentions}}}="hiddenStructure" style="vertical-align: top;"
{{#if:{{{mentions|}}}|
<data source="actor"><label>Main actor:</label><format>[[actor::{{{actor}}}|{{da smw|{{{actor}}}}}]]</format></data>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Mentions:'''
    <data source="main actor"><label>Main TV actor:</label><format>[[main TV actor::{{{main actor}}}|{{da smw|{{{main actor}}}}}]]</format></data>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{mentions}}}
    <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>
|}</includeonly><noinclude>
    <data source="other voice actor"><label>Other voice actors:</label></data>
== 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).


<pre>
    <group>
{{Infobox Object
      <header>Official trailer</header>
|object name =  
      <data source="trailer"><format>{{video|{{{trailer}}}|250px|center}}</format></data>
|alias      =
    </group>
|image      =
    <group>
|type        =  
      <header>{{{clip name|Memorable moment}}}</header>
|origin      =
      <data source="clip"><format>{{video|{{{clip}}}|250px|center}}</format></data>
|appearances =
</group>
|mentions    =
    <group>
}}
      <header>{{{clip2 name|Another memorable moment}}}</header>
</pre>
      <data source="clip2"><format>{{video|{{{clip2}}}|250px|center}}</format></data>
 
</group>
== Description of fields ==
    <group>
<pre>
      <header>{{{clip3 name|One more memorable moment}}}</header>
{{Infobox Object
      <data source="clip3"><format>{{video|{{{clip3}}}|250px|center}}</format></data>
|object name = Object's name
</group>
|alias      = Any other notable name it goes by
    <group>
|image      = Image of the object
      <header>{{{fullvid name|Full video}}}</header>
|type       = Type of object it is
      <data source="fullvid"><format>{{video|{{{fullvid}}}|250px|center}}</format></data>
|origin      = Where the object is from
</group>
|appearances = Stories it has appeared in
    <group>
|mentions    = Stories it has mentioned in
      <header>{{{bts name|Behind the scenes video}}}</header>
}}
      <data source="bts"><format>{{video|{{{bts}}}|250px|center}}</format></data>
</pre>
</group>
 
    <group>
[[Category:Infoboxes|Object]]</noinclude>
       <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>

Revision as of 19:59, 19 February 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         =
}}