GaryJJSpate (talk | contribs) No edit summary |
GaryJJSpate (talk | contribs) 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" style="background:#444;">{{{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:{{{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>}} | ||
Revision as of 23:58, 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— noFile:prefix needed) - image_caption — optional. Caption text shown beneath the image
- type — recommended
- region — recommended
- first_report — recommended
- status — recommended
