Jump to content

Template:Memory

From LovedForever
Revision as of 02:29, 17 September 2026 by Editor-in-Chief (talk | contribs) (Deploy Group A (Request 5): photo now renders above message text, wrapped for Read More collapse)

A Visitor



This template renders one guestbook/memory entry. Used via the "Add a Memory" link on a memorial page — visitors shouldn't normally need to type this by hand.

The photo (when present) renders above the message text, not below it (Devin's request) -- so the photo line comes first in this template, right after the name/date header.

The message is wrapped in its own .memory-message div so MediaWiki:Common.js can measure and collapse long entries behind a "Read More" toggle (see MediaWiki:Common.css for the collapsed styling) without also catching the name/date header or the photo.

One guestbook/memory entry, used via the "Add a Memory" flow on a memorial page.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Your namename

How you'd like to be identified with your memory.

Linerequired
Your memory or messagemessage

Share a story, memory, or message.

Stringrequired
Photo (optional)photo

An uploaded photo to include with your memory.

Fileoptional
Photo caption (optional)caption

no description

Lineoptional
Date (optional)date

E.g. "September 2026" — leave blank if unsure.

Lineoptional