Template:Reference book infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} class="infoboxlabel" style="[^\n"]+" {{!}}↵([^\n]+):↵{{!}} class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to "{{Infobox|entry|title=$2|content=$1}}")
m (Text replacement - "{{#if:{{{image\|}}}\|↵{{!}} class="infoboxmedia" colspan="2" style="[^\n"]+" {{!}} {{{image}}} {{#if:{{{caption\|}}}\|{{clear}}{{{caption}}}}}↵}}↵\|-" to "{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}")
Line 2: Line 2:
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#000}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#000}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
|-
{{#if:{{{image|}}}|
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F8FF}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
|-
{{Infobox|entry|title={{{author-title|Author(s)}}}|content={{{author|}}}}}
{{Infobox|entry|title={{{author-title|Author(s)}}}|content={{{author|}}}}}
{{Infobox|entry|title={{{cover artist-title|Cover artist(s)}}}|content={{{cover artist|}}}}}
{{Infobox|entry|title={{{cover artist-title|Cover artist(s)}}}|content={{{cover artist|}}}}}

Revision as of 18:32, August 28, 2023

Reference book infobox
 

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

{{Reference book
|image=
|author=
|cover artist=
|editor=
|illustrator=
|publisher=
|publication=
|media=
|length=
|dimensions=
|weight=
|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".