-
Notifications
You must be signed in to change notification settings - Fork 5
Template: Wiki File
This template displays the information about a single file that has been uploaded to the wiki as outlined below:
Displays the information on a single uploaded file.
In addition to the variables in the :doc:Wiki Page template <wiki_templates_page>
, the Special Single File template
has:
{file_name}
Displays the file's File name.
{file_type}
Displays the file's MIME Type.
{summary}
Displays the file's summary.
{path:view_file}
Displays the URL to view a file's page. This is not the raw path to the file.
{upload_date format=""}
Displays the date the file was uploaded.
The format parameter is used to determine the date's formatting using ExpressionEngine's Date Variable Formatting.
{author}
Displays the Screen Name of the person who uploaded the file.
{email}
This displays the email address of the person who uploaded the file.
{url}
This displays the author's URL.
{path:author_profile}
Displays the path to the member profile of the person who uploaded the file.
{if is_image}
Checks to see if the uploaded file is an image. If yes, then do something.