Wiki Special Files Template¶
This template displays all the wiki’s upload files as outlined below:

In addition to the variables in the Wiki Page template, the Special Files template has:
Tags¶
The Wiki Special Files template has the {wiki:files} tag available which is used to display a list of all the files that have been uploaded to the wiki. This tag has Parameters and Variables available to it.
{wiki:files} | Parameters¶
limit¶
{wiki:files limit="#"}
This determines the number of files to display on a page. For example, this: {wiki:files limit="10"}
Would limit the number of files displayed to 10.
paginate¶
{wiki:files paginate=""}
This determines the placement of pagination. For example, if the limit parameter is set to 10 and there are 25 files, then you can use this parameter to create pagination to browse all the files.
The values for the paginate parameter are:
- top: pagination is placed on top.
- bottom: pagination is placed on the bottom.
- both: pagination is placed on the top and the bottom.
orderby¶
{wiki:files orderby="file_name"}
This determines the field that is used to order the files. “file_name” is the default behavior.
{wiki:files orderby="file_size"}
Would list the files in order of file size.
sort¶
{wiki:files sort="asc"}
The sort order can be ascending or descending. The default is “asc”, ascending.
{wiki:files orderby="upload_date" sort="desc"}
Would list the files in order of the date uploaded, from most recent to oldest.
{wiki:files} Variables¶
Single Variables¶
absolute_count¶
{absolute_count}
Running “count” of the displayed file, taking pagination into consideration.
path:author_profile¶
{path:author_profile}
Displays the path to the member profile of the person who uploaded the file.
path:view_file¶
{path:view_file}
Displays the URL to view a file’s page. This is not the raw path to the file.
switch=¶
{switch="option_one|option_two|option_three"}
This variable permits you to rotate through any number of values as the files are displayed. The first file will use “option_one”, the second will use “option_two”, the third “option_three”, the fourth “option_one”, and so on.
Multiple instances of the {switch=} tag may be used and the system will intelligently keep track of each one.
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.

User Contributed Notes
You must either have an EllisLab product license and have attained a forum rank of "Lab Assistant" (50 posts) to contribute notes to the User Guide