Jump to content

Template:PrismCard

From Swarthmore Knowledge Base

A bordered content card with an optional image or icon, title, body and footer. Designed to be used standalone or inside Template:Grid.

Usage

{{Card
|icon=book-open
|title=Getting started
|link=Help:Getting started
|footer=Updated {{CURRENTYEAR}}
|A short introduction to the knowledge base and how to find what you need.
}}


{{Card
|image=Example.jpg
|alt=Campus at dusk
|title=Campus map
|link=Campus map
|Buildings, parking and accessibility routes.
}}


Parameters

Parameter Default Description
1 / content — Body. May contain block wikitext (lists, paragraphs). Use 1= if it contains =.
title — Heading text. Linked if link is set.
link — Page name the title (and image, if any) links to.
image — File name without the File: prefix. Displayed 16:9, cropped to fit.
alt — Alt text for the image. Leave empty if the image is decorative.
icon — Any name from Template:Icon. Ignored if image is set.
footer — Small muted text below a divider, e.g. a date or owner.