×
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"><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>
<includeonly><div class="vault-infobox"><div class="vault-infobox-header" style="background:#6b3fa0;">{{{name}}}</div>{{#if:{{{image|}}}|<div class="vault-infobox-image">[[File:{{{image}}}|280px]]{{#if:{{{image_caption|}}}|<div class="vault-infobox-caption">{{{image_caption}}}</div>}}</div>}}{{#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>
== Template:BookInfobox ==
== Template:PersonInfobox ==
Renders the right-hand infobox card for books and published works.
Renders the right-hand infobox card on a page about a person — including investigators, researchers, mediums, authors, filmmakers, writers, and media personalities.
Used for:
Uses the same <code>vault-infobox</code> styling as {{tl|CaseInfobox}}, {{tl|LocationInfobox}} and other Vault templates.
* 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 <code>{{#if:}}</code> conditionals.
'''Note:''' requires the ParserFunctions extension for the <code>{{#if:}}</code> conditionals.


'''Important formatting notes:'''
'''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.
* Every row must stay 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, or MediaWiki's parser will auto-wrap it in a stray <code>&lt;p&gt;</code> tag and break the two-column grid layout.
* 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.
* There must also be '''no newlines between rows''' — every <code>{{#if:}}</code> block must run directly into the next with no line break at all. If a field like <code>died</code> is left blank (very common on this template — most subjects are simply <code>Living</code> with no death field at all), its block evaluates to nothing, but a newline sitting on either side of that blank output still reads as a blank line to MediaWiki and renders as an empty paragraph — visible dead space wherever a field is omitted. Keeping the whole infobox body as one unbroken line guarantees a skipped field leaves 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.
* If editing this template, keep it as one continuous line to avoid reintroducing either issue.


'''Usage:'''
'''Usage:'''
<pre>
<pre>
{{BookInfobox
{{PersonInfobox
|title=Extra-Sensory Perception
|name=Gary JJ Spate
|author=J. B. Rhine
|image=Gary JJ Spate.jpg
|publisher=Boston Society for Psychic Research
|image_caption=Gary JJ Spate
|published=1934
|born=5 December 1981, Grimsby, Lincolnshire
|pages=372
|occupation=Filmmaker, writer, paranormal investigator
|type=Research publication
|known_for=Spirit Searchers Paranormal Research Society; Society of Paranormal Studies; The EERIE Files
|genre=Parapsychology
|status=Living
|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 ===
=== Parameters ===
* '''title''' — required. Book title
* '''name''' — required
* '''image''' — optional. Cover image filename
* '''image''' — optional. Filename of an uploaded image (without <code>File:</code>)
* '''caption''' — optional. Image caption
* '''image_caption''' — optional. Caption shown below the image
* '''author''' — recommended
* '''born''' — optional. Date and place of birth
* '''publisher''' — recommended
* '''died''' — optional. Date and place of death
* '''published''' — recommended
* '''occupation''' — recommended
* '''isbn''' — optional
* '''known_for''' — recommended. The work, organisation or event they are most associated with
* '''pages''' — optional
* '''status''' — optional. e.g. Living, Deceased, Active, Retired
* '''type''' — recommended. Publication type
* '''genre''' — optional
* '''subject''' — recommended for Vault articles
* '''related''' — optional. Related Vault subjects
* '''status''' — optional. Historical importance/status
 
=== Suggested type values ===
<pre>
Research publication
Academic work
Investigator memoir
Biography
Historical text
Novel
Anthology
</pre>
 
=== Suggested status values ===
<pre>
Historical work
Influential publication
Controversial work
Foundational text
Popular work
</pre>


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

Revision as of 12:32, 31 July 2026

Template:PersonInfobox

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 vault-infobox styling as {{CaseInfobox}}, {{LocationInfobox}} and other Vault templates.

Note: requires the ParserFunctions extension for the conditionals.

Important formatting notes:

  • Every row must stay entirely on a single line within its block — never split a <div>/<span> row across multiple lines, or MediaWiki's parser will auto-wrap it in a stray <p> tag and break the two-column grid layout.
  • There must also be no newlines between rows — every block must run directly into the next with no line break at all. If a field like died is left blank (very common on this template — most subjects are simply Living with no death field at all), its block evaluates to nothing, but a newline sitting on either side of that blank output still reads as a blank line to MediaWiki and renders as an empty paragraph — visible dead space wherever a field is omitted. Keeping the whole infobox body as one unbroken line guarantees a skipped field leaves nothing behind.
  • If editing this template, keep it as one continuous line to avoid reintroducing either issue.

Usage:

{{PersonInfobox
|name=Gary JJ Spate
|image=Gary JJ Spate.jpg
|image_caption=Gary JJ Spate
|born=5 December 1981, Grimsby, Lincolnshire
|occupation=Filmmaker, writer, paranormal investigator
|known_for=Spirit Searchers Paranormal Research Society; Society of Paranormal Studies; The EERIE Files
|status=Living
}}

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

Parameters

  • name — required
  • image — optional. Filename of an uploaded image (without File:)
  • image_caption — optional. Caption shown below the image
  • born — optional. Date and place of birth
  • died — optional. Date and place of death
  • occupation — recommended
  • known_for — recommended. The work, organisation or event they are most associated with
  • status — optional. e.g. Living, Deceased, Active, Retired