Template:Infobox Object: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (making stuff optional)
(+worn by, similar to used by)
Tags: Mobile edit Mobile web edit
 
(67 intermediate revisions by 12 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="worn by"><label>Worn by:</label></data>
|}</includeonly><noinclude>
<data source="first mention"><label>First mentioned in:</label><format>''[[first mention::{{{first mention}}}|{{da smw|{{{first mention}}}}}]]''{{{first mention note|}}}</format></data>
==Usage==
<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>
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="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>


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