summaryrefslogtreecommitdiff
path: root/TWiki
diff options
context:
space:
mode:
authorPeter Thoeny <web-hurd@gnu.org>2001-08-17 06:46:46 +0000
committerPeter Thoeny <web-hurd@gnu.org>2001-08-17 06:46:46 +0000
commit7ebcdf33f4f6d51e68fed038333938cca130c30a (patch)
treea598cab014fa8df58c8ed6fc55a1af77b6cb55db /TWiki
parent03541f012dd4c03b0259337062104668020945b5 (diff)
none
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>