GaryJJSpate (talk | contribs) Created page with "<includeonly><a href="{{fullurl:{{{link|{{{title}}}}}}}}" class="vault-case-card"> <span class="vault-tag">{{{category}}}</span> <span class="vault-case-card-title">{{{title}}}</span> <span class="vault-case-card-excerpt">{{{excerpt}}}</span> </a></includeonly><noinclude> == Template:CaseCard == Renders a single compact case-preview card, for use inside a <code>vault-case-grid</code> container alongside other CaseCard calls — used for the Main Page's "Featured Cases" s..." |
GaryJJSpate (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>< | <includeonly><div class="vault-case-card"> | ||
<span class="vault-tag">{{{category}}}</span> | <span class="vault-tag">{{{category}}}</span> | ||
<span class="vault-case-card-title">{{{title}}}</span> | <span class="vault-case-card-title">[[{{{link|{{{title}}}}}}|{{{title}}}]]</span> | ||
<span class="vault-case-card-excerpt">{{{excerpt}}}</span> | <span class="vault-case-card-excerpt">{{{excerpt}}}</span> | ||
</ | </div></includeonly><noinclude> | ||
== Template:CaseCard == | == Template:CaseCard == | ||
Renders a single compact case-preview card, for use inside a <code>vault-case-grid</code> container alongside other CaseCard calls — used for the Main Page's "Featured Cases" section to show several highlighted entries side by side, rather than the single-entry {{tl|Featured}}. | Renders a single compact case-preview card, for use inside a <code>vault-case-grid</code> container alongside other CaseCard calls — used for the Main Page's "Featured Cases" section to show several highlighted entries side by side, rather than the single-entry {{tl|Featured}}. | ||
| Line 20: | Line 20: | ||
|link=Highgate Vampire | |link=Highgate Vampire | ||
|category=Cryptids & Folklore | |category=Cryptids & Folklore | ||
|excerpt=A 1970s media sensation and decades-long rivalry between two rival vampire hunters. | |excerpt=A 1970s media sensation and a decades-long rivalry between two rival vampire hunters. | ||
}} | }} | ||
</div> | </div> | ||
Latest revision as of 12:14, 29 July 2026
Template:CaseCard
Renders a single compact case-preview card, for use inside a vault-case-grid container alongside other CaseCard calls — used for the Main Page's "Featured Cases" section to show several highlighted entries side by side, rather than the single-entry {{Featured}}.
Usage:
<div class="vault-case-grid">
{{CaseCard
|title=Enfield Poltergeist
|link=Enfield Poltergeist
|category=Ghosts & Hauntings
|excerpt=Britain's most extensively documented poltergeist case, investigated for over a year by the Society for Psychical Research.
}}
{{CaseCard
|title=Highgate Vampire
|link=Highgate Vampire
|category=Cryptids & Folklore
|excerpt=A 1970s media sensation and a decades-long rivalry between two rival vampire hunters.
}}
</div>
Parameters
- title — required. Card heading
- link — optional. Target page, if different from the title
- category — recommended. Short badge text shown above the title
- excerpt — recommended. One or two sentences of preview text
