# PageRevision

Name: Wiki About
Description: The TightWiki origin story, motivations and basic principals.
ModifiedByUserId: 963F0B81-F2AC-488B-9B21-521852641EC4
ModifiedDate: 2024-07-10 22:11:11.8100311
Body:
@@HideFooterComments @@HideFooterLastModified @@protect(true)
@@Tags(Official, About, Story, Wiki)

==What its all about
For over a decade I’ve been looking for a modern replacement for what I always felt like was the perfect wiki: !!OpenWiki by Laurens Pit.!!


Finally, in the vacuum of a decent solution, I decided to create my own, first in ASP.net for the management of the [[http://NetworkDLS.com, NetworkDLS.com]] website then more recently porting to ASP.NET Core sitting on top of SQL Server.


**The principals were clear:**
{{bullets
You should be able to create, edit, and link pages just by typing their names and have the engine create the linked pages if they don’t exist.
> This enables a kind of lazy “fill-it-in-later” documentation format that I am most comfortable with and which I’ve seen readily utilized on various teams that I’ve managed.
Pages should be searchable.
Table of contents and glossaries should be built in and completely built for you.
Pages should be taggable to create logical groups.
Files should be attached to pages.
All content should be versioned, and changes easily reverted.
You should be able to identify who made a change.
}}

==Shoutout
Thanks Laurens for all the good years, you were a major motivator!
##Image(OpenWiki.gif)


Name: Wiki Help :: Image
Namespace: Wiki Help
Description: Display images in the wiki body.
ModifiedByUserId: 963F0B81-F2AC-488B-9B21-521852641EC4
ModifiedDate: 2024-07-16 19:10:03.0000546
Body:
@@HideFooterComments @@HideFooterLastModified @@protect(true)
##title @@Tags(Official-Help, Help, Wiki, Official, Standard Function)
##toc

${metaColor = #ee2401}
${keywordColor = #318000}
${identifierColor = #c6680e}
==Overview
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.


==Prototype
##Color(${keywordColor}, **#{ ##Image }#**)(##Color(${keywordColor}, string) [##Color(${identifierColor}, name)], ##Color(${keywordColor}, integer) {##Color(${identifierColor}, scale)}, ##Color(${keywordColor}, string) {##Color(${identifierColor}, altText)})


===Parameters
{{Bullets
**Name:** ##Color(${identifierColor}, name) ##Color(${metaColor}, [Required])
>**Type:** ##Color(${keywordColor}, string)
>**Description:** The name of the page attached image.
**Name:** ##Color(${identifierColor}, scale) ##Color(${metaColor}, {Optional})
>**Type:** ##Color(${keywordColor}, integer)
>**Default:** ##Color(${identifierColor}, 100)
>**Description:** The optional scale of image. The engine will automatically resize the image for display.
**Name:** ##Color(${identifierColor}, altText) ##Color(${metaColor}, {Optional})
>**Type:** ##Color(${keywordColor}, string)
>**Description:** The optional "alt tag" for the image. This can be useful for search engines, context and accessibility.
}}

==Examples
===Attached Images
**Displaying an image that is attached to the page:**
{{Code(wiki)#{
##Image(TightWiki Logo.png)
}#}}

**Displaying an image that is attached to the page scaled to 25%:**
{{Code(wiki)#{
##Image(TightWiki Logo.png, 25)
}#}}

**Displaying an image that is attached to the page scaled to 25% with an alternate caption**
{{Code(wiki)#{
##Image(TightWiki Logo.png, 25, The image caption)
}#}}

===Images from other pages
**Displaying an image that is attached to another page:**
{{Code(wiki)#{
##Image(Some other Page/TightWiki Logo.png)
}#}}

==Direct Reference
**You can directly reference a page attached image:**

{{Code(wiki)#{
##Image(https://tightwiki.com/File/Image/builtin::media/TightWiki_Logo.png)
}#}}


==See Also
[[Function Calling Convention]]
[[Scope Function]]
[[Instruction Function]]
[[Standard Function]]


==Related
##related


