×
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:#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>
<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:PersonInfobox ==
== Template:InfoboxPerson ==
Renders the right-hand infobox card on a page about a person — including investigators, researchers, mediums, authors, filmmakers, writers, and media personalities.
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.
Formerly named '''Template:PersonInfobox''' — that name now redirects here. Please use <code>{{tl|InfoboxPerson}}</code> going forward.
 
Uses the same <code>vault-infobox</code> styling as {{tl|InfoboxCase}}, {{tl|InfoboxLocation}} and other Vault infobox templates.
'''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 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.
* 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 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.
* 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.
* If editing this template, keep it as one continuous line to avoid reintroducing either issue.
* If editing this template, keep it as one continuous line to avoid reintroducing either issue.
'''Usage:'''
'''Usage:'''
<pre>
<pre>
{{PersonInfobox
{{InfoboxPerson
|name=Gary JJ Spate
|name=Gary JJ Spate
|image=Gary JJ Spate.jpg
|image=Gary JJ Spate.jpg
Line 24: Line 22:
</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 ===
* '''name''' — required
* '''name''' — required
Line 34: Line 31:
* '''known_for''' — recommended. The work, organisation or event they are most associated with
* '''known_for''' — recommended. The work, organisation or event they are most associated with
* '''status''' — optional. e.g. Living, Deceased, Active, Retired
* '''status''' — optional. e.g. Living, Deceased, Active, Retired
 
[[Category:Infoboxes]]
[[Category:Vault Templates]]
</noinclude>
</noinclude>

Revision as of 00:00, 4 August 2026

Template:InfoboxPerson

Renders the right-hand infobox card on a page about a person — including investigators, researchers, mediums, authors, filmmakers, writers, and media personalities. Formerly named Template:PersonInfobox — that name now redirects here. Please use {{InfoboxPerson}} going forward. Uses the same vault-infobox styling as {{InfoboxCase}}, {{InfoboxLocation}} and other Vault infobox 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:

{{InfoboxPerson
|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