Retired Documentation: You are using the documentation for version 1.7.3 which was retired in 2013. Go here for the latest version documentation or check here for your available upgrades to the latest version.
Wiki Template, Special Single File Section
This section displays the information about a single file that has been uploaded to the wiki as outlined below:
In addition to the variables in the Wiki Page section, the Special Single File section has:
Single Variables
- {file_name}
- {file_type}
- {summary}
- {path:view_file}
- {upload_date format=""}
- {author}
- {url}
- {path:author_profile}
file_name
{file_name}
Displays the file's File name.
file_type
{file_type}
Displays the file's MIME Type.
summary
{summary}
Displays the file's summary.
path:view_file
{path:view_file}
Displays the URL to view a file's page. This is not the raw path to the file.
upload date
{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
{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
{url}
This displays the author's URL.
path:author_profile
{path:author_profile}
Displays the path to the member profile of the person who uploaded the file.
Conditional Variables
if is_image
{if is_image}
Checks to see if the uploaded file is an image. If yes, then do something.