none
[openafs-wiki.git] / TWiki / TWikiPreferences.mdwn
index 1555fd8..566dce3 100644 (file)
@@ -44,6 +44,15 @@ The following settings are **_site-level preferences_** , e.g. affecting all use
 - Default state of the **_link_** check box in the attach file page. Checkbox is initially checked if `Set ATTACHLINKBOX = checked="checked"`, or unchecked if empty (`Set ATTACHLINKBOX =`). If checked, a link is created to the attached file at the end of the topic: (can be overwritten by user preferences)
   - Set ATTACHLINKBOX =
 
+- Format of file link when the **_link_** check box is checked: (can be overwritten by user preferences)
+  - Set ATTACHEDFILELINKFORMAT = \\t\* [$name](http://www.dementia.org/twiki//view/$name): $comment
+  - **_Note:_** Keyword `$name` gets expanded to filename; `$comment` to comment; `\t` to tab (3 spaces for bullets).
+
+- Format of images when the **_link_** check box is checked: (can be overwritten by user preferences)
+  - Set ATTACHEDIMAGEFORMAT = \\t\* $comment: <br />![$name](http://www.dementia.org/twiki//view/$name)
+  - **_Note:_** Above image is shown as broken, it gets expanded correctly when you attach an image.
+  - **_Note:_** Keyword `$name` gets expanded to filename; `$comment` to comment; `$size` to `width="..." height="..."` attribute of `img` tag; `\t` to tab (3 spaces for bullets).
+
 - Wiki webmaster email address:
   - Set WIKIWEBMASTER = <webmaster@your.company>