summaryrefslogtreecommitdiff
path: root/TWiki
diff options
context:
space:
mode:
Diffstat (limited to 'TWiki')
-rw-r--r--TWiki/TWikiPreferences.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/TWiki/TWikiPreferences.mdwn b/TWiki/TWikiPreferences.mdwn
index b6166581..c12e1ca6 100644
--- a/TWiki/TWikiPreferences.mdwn
+++ b/TWiki/TWikiPreferences.mdwn
@@ -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\* [[ATTACHURLname]]: $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](%ATTACHURLPATH%/$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@yourNOSPAM.company>