Wiki Template, Email Section
These sections generate the email that notifies Wiki Admins of changes to moderated articles.
Note: The email is split into two templates; one handles the email subject and the other the body of the email.
The email sections have the following variables available to it.
Single Variables
- {revision_date format=""}
- {title}
- {revision_id}
- {author}
- {email}
- {revision_notes}
- {path:view_article}
- {path:view_revision}
- {path:open_revision}
- {path:close_revision}
- {content}
- {article}
revision_date
{revision_date format=""}
This displays the time of the most recent article revision.
The format parameter is used to determine the date's formatting using ExpressionEngine's Date Variable Formatting.
title
{title}
Displays the article/page's Title.
revision_id
{revision_id}
Displays the revision's unique ID number.
author
{author}
Displays the Screen Name of the revision's author.
{email}
This displays the email address of the revision's author.
revision_notes
{revision_notes}
This displays the revision's notes (if any).
path:view_article
{path:view_article}
Dislpays the URL to view the article.
path:view_revision
{path:view_revision}
Displays the URL to view the revision.
path:open_revision
{path:open_revision}
Displays the URL to Open the revision.
NOTE: Opening a revision approves it and makes it live. If you only want to view a revision, use the {path:view_revision} variable instead.
path:close_revision
{path:close_revision}
Displays the URL that will close a revision.
NOTE: The "open" and "close" links will only work if the person clicking them is a Wiki Admin.
content
{content}
Displays the raw content of an article.
article
{article}
Displays the fully rendered article. HTML characters will be rendered.