Template:Novel infobox: Difference between revisions

From Halopedia, the Halo wiki

(Add documentation)
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(110 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<div style="width:250px;float:right;clear:right;margin:1em 0 1em 1em;border:1px solid #B5B7CF;background:#EFF0FF;-moz-border-radius:10px;padding:10px 10px 10px 10px;">
{{Infobox|start|bg=#{{#switch:{{{variant}}}|Original=5e86b7|Forerunner=B3B3B3|KiloFive=3f2419|MasterChief=d88015|Rion=fbb01f|Alpha9=08F1AE|GreyTeam=d72c28|Ferrets=514541|BattleBorn=9e2026|HaloInfinite=3f5f81|Anthology=86a985|555}}}}
<div style="text-align:center;font-size:16px;font-weight:900;line-height:1.5em;">{{{name}}}
{{Infobox|title|name={{{name|''{{PAGETITLE}}''}}}}}
<div class="hiddenStructure{{{image|}}}">[[image:{{{image}}}|{{{imageSize|200}}}px|center|{{{image}}}]]</div></div>
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
<div style="clear:left;font-size:10px;text-align:center">
 
<div style="width:80px;float:left;text-align:left;">Author(s)</div>
{{Infobox|section|title={{{section1-title|Attribution information}}}|entries=
<div style="width:170px;float:left;text-align:right;">{{{Author}}}</div>
{{Infobox|entry|title={{{author-title|Author(s)}}}|content={{{author|}}}}}
</div>
    {{Infobox|entry|title={{{cover artist-title|Cover artist(s)}}}|content={{{cover artist|}}}}}
<div style="clear:left;font-size:10px;text-align:center">
    {{Infobox|entry|title={{{illustrator-title|Illustrator(s)}}}|content={{{illustrator|}}}}}
<div style="width:80px;float:left;text-align:left;">Publisher</div>
    {{Infobox|entry|title={{{editor-title|Editor(s)}}}|content={{{editor|}}}}}
<div style="width:170px;float:left;text-align:right;">{{{Publisher}}}</div>
    {{Infobox|entry|title={{{audio-title|Audio book narrator(s)}}}|content={{{audio|}}}}}
</div>
}}
<div style="clear:left;font-size:10px;text-align:center;border-top:2px solid #B5B7CF;">
 
<div style="width:80px;float:left;text-align:left;">Date Released</div>
{{Infobox|section|title={{{section2-title|Publication information}}}|entries=
<div style="width:170px;float:left;text-align:right;">{{{Date Released}}}</div>
{{Infobox|entry|title={{{publisher-title|Publisher}}}|content={{{publisher|}}}}}
</div>
    {{Infobox|entry|title={{{publication-title|Publication date}}}|content={{{publication|}}}}}
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
    {{Infobox|entry|title={{{media-title|Media type}}}|content={{{media|}}}}}
<div style="width:80px;float:left;text-align:left;">Length</div>
    {{Infobox|entry|title={{{length-title|Pages}}}|content={{{length|}}}}}
<div style="width:170px;float:left;text-align:right;">{{{Length}}}</div>
    {{Infobox|entry|title={{{ISBN-title|ISBN}}}|content={{{ISBN|}}}}}
</div>
}}
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
 
<div style="width:80px;float:left;text-align:left;">Availability</div>
{{Infobox|section|title={{{section3-title|Series information}}}|entries=
<div style="width:170px;float:left;text-align:right;">{{{Availability}}}</div>
{{Infobox|entry|title={{{series-title|Series}}}|content={{{series|}}}}}
</div>
{{Infobox|colspan|align=center|content={{#if:{{{preceded|}}}{{{followed|}}}|<nowiki/>
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
{{col-begin}}
<div style="width:80px;float:left;text-align:left;">ISBN 10</div>
{{col-3}}
<div style="width:170px;float:left;text-align:right;">{{{ISBN}}}</div>
{{{preceded|}}}
</div>
{{col-3}}
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
'''{{{current|{{{name|''{{PAGETITLE}}''}}}}}}'''
<div style="width:80px;float:left;text-align:left;">Product Dimensions</div>
{{col-3}}
<div style="width:170px;float:left;text-align:right;">{{{Product Dimensions}}}<BR>{{{Product Dimensions Metric|}}}</div>
{{{followed|}}}
</div>
{{col-end}}
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
}}}}
<div style="width:80px;float:left;text-align:left;">Shipping Weight</div>
<div style="width:170px;float:left;text-align:right;">{{{Shipping Weight}}}<BR>{{{Shipping Mass|}}}</div>
</div>
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
<div style="width:80px;float:left;text-align:left;">Price Listing</div>
<div style="width:170px;float:left;text-align:right;">{{{US Price}}}&nbsp;[[Image:USA.png|20px]]<BR>{{{Can Price}}}&nbsp;[[Image:Canada.png|20px]]<BR>{{{UK Price}}}&nbsp;[[Image:UK-flag.png|20px]]</div>
</div>
<div class="hiddenStructureAmazon" style="width:250px;clear:left;font-size:10px;text-align:center;border-top:2px solid #B5B7CF;">
[{{{Amazon}}} Buy this book from Amazon]
</div>
<div class="hiddenStructure{{{website|}}}" style="width:250px;clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
[{{{website}}} Website]
</div>
</div><noinclude>{{Clear}}
Add the following code and change the values to add the book template to the an article:
<PRE>
{{Book Info
|name= ''Halo: The Fall of Reach''
|image=Fallofreach.jpg
|imageSize=200
|Author=[[Eric Nylund]]
|Publisher= [[Del Rey Books]]
|Date Released= October 30, 2001
|Length= 352 Pages
|US Price=$7.99
|Can Price=$10.99
|UK Price=£6.99
|ISBN-10= 0345451325
|ISBN-13= 978-0345451323 
|Amazon=http://www.amazon.com/Fall-Reach-Halo-Eric-Nylund/dp/0345451325/ref=pd_bbs_sr_1/103-6869926-5685403?ie=UTF8&s=books&qid=1173094680&sr=8-1
|Availability= Paperback
|ISBN= 0782142362
|Product Dimensions= 9.1 x 7.4 x 0.5 inches
|Product Dimensions Metric=17.4 x 10.7 x 2.5 cm
|Shipping Weight= 12.64 ounces
|Shipping Mass= 1.00 Kg
}}
}}
</PRE>


{{Book Info
{{Infobox|section|title={{{section4-title|Other information}}}|entries=
|name= ''Halo: The Fall of Reach''
{{Infobox|entry|title={{{multiseries-title|Multimedia series}}}|content={{{multiseries|}}}}}
|image=Fallofreach.jpg
    {{Infobox|entry|title={{{noteable-title|Notable info}}}|content={{{notable|}}}}}
|imageSize=200
|Author=[[Eric Nylund]]
|Publisher= [[Del Rey Books]]
|Date Released= October 30, 2001
|Length= 352 Pages
|US Price=$7.99
|Can Price=$10.99
|UK Price=£6.99
|ISBN-10= 0345451325
|ISBN-13= 978-0345451323 
|Amazon=http://www.amazon.com/Fall-Reach-Halo-Eric-Nylund/dp/0345451325/ref=pd_bbs_sr_1/103-6869926-5685403?ie=UTF8&s=books&qid=1173094680&sr=8-1
|Availability= Paperback
|ISBN= 0782142362
|Product Dimensions= 9.1 x 7.4 x 0.5 inches
|Product Dimensions Metric=17.4 x 10.7 x 2.5 cm
|Shipping Weight= 12.64 ounces
|Shipping Mass= 1.00 Kg
}}
}}


[[Category:Template|Books]]
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Novel}}}}}</includeonly><noinclude>{{Doc/Template}} __NOTOC__ [[Category:Infobox templates]]</noinclude>
</noinclude>

Latest revision as of 10:11, June 14, 2024

Novel infobox
 
vde
Template Documentation

Description

This template is used to insert an infobox for use on articles about novels.

Usage

Copy and paste the following into the article and fill in the fields.

{{Novel infobox
|name= (Used to put down the title in the event the article name is already used)
|variant=<specify Original, Forerunner, KiloFive, MasterChief, Rio, Alpha9, GreyTeam, Ferrets, Battleborn, HaloInfinite, or Anthology. No value makes infobox grey>
|image=
|author=
|cover artist= (Used to denote the artist(s) who were responsible for the book's cover art, if any.)
|illustrator= (Used to denote the artist(s) who were responsible for illustrations within the book not including the cover art, if any.
|editor= (Used to denote editor(s) if any are known.)
|audio= (Used to denote audio book narrators if any are known.)
|publisher=
|publication=
|media=
|length=
|ISBN=
|series= (Used to denote what novel series this book is part off.)
|preceded=
|followed=
|multiseries= (Used to denote if the novel is part of a multimedia series.)
|notable=
}}
Note: for ISBN, please include [[Special:BookSources/ISBN-NUMBER-HERE|ISBN-NUMBER-HERE]]. So, for example, Cryptum's is "0765323966": it would thus become so, "[[Special:BookSources/0765323966|0765323966]]" which would create as such, "0765323966".