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 :: Alert
Alerts bring important information to the attention of the reader.
Wiki Help :: AppVersion
Displays the wiki engine version.
Wiki Help :: Attachments
Lists the attached files associated with a page.
Wiki Help :: Background
Set the background color for a block of content.
Wiki Help :: Blockquote
Blockquotes are good for quoting blocks of content from another source within your document.
Wiki Help :: BR
Inserts one or more line-breaks into the wiki body.
Wiki Help :: Bullets
Create hierarchical ordered or unordered lists.
Wiki Help :: Callout
Prominently display useful information in a fairly understated panel.
Wiki Help :: Card
Cards are good for displaying every-day content and can have a title.
Wiki Help :: Code
Display formatted, wiki-unprocessed and syntax-hilighted code.