summaryrefslogtreecommitdiff
path: root/Main/WebPreferences.mdwn
diff options
context:
space:
mode:
authorPeter Thoeny <web-hurd@gnu.org>2000-02-26 09:50:35 +0000
committerPeter Thoeny <web-hurd@gnu.org>2000-02-26 09:50:35 +0000
commite31fb5c596c0603c0e16aeba5f22fbb22bb27d79 (patch)
treea9acf6995ed28c600c12c946b2ed51b0713dec81 /Main/WebPreferences.mdwn
parentc0ce04131f5115a646d1fd1701f431fad88151ac (diff)
none
Diffstat (limited to 'Main/WebPreferences.mdwn')
-rw-r--r--Main/WebPreferences.mdwn27
1 files changed, 27 insertions, 0 deletions
diff --git a/Main/WebPreferences.mdwn b/Main/WebPreferences.mdwn
new file mode 100644
index 00000000..cfcd944b
--- /dev/null
+++ b/Main/WebPreferences.mdwn
@@ -0,0 +1,27 @@
+**%WIKITOOLNAME%.%WEB% Web Preferences**
+
+The following settings are **_web preferences_** of the %WIKITOOLNAME%.%WEB% web. These preferences overwrite the **_site-level preferences_** in %MAINWEB%.%WIKIPREFSTOPIC%, and can be overwritten by **_user preferences_** (your personal topic, i.e. %MAINWEB%.PeterThoeny in the %WIKITOOLNAME%.%MAINWEB% web)
+
+**_Preferences:_**
+
+* List of topics of the %WIKITOOLNAME%.%WEB% web:
+ * Set WEBTOPICLIST = %WEB% . \{ [Home](%HOMETOPIC%) | [Welcome](WelcomeGuest) | [Users](%WIKIUSERSTOPIC%) | [Changes](%SCRIPTURLPATH%/changes%SCRIPTSUFFIX%/%WEB%) | [Index](%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%WEB%/?scope=topic&regex=on&search=.*) | [Search](WebSearch) | Go <input name="topic" size="16" type="text" />
+ \}
+
+* Web specific background color:
+ * Set WEBBGCOLOR = #FFFFC0
+
+**_Notes:_**
+
+* A preference is defined as: <br />`6 spaces * Set NAME = value`<br /> Example:
+ * Set WEBBGCOLOR = #FFFFC0
+* Preferences are used as %MAINWEB%.TWikiVariables by enclosing the name in percent signs. Example:
+ * When you write variable <code>%WEBBGCOLOR%</code> , it gets expanded to `%WEBBGCOLOR%` .
+* The sequential order of the preference settings is significant. Define preferences that use other preferences first, i.e. set <code>WEBCOPYRIGHT</code> before <code>WIKIWEBMASTER</code> since <code>%WEBCOPYRIGHT%</code> uses the <code>%WIKIWEBMASTER%</code> variable.
+* You can introduce new preferences variables and use them in your topics and templates. There is no need to change the %WIKITOOLNAME% engine (Perl scripts).
+
+**_Related Topics:_**
+
+* %MAINWEB%.%WIKIPREFSTOPIC% has site-level preferences.
+* %MAINWEB%.%WIKIUSERSTOPIC% has a list of user topics. User topics can have optional user preferences.
+* %MAINWEB%.TWikiVariables has a list of common <code>%VARIABLES%</code> .