|
META TOPICPARENT |
name="TWikiVariables" |
|
|
< < | |
| INCLUDE{"page"} -- include other topic or web page
- Syntax:
%INCLUDE{"page" ...}%
- Supported parameters:
|
| |
|
< < |
"Web.Topic" |
A topic in another web, i.e. %INCLUDE{"TWiki.SiteMap"}% |
|
|
> > |
"Web.Topic" |
A topic in another web, i.e. %INCLUDE{"TWiki.SiteMap"}% |
|
|
|
"https://..." |
A full qualified URL, i.e. %INCLUDE{"https://twiki.org:80/index.html"}% . Supported content types are text/html and text/plain . if the URL resolves to an attachment file on the server this will automatically translate to a server-side include. |
|
pattern="..." |
Include a subset of a topic or a web page. Specify a RegularExpression that scans from start ('^' ) to end and contains the text you want to keep in parenthesis, e.g., pattern="^.*?(from here.*?to here).*" . IncludeTopicsAndWebPages has more. |
none |
rev="2" |
Include a previous topic revision; N/A for URLs |
top revision |
|
|
disablecompresstags="on" |
Bypass replacing newlines in HTML tags with spaces. This compression step rewrites unmatched <'s into < entities unless bypassed |
disabled |
disablerewriteurls="on" |
Bypass rewriting relative URLs into absolute ones |
disabled |
warn="off" |
Warn if topic include fails: Fail silently (if off ); output default warning (if set to on ); else, output specific text (use $topic for topic name) |
%INCLUDEWARNING% preferences setting |
|
|
< < |
section="name" |
Includes only the specified named section, as defined in the included topic by the STARTSECTION and ENDSECTION variables. Nothing is shown if the named section does not exists. |
|
|
> > |
section="name" |
Includes only the specified named section, as defined in the included topic by the STARTSECTION and ENDSECTION variables. Nothing is shown if the named section does not exists. |
|
|
|
PARONE="val 1" PARTWO="val 2" |
Any other parameter will be defined as a variable within the scope of the included topic. The example parameters on the left will result in %PARONE% and %PARTWO% being defined within the included topic. |
|
- Note: JavaScript in included webpages is filtered out as a security precaution per default (disable filter with
disableremovescript parameter)
- Examples: See IncludeTopicsAndWebPages
|
|
< < | |
> > | |