From 3422f664120283c5adb065921180490586693f2c Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Fri, 2 Mar 2001 02:05:13 +0000 Subject: none --- TWiki/TWikiVariables.mdwn | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'TWiki') diff --git a/TWiki/TWikiVariables.mdwn b/TWiki/TWikiVariables.mdwn index 5f988f90..a089e12e 100644 --- a/TWiki/TWikiVariables.mdwn +++ b/TWiki/TWikiVariables.mdwn @@ -171,6 +171,30 @@ %STOPINCLUDE% If present in included topic, stop to include text at this location and ignore the remaining text. A normal view of the topic shows everyting exept the %STOPINCLUDE% variable itself. + + %TOC% + Table of Content of current topic. + + + %TOC{"SomeTopic" ...}% + Table of Content. Shows a TOC that is generated automatically based on headings of a topic. Headings in Wiki Syntax? ("---++ text") and HTML ("<h2>text<h2>") are taken into account. Parameter is composed of the topic name, followed by optional name="value" pairs: + + + + + + + + + + + + + + + +
Pair:Description:Default:
web="Name" Name of web Current web
depth="2" Limit depth of headings shown in TOC 6
Examples: %TOC{depth="2"}%, %TOC{"TWikiDocumentation" web="%TWIKIWEB%"}% + %SEARCH{"str" ...}% Inline search, shows a search result embedded in a topic. Parameter is composed of the search string, followed by optional name="value" pairs: @@ -365,4 +389,4 @@ Additional variables are defined in the preferences ( site-level ( **_SL_** ) in * Additional preferences variables can be defined on all three level as needed. Example: * Set MYLOGO = %PUBURLPATH%/%MAINWEB%/LogoTopic/logo.gif --- %MAINWEB%.PeterThoeny - 19 Jan 2001
+-- %MAINWEB%.PeterThoeny - 01 Mar 2001
-- cgit v1.2.3