Template:Novel infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "| " to "|  ")
m (Text replacement - "{{pagetitle\|{{{pagename\|{{#if:{{{name\|}}}\|{{{name}}}\|{{PAGETITLE}}}}}}} - {{{pagelabel\|([^ ]+) {{#ifeq:{{SUBPAGENAME}}\|Silver\|\(Silver Timeline\)}}}}}}}" to "{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|$1}}}}}")
 
(47 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; background:{{{BG|#EFF0FF}}}; border:1px solid #B5B7CF; color:{{{color1|#000}}}"
{{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}}}}
{{!}}-
{{Infobox|title|name={{{name|''{{PAGETITLE}}''}}}}}
! class="infoboxheading" style="background:{{{nameBG|transparent}}}; color:{{{color2|#000}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{!}}-
 
{{#if:{{{image|}}}|
{{Infobox|section|title={{{section1-title|Attribution information}}}|entries=
! style="background:{{{imageBG|#F0F8FF}}}; text-align:center; padding:4px" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}}
{{Infobox|entry|title={{{author-title|Author(s)}}}|content={{{author|}}}}}
    {{Infobox|entry|title={{{cover artist-title|Cover artist(s)}}}|content={{{cover artist|}}}}}
    {{Infobox|entry|title={{{illustrator-title|Illustrator(s)}}}|content={{{illustrator|}}}}}
    {{Infobox|entry|title={{{editor-title|Editor(s)}}}|content={{{editor|}}}}}
    {{Infobox|entry|title={{{audio-title|Audio book narrator(s)}}}|content={{{audio|}}}}}
}}
 
{{Infobox|section|title={{{section2-title|Publication information}}}|entries=
{{Infobox|entry|title={{{publisher-title|Publisher}}}|content={{{publisher|}}}}}
    {{Infobox|entry|title={{{publication-title|Publication date}}}|content={{{publication|}}}}}
    {{Infobox|entry|title={{{media-title|Media type}}}|content={{{media|}}}}}
    {{Infobox|entry|title={{{length-title|Pages}}}|content={{{length|}}}}}
    {{Infobox|entry|title={{{ISBN-title|ISBN}}}|content={{{ISBN|}}}}}
}}
 
{{Infobox|section|title={{{section3-title|Series information}}}|entries=
{{Infobox|entry|title={{{series-title|Series}}}|content={{{series|}}}}}
{{Infobox|colspan|content={{#if:{{{preceded|}}}{{{followed|}}}|<nowiki/>
{{col-begin}}
{{col-3}}
{{{preceded|}}}
{{col-3}}
'''{{{current|{{{name|''{{PAGETITLE}}''}}}}}}'''
{{col-3}}
{{{followed|}}}
{{col-end}}
}}}}
}}
}}
{{!}}-
 
{{#if:{{{author|}}}|
{{Infobox|section|title={{{section4-title|Other information}}}|entries=
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{Infobox|entry|title={{{multiseries-title|Multimedia series}}}|content={{{multiseries|}}}}}
'''{{{author-title|Author(s)}}}''':
    {{Infobox|entry|title={{{noteable-title|Notable info}}}|content={{{notable|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{author|}}}
{{!}}-}}
{{#if:{{{cover artist|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{author-title|Cover artist(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{cover artist|}}}
{{!}}-}}
{{#if:{{{illustrator|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{author-title|Illustrator(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{illustrator|}}}
{{!}}-}}
{{#if:{{{publisher|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{publisher-title|Publisher}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{publisher|}}}
{{!}}-}}
{{#if:{{{publication|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{publication-title|Publication date}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{publication|}}}
{{!}}-}}
{{#if:{{{media|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{media-title|Media type}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{media|}}}
{{!}}-}}
{{#if:{{{length|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{length-title|Pages}}}:'''
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{length|}}}
{{!}}-}}
{{#if:{{{ISBN|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{ISBN-title|ISBN}}}:'''
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{ISBN|}}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px" | &nbsp;
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Novel {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>{{Clear}}
Add the following code and change the values to add the book template to the an article:
<pre>
{{Novel infobox
|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.
|publisher=
|publication=
|media=
|length=
|ISBN=
}}
}}
</pre>


:'''Note''': for ISBN, please include <code><nowiki>[[Special:BookSources/ISBN-NUMBER-HERE|ISBN-NUMBER-HERE]]</nowiki></code>. So, for example, ''Cryptum''<nowiki/>'s is "0765323966": it would thus become so, <code><nowiki>"[[Special:BookSources/0765323966|0765323966]]"</nowiki></code> which would create as such, "[[Special:BookSources/0765323966|0765323966]]".
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Novel}}}}}</includeonly><noinclude>{{Doc/Template}} __NOTOC__ [[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 12:16, March 22, 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".