×
Create a new article
Write your page title here:
We currently have 245 articles on The Vault @ The EERIE Files. Type your article name above or click on one of the titles below and start writing!



The Vault @ The EERIE Files

Template:InfoboxBook: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly><div class="vault-infobox">
<div class="vault-infobox">
 
<div class="vault-infobox-header" style="background:#a36a00;">{{{title}}}</div>
<div class="vault-infobox-header" style="background:#a36a00;">{{{title}}}</div>
 
{{#if:{{{image|}}}|<div class="vault-infobox-image">[[File:{{{image}}}|280px]]{{#if:{{{caption|}}}|<div class="vault-infobox-caption">{{{caption}}}</div>}}</div>}}
{{#if:{{{image|}}}|
{{#if:{{{author|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">AUTHOR</span><span class="vault-infobox-v">{{{author}}}</span></div>}}
<div class="vault-infobox-image">
{{#if:{{{publisher|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">PUBLISHER</span><span class="vault-infobox-v">{{{publisher}}}</span></div>}}
[[File:{{{image}}}|280px]]
{{#if:{{{published|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">PUBLISHED</span><span class="vault-infobox-v">{{{published}}}</span></div>}}
{{#if:{{{caption|}}}|
{{#if:{{{isbn|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">ISBN</span><span class="vault-infobox-v">{{{isbn}}}</span></div>}}
<div class="vault-infobox-caption">{{{caption}}}</div>
{{#if:{{{pages|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">PAGES</span><span class="vault-infobox-v">{{{pages}}}</span></div>}}
}}
{{#if:{{{type|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">TYPE</span><span class="vault-infobox-v">{{{type}}}</span></div>}}
</div>
{{#if:{{{genre|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">GENRE</span><span class="vault-infobox-v">{{{genre}}}</span></div>}}
}}
{{#if:{{{subject|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">SUBJECT</span><span class="vault-infobox-v">{{{subject}}}</span></div>}}
 
{{#if:{{{related|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">RELATED</span><span class="vault-infobox-v">{{{related}}}</span></div>}}
{{#if:{{{author|}}}|
{{#if:{{{status|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">STATUS</span><span class="vault-infobox-v vault-infobox-status">{{{status}}}</span></div>}}
<div class="vault-infobox-row">
</div></includeonly><noinclude>
<span class="vault-infobox-k">AUTHOR</span>
<span class="vault-infobox-v">{{{author}}}</span>
</div>
}}
 
{{#if:{{{publisher|}}}|
<div class="vault-infobox-row">
<span class="vault-infobox-k">PUBLISHER</span>
<span class="vault-infobox-v">{{{publisher}}}</span>
</div>
}}
 
{{#if:{{{published|}}}|
<div class="vault-infobox-row">
<span class="vault-infobox-k">PUBLISHED</span>
<span class="vault-infobox-v">{{{published}}}</span>
</div>
}}
 
{{#if:{{{isbn|}}}|
<div class="vault-infobox-row">
<span class="vault-infobox-k">ISBN</span>
<span class="vault-infobox-v">{{{isbn}}}</span>
</div>
}}
 
{{#if:{{{pages|}}}|
<div class="vault-infobox-row">
<span class="vault-infobox-k">PAGES</span>
<span class="vault-infobox-v">{{{pages}}}</span>
</div>
}}
 
{{#if:{{{type|}}}|
<div class="vault-infobox-row">
<span class="vault-infobox-k">TYPE</span>
<span class="vault-infobox-v">{{{type}}}</span>
</div>
}}
 
{{#if:{{{genre|}}}|
<div class="vault-infobox-row">
<span class="vault-infobox-k">GENRE</span>
<span class="vault-infobox-v">{{{genre}}}</span>
</div>
}}
 
{{#if:{{{subject|}}}|
<div class="vault-infobox-row">
<span class="vault-infobox-k">SUBJECT</span>
<span class="vault-infobox-v">{{{subject}}}</span>
</div>
}}
 
{{#if:{{{related|}}}|
<div class="vault-infobox-row">
<span class="vault-infobox-k">RELATED</span>
<span class="vault-infobox-v">{{{related}}}</span>
</div>
}}
 
{{#if:{{{status|}}}|
<div class="vault-infobox-row">
<span class="vault-infobox-k">STATUS</span>
<span class="vault-infobox-v vault-infobox-status">{{{status}}}</span>
</div>
}}
 
</div>
</includeonly>
 
<noinclude>
 
== Template:BookInfobox ==
== Template:BookInfobox ==
Renders the right-hand infobox card for books and published works.
Renders the right-hand infobox card for books and published works.
Used for:
Used for:
* Paranormal research books
* Paranormal research books
* Historical texts
* Historical texts
Line 101: Line 23:


'''Note:''' requires the ParserFunctions extension for the <code>{{#if:}}</code> conditionals.
'''Note:''' requires the ParserFunctions extension for the <code>{{#if:}}</code> conditionals.
'''Important formatting note:''' every row must be written entirely on a single line within its <code>{{#if:}}</code> block — do not split a <code>&lt;div&gt;</code>/<code>&lt;span&gt;</code> row across multiple lines. MediaWiki's parser will auto-wrap multi-line HTML blocks in stray <code>&lt;p&gt;</code> tags, which silently breaks the row's CSS class structure and the two-column grid layout it depends on. This previously broke the infobox's layout on live pages; keep every row on one line to avoid a repeat.


'''Usage:'''
'''Usage:'''
<pre>
<pre>
{{BookInfobox
{{BookInfobox
Line 118: Line 41:
}}
}}
</pre>
</pre>
Place this at the very top of the page before the article text.
Place this at the very top of the page before the article text.


=== Parameters ===
=== Parameters ===
* '''title''' — required. Book title
* '''title''' — required. Book title
* '''image''' — optional. Cover image filename
* '''image''' — optional. Cover image filename
Line 138: Line 59:


=== Suggested type values ===
=== Suggested type values ===
<pre>
<pre>
Research publication
Research publication
Line 150: Line 70:


=== Suggested status values ===
=== Suggested status values ===
<pre>
<pre>
Historical work
Historical work
Line 160: Line 79:


[[Category:Vault Templates]]
[[Category:Vault Templates]]
</noinclude>
</noinclude>

Revision as of 12:26, 31 July 2026

Template:BookInfobox

Renders the right-hand infobox card for books and published works. Used for:

  • Paranormal research books
  • Historical texts
  • Investigator memoirs
  • Fictional works with relevance to The Vault
  • Important publications within paranormal studies

Note: requires the ParserFunctions extension for the conditionals.

Important formatting note: every row must be written entirely on a single line within its block — do not split a <div>/<span> row across multiple lines. MediaWiki's parser will auto-wrap multi-line HTML blocks in stray <p> tags, which silently breaks the row's CSS class structure and the two-column grid layout it depends on. This previously broke the infobox's layout on live pages; keep every row on one line to avoid a repeat.

Usage:

{{BookInfobox
|title=Extra-Sensory Perception
|author=J. B. Rhine
|publisher=Boston Society for Psychic Research
|published=1934
|pages=372
|type=Research publication
|genre=Parapsychology
|subject=Extrasensory perception and psychic phenomena
|related=[[Parapsychology]], [[Telepathy]], [[Psychokinesis]]
|status=Historical work
}}

Place this at the very top of the page before the article text.

Parameters

  • title — required. Book title
  • image — optional. Cover image filename
  • caption — optional. Image caption
  • author — recommended
  • publisher — recommended
  • published — recommended
  • isbn — optional
  • pages — optional
  • type — recommended. Publication type
  • genre — optional
  • subject — recommended for Vault articles
  • related — optional. Related Vault subjects
  • status — optional. Historical importance/status

Suggested type values

Research publication
Academic work
Investigator memoir
Biography
Historical text
Novel
Anthology

Suggested status values

Historical work
Influential publication
Controversial work
Foundational text
Popular work