Image
When editing a page you can attach images. The images are stored with and managed on the page for which they are attached. Displaying these images is straightforward with some flexibility for the way they are displayed.
While the files and images are attached to a single page, they can also be referenced on one page from another.
##Image (string [name], integer {scale}, string {altText}, string {class})
- Name: name [Required]
- Type: string
- Description: The name of the page attached image.
- Name: scale {Optional}
- Type: integer
- Description: The optional scale of image. The engine will automatically resize the image for display while maintaining aspect ratio.
- Name: altText {Optional}
- Type: string
- Description: The optional "alt tag" for the image. This can be useful for search engines, context and accessibility.
- Name: class {Optional}
- Type: string
- Description: The optional CSS class name for the image.
- Default: img-fluid
- Name: maxWidth {Optional}
- Type: integer
- Description: The optional maximum width for an image. The engine will automatically resize the image for display while maintaining aspect ratio.
Displaying an image that is attached to the page:
##Image(TightWiki Logo.png)Displaying an image that is attached to the page scaled to 25%:
##Image(TightWiki Logo.png, 25)Displaying an image that is attached to the page scaled to 25% with an alternate caption
##Image(TightWiki Logo.png, 25, The image caption)Displaying an image that is attached to another page:
##Image(Some other Page/TightWiki Logo.png)You can directly reference a page attached image:
##Image(https://tightwiki.com/File/Image/builtin::media/TightWiki_Logo.png)Function Calling Convention
Scope Function
Instruction Function
Standard Function
Wiki Help :: File
Insert file download links into the wiki body.
Wiki Help :: Foreground
Set the foreground color for a block of content.
Wiki Help :: Function Calling Convention
Outlines the syntax and formatting for calling wiki functions.
Wiki Help :: Get
Get wiki page variable value.
Wiki Help :: HideFooterComments Instruction
Indicates that comments should not display comments at the bottom regardless of the system settings.
Wiki Help :: HR
Inserts a horizontal rule (divider) into the wiki bosy.
Wiki Help :: Include
Inserts the processed wiki body of one page into the calling page.
Wiki Help :: Include Instruction
Processing instruction indicating the page is an include and not a while page.
Wiki Help :: Inject
Inserts the un-processed wiki body of one page into the calling page.
Wiki Help :: Instruction Function
Instructions that tell the wiki engine how to process a page.