Jump to content

Template:Tribute

From LovedForever
A Visitor

This template renders one tribute entry from the "Leave a Tribute" widget on a memorial's About page -- a separate, independent feature from {{Memory|...}}/Stories. Do not extend Template:Memory for this data; it is a different shape (tribute type + text + poster + date, no photo/caption) for a different feature.

The tribute-type icon always renders (every entry from the widget has one of the three types selected before Publish is enabled) -- an unrecognized or missing type value falls back to the note icon rather than rendering nothing, since a Tribute entry's type is its core identity, unlike Memory's optional cosmetic tribute icon.

One tribute entry from the Leave a Tribute widget on a memorial's About page.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Tribute typetype

Which of the three tribute options was selected.

Suggested values
flower candle note
Stringrequired
Tribute texttext

The visitor's tribute message.

Stringrequired
Poster namename

The logged-in username, or "A Visitor" if posted anonymously.

Lineoptional
Datedate

When the tribute was published.

Lineoptional