Template:Infobox Object: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
No edit summary
(33 intermediate revisions by 5 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|{{PAGENAME}}}}}
<caption source="caption">
|-
<default>{{#if:{{{image|}}}|{{#set:Has image=File:{{{image|}}}}}|}}</default>
{{#if:{{{image|}}}|{{!}}class="info-pic" colspan="2"{{!}}{{infobox image|{{{image}}}|{{#if:{{{caption|}}}|{{{caption}}}|}}}}}}{{#set:Has image=File:{{{image|}}} }}
</caption>
|-
</image>
{{#if:{{{image2|}}}|{{!}}class="info-pic2" colspan="2"{{!}}[[file:{{{image2}}}]]{{#if:{{{image2|}}}|{{#set:Has image=File:{{{image2|}}}}}|}}}}
<image source="image2">
|-
<caption source="caption">
{{#if:{{{aka|}}}|{{!}}class="info-left"{{!}}Main aliases:}}
<default>{{#if:{{{image2|}}}|{{#set:Has image=File:{{{image2|}}}}}|}}</default>
{{#if:{{{aka|}}}|{{!}}class="info-right"{{!}}{{{aka}}}}}
</caption>
|-
</image>
{{ #if: {{{alias|}}}|{{!}}class="info-left"{{!}}Main aliases:}}
<data source="aka"><label>Main aliases:</label></data>
{{ #if: {{{alias|}}}|{{!}}class="info-right"{{!}}{{{alias}}}}}
<data source="type"><label>Type:</label></data>
|-
<data source="location"><label>Location:</label></data>
{{ #if: {{{type|}}}|{{!}}class="info-left"{{!}}Type:}}
<data source="origin"><label>Place of origin:</label></data>
{{ #if: {{{type|}}}|{{!}}class="info-right"{{!}}{{{type}}}}}
<data source="made by"><label>Made by:</label></data>
|-
<data source="used by"><label>Used by:</label></data>
{{ #if: {{{origin|}}}|{{!}}class="info-left"{{!}}Place of origin:}}
<data source="first mention"><label>First mentioned in:</label><format>''[[first mention::{{{first mention}}}|{{da smw|{{{first mention}}}}}]]''</format></data>
{{ #if: {{{origin|}}}|{{!}}class="info-right"{{!}}{{{origin}}}}}
<data source="first mention cs"><label>First mentioned in:</label><format>{{cite source|{{{first mention cs}}}}}{{#set:first mention={{{first mention cs}}}}}</format></data>
|-
<data source="first"><label>First appearance:</label><format>''[[first appearance::{{{first}}}|{{da smw|{{{first}}}}}]]''</format></data>
{{ #if: {{{made by|}}}|{{!}}class="info-left"{{!}}Made by:}}
<data source="first cs"><label>First appearance:</label><format>{{cite source|{{{first cs}}}}}{{#set:first appearance={{{first cs}}}}}</format></data>
{{ #if: {{{made by|}}}|{{!}}class="info-right"{{!}}{{{made by}}}}}
<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>
{{ #if: {{{used by|}}}|{{!}}class="info-left"{{!}}Used by:}}
<data source="appearances"><label>Appearances:</label></data>
{{ #if: {{{used by|}}}|{{!}}class="info-right"{{!}}{{{used by}}}}}
|-
<data source="actor"><label>Main actor:</label><format>[[actor::{{{actor}}}|{{da smw|{{{actor}}}}}]]</format></data>
{{ #if: {{{first mention|}}}|{{!}}class="info-left"{{!}}First mentioned in:}}
    <data source="main actor"><label>Main TV actor:</label><format>[[main TV actor::{{{main actor}}}|{{da smw|{{{main actor}}}}}]]</format></data>
{{ #if: {{{first mention|}}}|{{!}}class="info-right"{{!}}''{{dab away|{{{first mention}}}}}''}}
    <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>
{{ #if: {{{first|}}}|{{!}}class="info-left"{{!}}First seen in:}}
    <data source="other voice actor"><label>Other voice actors:</label></data>
{{ #if: {{{first|}}}|{{!}}class="info-right"{{!}}''{{dab away|{{{first}}}}}''}}
 
|-
    <group>
{{#if:{{{only|}}}|{{!}}class="info-left"{{!}}Appearance:}}  
      <header>Official trailer</header>
{{#if:{{{only|}}}|{{!}}class="info-right"{{!}}''{{dab away|{{{only}}}}}''}}
      <data source="trailer"><format>{{video|{{{trailer}}}|250px|center}}</format></data>
|-
    </group>
{{#if:{{{appearances|}}}|{{!}}class="info-left"{{!}}Appearances:}}
    <group>
{{#if:{{{appearances|}}}|{{!}}class="info-right"{{!}}{{{appearances}}}}}
      <header>{{{clip name|Memorable moment}}}</header>
|-
      <data source="clip"><format>{{video|{{{clip}}}|250px|center}}</format></data>
|-
</group>
{{#if:{{{trailer|}}}|!colspan="3"{{!}}Official trailer|}}
    <group>
|-
      <header>{{{clip2 name|Another memorable moment}}}</header>
{{#if:{{{trailer|}}}|{{!}}class="info-both" colspan="2" style="margin-top:3px;"{{!}}[[File:{{{trailer}}}|250px|center]] }}
      <data source="clip2"><format>{{video|{{{clip2}}}|250px|center}}</format></data>
|-
</group>
{{#if:{{{clip|}}}|!colspan="3"{{!}}Memorable moment|}}
    <group>
|-
      <header>{{{clip3 name|One more memorable moment}}}</header>
{{#if:{{{clip|}}}|{{!}}class="info-vid" colspan="2"{{!}}[[File:{{{clip}}}|250px|center]] }}
      <data source="clip3"><format>{{video|{{{clip3}}}|250px|center}}</format></data>
|-
</group>
{{#if:{{{clip2|}}}|!colspan="3"{{!}}Another memorable moment|}}
    <group>
|-
      <header>{{{fullvid name|Full video}}}</header>
{{#if:{{{clip2|}}}|{{!}}class="info-vid" colspan="2"{{!}}[[File:{{{clip2}}}|250px|center]] }}
      <data source="fullvid"><format>{{video|{{{fullvid}}}|250px|center}}</format></data>
|-
</group>
{{#if:{{{clip3|}}}|!colspan="3"{{!}}One more memorable moment|}}
    <group>
|-
      <header>{{{bts name|Behind the scenes video}}}</header>
{{#if:{{{clip3|}}}|{{!}}class="info-vid" colspan="2"{{!}}[[File:{{{clip3}}}|250px|center]] }}
      <data source="bts"><format>{{video|{{{bts}}}|250px|center}}</format></data>
|-
</group>
{{#if:{{{fullvid|}}}|!colspan="3"{{!}}Full video|}}
    <group>
|-
      <header>More behind the scenes stuff</header>
{{#if:{{{fullvid|}}}|{{!}}class="info-vid" colspan="2"{{!}}[[File:{{{fullvid}}}|250px|center]] }}
      <data source="bts2"><format>{{video|{{{bts2}}}|250px|center}}</format></data>
|-
</group>
{{#if:{{{bts|}}}|!colspan="3"{{!}}Behind the scenes video|}}
<group>
|-
<header>Another behind the scenes moment</header>
{{#if:{{{bts|}}}|{{!}}class="info-vid" colspan="2"{{!}}[[File:{{{bts}}}|300px|center]] }}
      <data source="bts3"><format>{{video|{{{bts3}}}|250px|center}}</format></data>
|-
</group>
{{#if:{{{bts2|}}}|!colspan="3"{{!}}More behind the scenes stuff|}}
<group layout="horizontal">
|-
      <header>Leitmotif</header>
{{#if:{{{bts2|}}}|{{!}}class="info-vid" colspan="2"{{!}}[[File:{{{bts2}}}|250px|center]] }}
  <data source="leitmotif"><label>{{{leitmotif name|}}}</label><format>{{{leitmotif}}}</format></data>
|}</div></includeonly><noinclude>{{documentation}}[[Category:Infoboxes|{{PAGENAME}}]]</noinclude>
</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         =
}}