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

Created page with "<includeonly><div class="vault-infobox"> <div class="vault-infobox-header">{{{name}}}</div> {{#if:{{{type|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">TYPE</span><span class="vault-infobox-v">{{{type}}}</span></div>}} {{#if:{{{region|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">REGION</span><span class="vault-infobox-v">{{{region}}}</span></div>}} {{#if:{{{first_report|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k..."
 
No edit summary
Line 1: Line 1:
<includeonly><div class="vault-infobox">
<includeonly><div class="vault-infobox">
<div class="vault-infobox-header">{{{name}}}</div>
<div class="vault-infobox-header">{{{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:{{{type|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">TYPE</span><span class="vault-infobox-v">{{{type}}}</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:{{{region|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">REGION</span><span class="vault-infobox-v">{{{region}}}</span></div>}}
{{#if:{{{region|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">REGION</span><span class="vault-infobox-v">{{{region}}}</span></div>}}
Line 8: Line 9:
== Template:CaseInfobox ==
== Template:CaseInfobox ==
Renders the right-hand infobox card on an individual case page (matches the style used across the E.E.R.I.E. Files brand).
Renders the right-hand infobox card on an individual case page (matches the style used across the E.E.R.I.E. Files brand).
'''Note:''' requires the ParserFunctions extension for the <code>{{#if:}}</code> conditionals. If it's not installed, remove the <code>{{#if:...|...}}</code> wrapper from each row and just leave the plain row markup — rows will always display, but empty parameters will just leave a blank value.
'''Note:''' requires the ParserFunctions extension for the <code>{{#if:}}</code> conditionals. If it's not installed, remove the <code>{{#if:...|...}}</code> wrapper from each row and just leave the plain row markup — rows will always display, but empty parameters will just leave a blank value.
'''Usage:'''
'''Usage:'''
<pre>
<pre>
{{CaseInfobox
{{CaseInfobox
|name=The Grey Man of Ben Macdui
|name=The Grey Man of Ben Macdui
|image=GreyManBenMacdui.jpg
|image_caption=Ben Macdui summit, said to be the creature's haunt
|type=Cryptid / Apparition
|type=Cryptid / Apparition
|region=Cairngorms, Scotland
|region=Cairngorms, Scotland
Line 21: Line 22:
}}
}}
</pre>
</pre>
Place this at the very top of a case page, before the article text — it floats right and the article text will wrap around it automatically.
Place this at the very top of a case page, before the article text — it floats right and the article text will wrap around it automatically.


=== Parameters ===
* '''name''' — required
* '''image''' — optional. The filename of an already-uploaded image (just the filename, e.g. <code>Example.jpg</code> — no <code>File:</code> prefix needed)
* '''image_caption''' — optional. Caption text shown beneath the image
* '''type''' — recommended
* '''region''' — recommended
* '''first_report''' — recommended
* '''status''' — recommended
[[Category:Vault Templates]]
[[Category:Vault Templates]]
</noinclude>
</noinclude>

Revision as of 10:51, 29 July 2026

Template:CaseInfobox

Renders the right-hand infobox card on an individual case page (matches the style used across the E.E.R.I.E. Files brand). Note: requires the ParserFunctions extension for the conditionals. If it's not installed, remove the ... wrapper from each row and just leave the plain row markup — rows will always display, but empty parameters will just leave a blank value. Usage:

{{CaseInfobox
|name=The Grey Man of Ben Macdui
|image=GreyManBenMacdui.jpg
|image_caption=Ben Macdui summit, said to be the creature's haunt
|type=Cryptid / Apparition
|region=Cairngorms, Scotland
|first_report=c. 1791
|status=Unresolved
}}

Place this at the very top of a case page, before the article text — it floats right and the article text will wrap around it automatically.

Parameters

  • name — required
  • image — optional. The filename of an already-uploaded image (just the filename, e.g. Example.jpg — no File: prefix needed)
  • image_caption — optional. Caption text shown beneath the image
  • type — recommended
  • region — recommended
  • first_report — recommended
  • status — recommended