Template:Novel infobox: Difference between revisions

m
Text replacement - "{{pagetitle\|{{{pagename\|{{#if:{{{name\|}}}\|{{{name}}}\|{{PAGETITLE}}}}}}} - {{{pagelabel\|([^ ]+) {{#ifeq:{{SUBPAGENAME}}\|Silver\|\(Silver Timeline\)}}}}}}}" to "{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|$1}}}}}"
m (Text replacement - "\| class="infoboxfooter" colspan="2" \|  ↵\|}" to "{{Infobox|end}}")
m (Text replacement - "{{pagetitle\|{{{pagename\|{{#if:{{{name\|}}}\|{{{name}}}\|{{PAGETITLE}}}}}}} - {{{pagelabel\|([^ ]+) {{#ifeq:{{SUBPAGENAME}}\|Silver\|\(Silver Timeline\)}}}}}}}" to "{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|$1}}}}}")
(12 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" 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|}}}|
 
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F8FF}}}" {{!}} {{{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|}}}}}
}}
}}
|-
 
{{#if:{{{author|}}}|
{{Infobox|section|title={{{section2-title|Publication information}}}|entries=
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{publisher-title|Publisher}}}|content={{{publisher|}}}}}
{{{author-title|Author(s)}}}:
    {{Infobox|entry|title={{{publication-title|Publication date}}}|content={{{publication|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
    {{Infobox|entry|title={{{media-title|Media type}}}|content={{{media|}}}}}
{{{author}}}
    {{Infobox|entry|title={{{length-title|Pages}}}|content={{{length|}}}}}
    {{Infobox|entry|title={{{ISBN-title|ISBN}}}|content={{{ISBN|}}}}}
}}
}}
|-
 
{{#if:{{{cover artist|}}}|
{{Infobox|section|title={{{section3-title|Series information}}}|entries=
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{series-title|Series}}}|content={{{series|}}}}}
{{{author-title|Cover artist(s)}}}:
{{Infobox|colspan|content={{#if:{{{preceded|}}}{{{followed|}}}|<nowiki/>
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{col-begin}}
{{{cover artist}}}
{{col-3}}
}}
{{{preceded|}}}
|-
{{col-3}}
{{#if:{{{illustrator|}}}|
'''{{{current|{{{name|''{{PAGETITLE}}''}}}}}}'''
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{col-3}}
{{{author-title|Illustrator(s)}}}:
{{{followed|}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{col-end}}
{{{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}}}
}}
|-
{{Infobox|end}}<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>
{{Infobox|section|title={{{section4-title|Other information}}}|entries=
{{Novel infobox
{{Infobox|entry|title={{{multiseries-title|Multimedia series}}}|content={{{multiseries|}}}}}
|image=
    {{Infobox|entry|title={{{noteable-title|Notable info}}}|content={{{notable|}}}}}
|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]]".


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