Template:Infobox Reference Book: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(recreated from NonFiction Book, this name makes more sense)
 
No edit summary
 
(39 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div>
<infobox theme="infobox">
{| border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:250px; background:#f1f4fa; border-collapse:collapse; border:1px solid #999; font-size:smaller; line-height:1.5; "
    <title source="name"><default>''{{dab away|{{PAGENAME}}}}''</default></title>
<image source="image">
<caption source="caption">
<default>{{#if:{{{image|}}}|{{#set:Has image=File:{{{image|}}}}}|}}</default>
</caption>
</image>
<image source="image2">
<caption source="caption2">
<default>{{#if:{{{image2|}}}|{{#set:Has image=File:{{{image2|}}}}}|}}</default>
</caption>
</image>


| bgcolor=white align="center" colspan="2" | {{{image}}}
<!-- Data -->
|- valign="top"
    <data source="aka"><label>Also known as:</label><format>''{{{aka}}}''</format></data>
| align="center" colspan=2 bgcolor="#336666" style="border-bottom:0px solid gray; font-size:larger; color:white;" | '''{{{book name}}}'''
<data source="adapted from"><label>Adapted from:</label></data>
|- valign="top"
<data source="adapted into"><label>Adapted into:</label></data>
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" |  '''Author:'''
<data source="writer"><label>Written by:</label></data>
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{writer}}}
<data source="illustrator"><label>Illustrator:</label></data>
|- valign="top"
<data source="cover"><label>Cover by:</label></data>
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" |  '''Publisher:'''
<data source="type"><label>Type:</label></data>
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{publisher}}}
<data source="release date"><label>Release date:</label></data>
|- valign="top"
<data source="editor"><label>Editor:</label></data>
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" | '''Publication:'''
<data source="publisher"><label>Publisher:</label><format>[[publisher::{{{publisher}}}]]{{#if:{{{publisher2|}}}|, [[publisher::{{{publisher2}}}]]}}{{#if:{{{publisher3|}}}|, [[publisher::{{{publisher3}}}]]}}</format></data>
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{release date}}}
<data source="format"><label>Format:</label></data>
|- valign="top"
    <data source="isbn"><label>ISBN:</label><format><span class="mn" style="color:#000"<!--necessary to define color for DOL scheme-->>{{{isbn}}}</format></data>
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" |  '''Format:'''
    <group layout="horizontal">
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{format}}}
<data source="ibook"><format><span style="color:#000">[http://itunes.apple.com/book/id{{{ibook}}} available as iBook]</span></format></data>
|- valign="top"
</group>
| style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;" |  '''ISBN:'''
| style="border-bottom:1px solid gray; border-top: 1px solid gray;" | {{{isbn}}}
|- valign="top"
|}


</div><noinclude>[[Category:Infoboxes|Reference Book]]</noinclude>
 
<!-- 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              =
}}