Template:Infobox Reference Book: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (Robot: Automated text replacement (-\| \[\[[Ff]ile:\{\{\{image\|\}\}\}\|250px\]\] +| {{#if:{{{image|}}}|[[file:{{{image}}}|250px]]|No image available}}))
No edit summary
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><div>
<infobox theme="infobox">
{| border="0" cellspacing="0" cellpadding="4" style="clear:right;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>
| bgcolor=white align="center" colspan="2" | {{#if:{{{image|}}}|[[file:{{{image}}}|250px]]|No image available}} {{#if:{{{cover|}}}|Cover art by {{{cover}}}|}}
<image source="image">
|- valign="top"
<caption source="caption">
| align="center" colspan=2 bgcolor="#336666" style="border-bottom:0px solid gray; font-size:larger; color:white;" | '''{{{book name}}}'''
<default>{{#if:{{{image|}}}|{{#set:Has image=File:{{{image|}}}}}|}}</default>
|- valign="top"
</caption>
{{#if:{{{writer|}}}|
</image>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Author:'''
<image source="image2">
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{writer}}}
<caption source="caption2">
}}
<default>{{#if:{{{image2|}}}|{{#set:Has image=File:{{{image2|}}}}}|}}</default>
|- valign="top"
</caption>
{{#if:{{{publisher|}}}|
</image>
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Publisher:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{publisher}}}
}}
|- valign="top"
{{#if:{{{release date|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Publication:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{release date}}}
}}
|- valign="top"
{{#if:{{{format|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Format:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{format}}}
}}
|- valign="top"
{{#if:{{{isbn|}}}|
{{!}}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}}}
}}
|- class{{{previous release}}}="hiddenStructure" style="vertical-align: top;"
{{#if:{{{previous release|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Previous Release:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{previous release}}}
}}
|- class{{{next release}}}="hiddenStructure" style="vertical-align: top;"
{{#if:{{{next release|}}}|
{{!}}style="text-align: left; border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}'''Following Release:'''
{{!}}style="border-bottom:1px solid gray; border-top: 1px solid gray;"{{!}}{{{next release}}}
}}
|}
</div></includeonly><noinclude>
== 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).
<pre>
{{Infobox Reference Book
|book name        =
|image             =
|cover            =
|writer            =
|publisher        =
|release date      =
|format            =
|isbn              = 
|previous release  =
|next release      =
}}
</pre>


== Description of fields ==
<!-- Data -->
<pre>
    <data source="aka"><label>Also known as:</label><format>''{{{aka}}}''</format></data>
{{Infobox Reference Book
<data source="adapted from"><label>Adapted from:</label></data>
|book name        = Name/Title of the book
<data source="adapted into"><label>Adapted into:</label></data>
|image            = Cover image of book at 250px
<data source="writer"><label>Written by:</label></data>
|cover             = Cover artist, if known
<data source="illustrator"><label>Illustrator:</label></data>
|writer            = Writer of book
<data source="cover"><label>Cover by:</label></data>
|publisher        = Publisher of book
<data source="type"><label>Type:</label></data>
|release date     = Release date/Publish date of book
<data source="release date"><label>Release date:</label></data>
|format           = Format and page count of book
<data source="editor"><label>Editor:</label></data>
|isbn             = Type ISBN followed by the number
<data source="publisher"><label>Publisher:</label><format>[[publisher::{{{publisher}}}]]{{#if:{{{publisher2|}}}|, [[publisher::{{{publisher2}}}]]}}{{#if:{{{publisher3|}}}|, [[publisher::{{{publisher3}}}]]}}</format></data>
|previous release  = If reference book is part of a series, the previous book
<data source="format"><label>Format:</label></data>
|next release      = If reference book is part of a series, the next book
    <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">
</pre>
<data source="ibook"><format><span style="color:#000">[http://itunes.apple.com/book/id{{{ibook}}} available as iBook]</span></format></data>
</group>




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