Jump to content

Template:Memory

From LovedForever
Revision as of 06:51, 20 September 2026 by Editor-in-Chief (talk | contribs) (Request 7: single tribute icon next to sender name on entries)

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.

The tribute icon (when set) renders once, right after the name — not repeated, and not between the name and the message. Unset or unrecognized values render nothing (the #switch default is empty), so every entry saved before this parameter existed keeps rendering exactly as before.

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
Tribute (optional)tribute

A small tribute icon shown next to your name.

Suggested values
flowers fruits car house money
Stringoptional
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