Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:User grieving/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
  • {{User grieving}}
  • {{User grieving|name|pronoun}}
  • {{User grieving | name | pronoun | image = | imageright = | style = | textstyle = | short = | message = | includeRIP = | birthDate = | deathDate = | includeAge = }}

Examples

[edit]

{{User grieving}} produces



{{User grieving|short=yes}} produces



{{User grieving|Jon Doe|his}} produces


{{User grieving|Jane Doe|her|image=[[File:A Silhouette of Sadness.jpg|50px|link=WP:WB]]|imageright=[[File:Genova-Staglieno-DSCF8984.JPG|100px|link=Grief]]|style=background-color: black;|textstyle=color: white;|message = Rest in peace John Doe, you will be missed.|includeRIP=yes|birthDate=January 12, 1996|deathDate=October 8, 2024|includeAge=yes}} produces

Blank template with all parameters

[edit]

List of all parameters:

{{User grieving
| name 
| pronoun 
| image = 
| imageright = 
| style = 
| textstyle = 
| short = 
| message = 
| includeRIP = 
| birthDate = 
| deathDate = 
| includeAge = 
}}

Parameters

[edit]

name

name is your username or the name by which you wish to be known; if nothing is specified, the base page name (here "User grieving") is used

pronoun

pronoun is typically either "his", "her", or "their" (your gender-appropriate third-person possessive determiner) if no pronoun is specified but the user has indicated their gender in their settings here, then the appropriate pronoun is used; otherwise, the gender-neutral form "their" is used.

short

Optional; passing any value to |short= will remove everything after "may be affected" in the message.

image

No parameter = If no image parameter is given the template uses the default image, [[File:Sunset at Huntington Beach.jpg]].
An image = Should be an image with usual wiki notation. For example:
image = [[File:A Silhouette of Sadness.jpg|40px|link=WP:WB]]

imageright

No parameter = If no image parameter is given the template uses the default image, [[File:Evstafiev-bosnia-sarajevo-funeral-reaction.jpg]].
An image = Should be an image with usual wiki notation. For example:
image = [[File:Genova-Staglieno-DSCF8984.JPG|100px|link=Grief]]

style

Optional CSS values used by the entire message box table. Without quotation marks " " but with the ending semicolons ;. For example:
style = background-color: black;

textstyle

Optional CSS values used by the text cell. For example:
textstyle=color: white;

message

Optional customized message that the user would like to append. For example:
Rest in peace John Doe.

includeRIP

Optional parameter to add "RIP" text. Requires the use of both birthDate and deathDate.
includeRIP = yes

birthDate and deathDate

Optional strings of text that are converted into a Date. Using both is required if includeRIP is set to yes.

includeAge

Whether or not to also add the age of the deceased in days, months and years.
includeAge = yes

See also

[edit]