Template:Infobox Reference Book: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
Tag: sourceedit
No edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><div id="infobox-exterior">  
<infobox theme="infobox">
{|  class="infobox-interior"
    <title source="name"><default>''{{dab away|{{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-both" colspan="2"{{!}}{{infobox image|{{{image}}}|{{#if:{{{caption|}}}|{{{caption}}}|}}}}}}{{#set:Has image=File:{{{image|}}} }}
</caption>
|-
</image>
{{#if:{{{adapted from|}}}|{{!}}class="info-left"{{!}}Adapted from:}}
<image source="image2">
{{#if:{{{adapted from|}}}|{{!}}class="info-right"{{!}}''{{dab away|{{{adapted from}}}}}''}}
<caption source="caption2">
|-
<default>{{#if:{{{image2|}}}|{{#set:Has image=File:{{{image2|}}}}}|}}</default>
{{#if:{{{adapted into|}}}|{{!}}class="info-left"{{!}}Adapted into:}}
</caption>
{{#if:{{{adapted into|}}}|{{!}}class="info-right"{{!}}''{{dab away|{{{adapted into}}}}}''}}
</image>
|-
{{#if:{{{writer|}}}|{{!}}class="info-left"{{!}}Written by:}}
{{#if:{{{writer|}}}|{{!}}class="info-right"{{!}}{{{writer}}}}}
|-
{{#if:{{{illustrator|}}}|{{!}}class="info-left"{{!}}Illustrator:}}
{{#if:{{{illustrator|}}}|{{!}}class="info-right"{{!}}{{{illustrator}}}}}
|-
{{#if:{{{cover|}}}|{{!}}class="info-left"{{!}}Cover by:}}
{{#if:{{{cover|}}}|{{!}}class="info-right"{{!}}{{{cover}}}}}
|-
{{ #if: {{{type|}}}|{{!}}class="info-left"{{!}}Type:}}
{{ #if: {{{type|}}}|{{!}}class="info-right"{{!}}{{{type}}}}}
|-
{{#if:{{{publisher|}}}|{{!}}class="info-left"{{!}}Publisher:}}
{{#if:{{{publisher|}}}|{{!}}class="info-right"{{!}}[[publisher::{{{publisher}}}]]}}{{#if:{{{publisher2|}}}|, [[publisher::{{{publisher2}}}]]}}{{#if:{{{publisher3|}}}|, [[publisher::{{{publisher3}}}]]}}
|-
{{ #if: {{{editor|}}}|{{!}}class="info-left"{{!}}Editor:}}
{{ #if: {{{editor|}}}|{{!}}class="info-right"{{!}}{{{editor}}}}}
|-
{{ #if: {{{release date|}}}|{{!}}class="info-left"{{!}}Release date:}}
{{ #if: {{{release date|}}}|{{!}}class="info-right"{{!}}{{{release date}}}}}
|-
{{ #if: {{{format|}}}|{{!}}class="info-left"{{!}}Format:}}
{{ #if: {{{format|}}}|{{!}}class="info-right"{{!}}{{{format}}}}}
|-
{{#if:{{{isbn|}}}|{{!}}colspan=2 class="info-both" style="text-align:center" id="mn" {{!}}{{{isbn}}}}}
|-
{{#if:{{{ibook|}}}|{{!}}colspan=2 class="info-both" style="text-align:center" id="mn" {{!}}[http://itunes.apple.com/book/id{{{ibook}}} available as iBook]}}
|-
{{#if:{{{nav|}}}||!colspan="3" class=info-both{{!}}Navigation}}
|-
{{#if:{{{nav|}}}||!class=info-left style="text-align:left"{{!}}&larr;Previous}}
{{#if:{{{nav|}}}||!class=info-right{{!}}Next&rarr;}}
|-
{{#if:{{{series|}}}|{{!}}colspan="3" class="info-both-nav" {{!}}{{{series}}}}}
|-
{{#switch:{{{prev|}}}
|=
|none={{!}}class="info-left-nav"{{!}}none
|#default={{!}}class="info-left-nav"{{!}}''{{dab away|{{{prev}}}}}''
}}
{{#switch:{{{next|}}}
|=
|none={{!}}class="info-right-nav"{{!}}none
|TBA={{!}}class="info-right-nav"{{!}}TBA
|#default={{!}}class="info-right-nav"{{!}}''{{dab away|{{{next}}}}}''
}}
|-
{{#if:{{{trailer|}}}|!colspan="3"{{!}}Trailer|}}
|-
{{#if:{{{trailer|}}}|{{!}}class="info-vid" {{#ifeq:{{#sub:{{{trailer}}}|-4}}|.ogg|id="info-ogg"|}} colspan="2"{{!}}[[File:{{{trailer}}}|250px|center]]{{ogg-name|{{{trailer|}}}|{{{trailer name|}}}}} }}
|-
{{#if:{{{trailer2|}}}|!colspan="3"{{!}}Another trailer|}}
|-
{{#if:{{{trailer2|}}}|{{!}}class="info-vid" {{#ifeq:{{#sub:{{{trailer2}}}|-4}}|.ogg|id="info-ogg"|}} colspan="2"{{!}}[[File:{{{trailer2}}}|250px|center]]{{ogg-name|{{{trailer2|}}}|{{{trailer2 name|}}}}} }}
|-
{{#if:{{{trailer3|}}}|!colspan="3"{{!}}One more trailer|}}
|-
{{#if:{{{trailer2|}}}|{{!}}class="info-vid" {{#ifeq:{{#sub:{{{trailer3}}}|-4}}|.ogg|id="info-ogg"|}} colspan="2"{{!}}[[File:{{{trailer3}}}|250px|center]]{{ogg-name|{{{trailer3|}}}|{{{trailer3 name|}}}}} }}
|-
{{#if:{{{clip|}}}|!colspan="3"{{!}}Clip|}}
|-
{{#if:{{{clip|}}}|{{!}}class="info-vid" {{#ifeq:{{#sub:{{{clip}}}|-4}}|.ogg|id="info-ogg"|}} colspan="2"{{!}}[[File:{{{clip}}}|250px|center]]{{ogg-name|{{{clip|}}}|{{{clip name|}}}}} }}
|-
{{#if:{{{clip2|}}}|!colspan="3"{{!}}Another clip|}}
|-
{{#if:{{{clip2|}}}|{{!}}class="info-vid" {{#ifeq:{{#sub:{{{clip2}}}|-4}}|.ogg|id="info-ogg"|}} colspan="2"{{!}}[[File:{{{clip2}}}|250px|center]]{{ogg-name|{{{clip2|}}}|{{{clip2 name|}}}}} }}
|-
{{#if:{{{clip3|}}}|!colspan="3"{{!}}One more clip|}}
|-
{{#if:{{{clip3|}}}|{{!}}class="info-vid" {{#ifeq:{{#sub:{{{clip3}}}|-4}}|.ogg|id="info-ogg"|}} colspan="2"{{!}}[[File:{{{clip3}}}|250px|center]]{{ogg-name|{{{clip3|}}}|{{{clip3 name|}}}}} }}
|-
{{#if:{{{bts|}}}|!colspan="3"{{!}}Behind the scenes video|}}
|-
{{#if:{{{bts|}}}|{{!}}class="info-vid" {{#ifeq:{{#sub:{{{bts}}}|-4}}|.ogg|id="info-ogg"|}} colspan="2"{{!}}[[File:{{{bts}}}|250px|center]]{{ogg-name|{{{bts|}}}|{{{bts name|}}}}} }}
|-
{{#if:{{{bts2|}}}|!colspan="3"{{!}}More behind the scenes stuff|}}
|-
{{#if:{{{bts2|}}}|{{!}}class="info-vid" {{#ifeq:{{#sub:{{{bts2}}}|-4}}|.ogg|id="info-ogg"|}} colspan="2"{{!}}[[File:{{{bts2}}}|250px|center]]{{ogg-name|{{{bts2|}}}|{{{bts2 name|}}}}} }}
|-
{{#if:{{{bts3|}}}|!colspan="3"{{!}}Another behind the scenes moment|}}
|-
{{#if:{{{bts3|}}}|{{!}}class="info-vid" {{#ifeq:{{#sub:{{{bts3}}}|-4}}|.ogg|id="info-ogg"|}} colspan="2"{{!}}[[File:{{{bts3}}}|250px|center]]{{ogg-name|{{{bts3|}}}|{{{bts3 name|}}}}} }}
|-
|}</div></includeonly><noinclude>


{{documentation}}[[Category:Infoboxes|Reference]]</noinclude>
<!-- Data -->
    <data source="aka"><label>Also known as:</label><format>''{{{aka}}}''</format></data>
<data source="adapted from"><label>Adapted from:</label></data>
<data source="adapted into"><label>Adapted into:</label></data>
<data source="writer"><label>Written by:</label></data>
<data source="illustrator"><label>Illustrator:</label></data>
<data source="cover"><label>Cover by:</label></data>
<data source="type"><label>Type:</label></data>
<data source="release date"><label>Release date:</label></data>
<data source="editor"><label>Editor:</label></data>
<data source="publisher"><label>Publisher:</label><format>[[publisher::{{{publisher}}}]]{{#if:{{{publisher2|}}}|, [[publisher::{{{publisher2}}}]]}}{{#if:{{{publisher3|}}}|, [[publisher::{{{publisher3}}}]]}}</format></data>
<data source="format"><label>Format:</label></data>
    <data source="isbn"><label>ISBN:</label><format><span class="mn" style="color:#000"<!--necessary to define color for DOL scheme-->>{{{isbn}}}</format></data>
    <group layout="horizontal">
<data source="ibook"><format><span style="color:#000">[http://itunes.apple.com/book/id{{{ibook}}} available as iBook]</span></format></data>
</group>
 
 
<!-- Video -->
 
      <group>
      <header>Official advertisement</header>
      <data source="trailer"><format>{{video|{{{trailer}}}|250px|center}}</format></data>
      </group>
 
      <group>
      <header>Another official advertisement</header>
      <data source="trailer2"><format>{{video|{{{trailer2}}}|250px|center}}</format></data>
      </group>
 
      <group>
      <header>{{{clip name|Memorable moment}}}</header>
      <data source="clip"><format>{{video|{{{clip}}}|250px|center}}</format></data>
      </group>
     
      <group>
      <header>{{{clip2 name|Another memorable moment}}}</header>
      <data source="clip2"><format>{{video|{{{clip2}}}|250px|center}}</format></data>
      </group>
     
      <group>
      <header>{{{clip3 name|One more memorable moment}}}</header>
      <data source="clip3"><format>{{video|{{{clip3}}}|250px|center}}</format></data>
        </group>
     
        <group>
        <header>{{{fullvid name|Full video}}}</header>
      <data source="fullvid"><format>{{video|{{{fullvid}}}|250px|center}}</format></data>
</group>
 
        <group>
        <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>
        <header>A Scene in Analysis</header>
        <data source="scene analysis"><format>{{video|{{{scene analysis}}}|250px|center}}</format></data>
</group>
 
<!-- Audio -->
 
<group layout="horizontal">
        <header>Official audio trailer</header>
  <data source="soundcloudtrailer"><format>{{soundcloud|{{{soundcloudtrailer}}}}}</format></data>
</group>
 
<group layout="horizontal">
        <header>Another official audio trailer</header>
  <data source="soundcloudtrailer2"><format>{{soundcloud|{{{soundcloudtrailer2}}}}}</format></data>
</group>
 
<group layout="horizontal">
        <header>Music suite</header>
  <data source="musicsuite"><format>{{soundcloud|{{{musicsuite}}}}}</format></data>
</group>
 
<group layout="horizontal">
        <header>Music sample</header>
  <data source="sample"><label>{{{sample name|}}}</label><format>{{soundcloud|{{{sample}}}}}</format></data>
</group>
<group layout="horizontal">
        <header>Behind the scenes interview</header>
<data source="soundcloudbts"><format>{{soundcloud|{{{soundcloudbts}}}}}</format></data>
    </group>
<group layout="horizontal">
        <header>Audio commentary</header>
<data source="audio commentary"><format>{{soundcloud|{{{audio commentary}}}}}</format></data>
</group>
 
<group layout="horizontal">
        <header>Full audio</header>
<data source="fullaud"><format>{{soundcloud|{{{fullaud}}}}}</format></data>
</group>
 
<!-- Navigation -->
    <group layout="horizontal">
    <header>Navigation</header>
    <header><div class="story-nav">{{{series}}}</div></header>
    <data source="prev"><label>&larr; Previous</label><format>''{{da|{{{prev}}}}}''</format></data>
    <data source="next"><label>Next &rarr;</label><format>''{{da|{{{next}}}}}''</format></data>
    </group>
 
    <group layout="horizontal">
    <header><div class ="story-nav">{{{series2}}}</div></header>
    <data source="prev2"><format>''{{da|{{{prev2}}}}}''</format></data>
    <data source="next2"><format>''{{da|{{{next2}}}}}''</format></data>
    </group>
 
    <group layout="horizontal">
    <header><div class="story-nav">{{{series3}}}</div></header>
    <data source="prev3"><format>''{{da|{{{prev3}}}}}''</format></data>
    <data source="next3"><format>''{{da|{{{next3}}}}}''</format></data>
    </group>
 
</infobox>
<noinclude>{{Documentation}}[[Category:Infoboxes]]</noinclude>

Latest revision as of 20:01, 19 February 2024

Instructions for {{Infobox Reference Book}}

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).

{{Infobox Reference Book
|image             =
|cover             =
|writer            =
|publisher         =
|publisher2        =
|publisher3        =
|release date      =
|format            =
|type              =
|isbn              =
|prev              =
|next              =
}}