File



The File standard function displays a link to an attached file.
When editing a page you can attach files (images, executables, zip-files, etc.). The files are stored with and managed on the page for which they are attached. Displaying these files as images or download links is straightforward with some flexibility for the way they are displayed.
While the files are attached to a single page, they can also be referenced on one page from another.


##File (string [name], string [linkText], bool {showSize})


  • Name: name [Required]
    • Type: string
    • Description: The name of the attached file.
  • Name: linkText [Required]
    • Type: string
    • Description: The optional text for the file link.
  • Name: showSize {Optional}
    • Type: bool
    • Default: false
    • Description: Whether or not to show the file size beside the link.



##file(Example Attachment 1.txt)
##File(Example Attachment 1.txt, Download now!)
##File(Example Attachment 1.txt, Download now!, true)



Function Calling Convention
Scope Function
Instruction Function
Standard Function


Wiki Help :: NoCache Instruction
Processing instruction indicating that the page should never be cached.
Wiki Help :: Order
Orders the resulting lines of a block of wiki markup.
Wiki Help :: ProfileGlossary
Displays a glossary of all active users with links to their public profiles.
Wiki Help :: ProfileList
Displays a list of all active users with links to their public profiles.
Wiki Help :: Protect Instruction
Processing instruction indicating the page is protected from modification and deletion.
Wiki Help :: RecentlyModified
Display a list of recently modified wiki pages.
Wiki Help :: Related
Create a list of related pages based on incoming links.
Wiki Help :: Review Instruction
Processing instruction indicating the page needs to be reviewed.
Wiki Help :: Revisions
Displays the revision history of a page.
Wiki Help :: Scope Function
Scope functions apply a function over a defined scope of wiki text.