Template:Novel infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "\| class="infoboxfooter" colspan="2" \|  ↵\|}" to "{{Infobox|end}}")
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} class="infoboxlabel" style="[^\n"]+" {{!}}↵([^\n]+):↵{{!}} class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to "{{Infobox|entry|title=$2|content=$1}}")
Line 6: Line 6:
}}
}}
|-
|-
{{#if:{{{author|}}}|
{{Infobox|entry|title={{{author-title|Author(s)}}}|content={{{author|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{author-title|Cover artist(s)}}}|content={{{cover artist|}}}}}
{{{author-title|Author(s)}}}:
{{Infobox|entry|title={{{author-title|Illustrator(s)}}}|content={{{illustrator|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{publisher-title|Publisher}}}|content={{{publisher|}}}}}
{{{author}}}
{{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|}}}}}
{{#if:{{{cover artist|}}}|
{{Infobox|entry|title={{{ISBN-title|ISBN}}}|content={{{ISBN|}}}}}
{{!}} 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}}}
}}
|-
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Novel {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>{{Clear}}
{{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:
Add the following code and change the values to add the book template to the an article:

Revision as of 18:31, August 28, 2023

Novel infobox
 

Add the following code and change the values to add the book template to the an article:

{{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=
}}
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".