×
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:InfoboxPerson: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div class="vault-infobox">
<includeonly><div class="vault-infobox"><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:{{{author|}}}|<div class="vault-infobox-row"><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>
<div class="vault-infobox-header" style="background:#6b3fa0;">{{{name}}}</div>
== 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


{{#if:{{{image|}}}|<div class="vault-infobox-image">[[File:{{{image}}}|280px]]{{#if:{{{image_caption|}}}|<div class="vault-infobox-caption">{{{image_caption}}}</div>}}</div>}}
'''Note:''' requires the ParserFunctions extension for the <code>{{#if:}}</code> conditionals.
 
{{#if:{{{born|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">BORN</span><span class="vault-infobox-v">{{{born}}}</span></div>}}
 
{{#if:{{{died|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">DIED</span><span class="vault-infobox-v">{{{died}}}</span></div>}}
 
{{#if:{{{occupation|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">OCCUPATION</span><span class="vault-infobox-v">{{{occupation}}}</span></div>}}
 
{{#if:{{{known_for|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">KNOWN FOR</span><span class="vault-infobox-v">{{{known_for}}}</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>
'''Important formatting notes:'''
 
* Every row must be written entirely on a single line within its <code>{{#if:}}</code> block — never split a <code>&lt;div&gt;</code>/<code>&lt;span&gt;</code> row across multiple lines. MediaWiki's parser auto-wraps 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.
== Template:PersonInfobox ==
* There must also be '''no newlines between rows''' — every <code>{{#if:}}</code> block runs directly into the next with no line break at all. If a field is left blank, its whole block evaluates to nothing; a newline sitting either side of that blank output still reads as a blank line to MediaWiki, which gets rendered as an empty paragraph and shows up as unwanted dead space wherever an optional field is omitted. Keeping the entire infobox body as one unbroken line guarantees a skipped field leaves genuinely nothing behind.
 
* This template previously broke in both of these ways on live pages — keep any future edits to this template on one continuous line to avoid a repeat of either.
Renders the right-hand infobox card on a page about a person — including investigators, researchers, mediums, authors, filmmakers, writers, and media personalities.
 
Uses the same <code>vault-infobox</code> styling as {{tl|CaseInfobox}}, {{tl|LocationInfobox}} and other Vault templates.
 
'''Note:''' requires the ParserFunctions extension for the <code>{{#if:}}</code> conditionals.


'''Usage:'''
'''Usage:'''
<pre>
<pre>
{{PersonInfobox
{{BookInfobox
|name=Gary JJ Spate
|title=Extra-Sensory Perception
|image=Gary JJ Spate.jpg
|author=J. B. Rhine
|image_caption=Gary JJ Spate
|publisher=Boston Society for Psychic Research
|born=5 December 1981, Grimsby, Lincolnshire
|published=1934
|occupation=Filmmaker, writer, paranormal investigator
|pages=372
|known_for=Spirit Searchers Paranormal Research Society; Society of Paranormal Studies; The EERIE Files
|type=Research publication
|status=Living
|genre=Parapsychology
|subject=Extrasensory perception and psychic phenomena
|related=[[Parapsychology]], [[Telepathy]], [[Psychokinesis]]
|status=Historical work
}}
}}
</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 ===
* '''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


=== Parameters ===
=== Suggested type values ===
<pre>
Research publication
Academic work
Investigator memoir
Biography
Historical text
Novel
Anthology
</pre>


* '''name''' — required
=== Suggested status values ===
* '''image''' — optional. Filename of an uploaded image (without <code>File:</code>)
<pre>
* '''image_caption''' — optional. Caption shown below the image
Historical work
* '''born''' — optional. Date and place of birth
Influential publication
* '''died''' — optional. Date and place of death
Controversial work
* '''occupation''' — recommended
Foundational text
* '''known_for''' — recommended. The work, organisation or event they are most associated with
Popular work
* '''status''' — optional. e.g. Living, Deceased, Active, Retired
</pre>


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

Revision as of 12:31, 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 notes:

  • Every row must be written entirely on a single line within its block — never split a <div>/<span> row across multiple lines. MediaWiki's parser auto-wraps 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.
  • There must also be no newlines between rows — every block runs directly into the next with no line break at all. If a field is left blank, its whole block evaluates to nothing; a newline sitting either side of that blank output still reads as a blank line to MediaWiki, which gets rendered as an empty paragraph and shows up as unwanted dead space wherever an optional field is omitted. Keeping the entire infobox body as one unbroken line guarantees a skipped field leaves genuinely nothing behind.
  • This template previously broke in both of these ways on live pages — keep any future edits to this template on one continuous line to avoid a repeat of either.

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