Template:Novel infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "style="([^"\n]+)" class="([^"\n]+)" colspan="([^"\n]+)"" to "class="$2" colspan="$3" style="$1"")
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:260px; background:{{{BG|#EFF0FF}}}; border:1px solid #B5B7CF; color:{{{color1|#000}}}" cellspacing="0"
{{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}}}}
! class="infoboxheading" class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#000}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|''{{PAGETITLE}}''}}}}}
{{!}}-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{#if:{{{image|}}}|
 
! style="background:{{{imageBG|#F0F8FF}}}" colspan="2" class="infoboxmedia" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|section|title={{{section1-title|Attribution information}}}|entries=
{{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|align=center|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|#999}}}" {{!}}
{{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|#999}}}" {{!}}
{{{author|}}}
{{!}}-}}
{{#if:{{{cover artist|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{author-title|Cover artist(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{cover artist|}}}
{{!}}-}}
{{#if:{{{illustrator|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{author-title|Illustrator(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{illustrator|}}}
{{!}}-}}
{{#if:{{{publisher|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{publisher-title|Publisher}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{publisher|}}}
{{!}}-}}
{{#if:{{{publication|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{publication-title|Publication date}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{publication|}}}
{{!}}-}}
{{#if:{{{media|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{media-title|Media type}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{media|}}}
{{!}}-}}
{{#if:{{{length|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{length-title|Pages}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{length|}}}
{{!}}-}}
{{#if:{{{ISBN|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{ISBN-title|ISBN}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{ISBN|}}}
{{!}}-}}
| class="infoboxfooter" colspan="2" | &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 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".