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 :: Jumbotron
Large grey box good for calling attention in a non-critical way.
Wiki Help :: LastModified
Displays the modified date/time of the page.
Wiki Help :: Links
Linking between wiki pages and external content.
Wiki Help :: Literals
Literal blocks for displaying verbatim content.
Wiki Help :: Name
Displays the pages name.
Wiki Help :: Namespace
Displays the namespace of the wiki page.
Wiki Help :: NamespaceGlossary
Create a glossary from of pages in specified namespaces.
Wiki Help :: NamespaceList
Create a list of pages from specified namespaces.
Wiki Help :: Namespaces
Using and creating namespaces to logically group pages in the wiki.
Wiki Help :: Navigation
Diaplys the URL friendly navigation name of a page.