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 :: Collapse
Dynamically show or hide a section of the wiki body.
Wiki Help :: Color
Set the color of a portion of text.
Wiki Help :: Created
Displays the created date/time of the page.
Wiki Help :: DefineSnippet
Sets a snippet variable to a block of wiki markup.
Wiki Help :: Deprecate Instruction
Processing instruction indicating the page needs to be deleted.
Wiki Help :: Description (Standard Function)
Displays the description of the wiki page.
Wiki Help :: DotNetVersion
Displays the .NET version that the wiki is running on.
Wiki Help :: Draft Instruction
Processing instruction indicating the page is in draft - is incomplete.
Wiki Help :: EditLink
Insert a link to quickly edit the page.
Wiki Help :: Figure
Displays a piece of content along with an optional caption, especially useful for images.