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 (Hiding |name field; it auto generates via PAGENAME)
m (Text replacement - "{{pagetitle\|{{{pagename\|{{#if:{{{name\|}}}\|{{{name}}}\|{{PAGETITLE}}}}}}} - {{{pagelabel\|([^ ]+) {{#ifeq:{{SUBPAGENAME}}\|Silver\|\(Silver Timeline\)}}}}}}}" to "{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|$1}}}}}")
(93 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:6px; padding:2px; background:{{{BG|#EFF0FF}}}; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em; 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}}''}}}}}
! 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; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}}
{{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=
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{Infobox|entry|title={{{multiseries-title|Multimedia series}}}|content={{{multiseries|}}}}}
'''{{{author-title|Author(s)}}}''':
    {{Infobox|entry|title={{{noteable-title|Notable info}}}|content={{{notable|}}}}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{author|}}}
{{!}}-}}
{{#if:{{{publisher|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{publisher-title|Publisher}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{publisher|}}}
{{!}}-}}
{{#if:{{{publication|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{publication-title|Publication date}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{publication|}}}
{{!}}-}}
{{#if:{{{media|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{media-title|Media type}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{media|}}}
{{!}}-}}
{{#if:{{{length|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{length-title|Pages}}}:'''
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{length|}}}
{{!}}-}}
{{#if:{{{ISBN|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{ISBN-title|ISBN}}}:'''
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{ISBN|}}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px;" | [[Template:Novel infobox|<span style="color:#000;">[Source]</span>]]
|}<noinclude>{{Clear}}
Add the following code and change the values to add the book template to the an article:
<pre>
{{Novel infobox
|image=
|author=
|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:Infoboxes|{{PAGENAME}}]]
</noinclude>