Template:Infobox Object: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
No edit summary
(60 intermediate revisions by 9 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:Whitesmoke; border-collapse:collapse; border:1px solid #999; font-size:smaller; line-height:1.5; "
<infobox theme="infobox">
| bgcolor=white align="center" colspan="2" | {{{image|No image available}}}
<title source="name"><default>{{da smw|{{PAGENAME}}}}</default></title>
|- valign="top"
<image source="image">
| align="center" colspan=2 bgcolor="Slategray" style="border-bottom:0px solid gray; font-size:larger; color:Whitesmoke;" | '''{{{object name}}}'''
<caption source="caption">
|-
<default>{{#if:{{{image|}}}|{{#set:Has image=File:{{{image|}}}}}|}}</default>
{{#if:{{{type|}}}|
</caption>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" width="80pt"{{!}}'''Type:'''
</image>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{type}}}
<image source="image2">
}}
<caption source="caption">
|- class{{{origin}}}="hiddenStructure" style="vertical-align: top;"
<default>{{#if:{{{image2|}}}|{{#set:Has image=File:{{{image2|}}}}}|}}</default>
{{#if:{{{origin|}}}|
</caption>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Created by:'''
</image>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{origin}}}
<data source="aka"><label>Main aliases:</label></data>
}}
<data source="type"><label>Type:</label></data>
|- class{{{appearances}}}="hiddenStructure" style="vertical-align: top;"
<data source="location"><label>Location:</label></data>
{{#if:{{{appearances|}}}|
<data source="origin"><label>Place of origin:</label></data>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Appearances:'''
<data source="made by"><label>Made by:</label></data>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{appearances}}}
<data source="used by"><label>Used by:</label></data>
}}
<data source="first mention"><label>First mentioned in:</label><format>''[[first mention::{{{first mention}}}|{{da smw|{{{first mention}}}}}]]''</format></data>
|- class{{{mentions}}}="hiddenStructure" style="vertical-align: top;"
<data source="first mention cs"><label>First mentioned in:</label><format>{{cite source|{{{first mention cs}}}}}{{#set:first mention={{{first mention cs}}}}}</format></data>
{{#if:{{{mentions|}}}|
<data source="first"><label>First appearance:</label><format>''[[first appearance::{{{first}}}|{{da smw|{{{first}}}}}]]''</format></data>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Mentions:'''
<data source="first cs"><label>First appearance:</label><format>{{cite source|{{{first cs}}}}}{{#set:first appearance={{{first cs}}}}}</format></data>
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{mentions}}}
<data source="only"><label>Appearance:</label><format>''[[first appearance::{{{only}}}|{{da smw|{{{only}}}}}]]''</format></data>
}}
<data source="only cs"><label>Appearance:</label><format>{{cite source|{{{only cs}}}}}{{#set:first appearance={{{only cs}}}}}</format></data>
|}</includeonly><noinclude>
<data source="appearances"><label>Appearances:</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).
<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>


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

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         =
}}