TWikiVariables 67 - 23 Aug 2003 - Main.PeterThoeny
|
|
META TOPICPARENT | name="WebHome" |
| |
"http://..." | A full qualified URL, i.e. %INCLUDE{"http://twiki.org/"}% | |
pattern="..." | A RegularExpression pattern to include a subset of a topic or page | none |
rev="1.2" | Include a previous topic revision; N/A for URLs | top revision |
| |
> > |
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) | %INCLUDE- WARNING% preferences setting |
| | |
|
TWikiVariables 66 - 23 Aug 2003 - Main.PeterThoeny
|
|
META TOPICPARENT | name="WebHome" |
| | Small 16x16 pixel icon of common attachment types, like bmp , doc , gif , hlp , html , pdf , ppt , txt , wav , xml , zip , etc. Specify file type only, file name, or full path name. Example: %ICON{"pdf"}% returns |
%URLPARAM{"name"}% | | |
< < | Returns the value of a URL parameter. Note that there is a low risk that this variable could be misused for cross-scripting. Ex: %URLPARAM{"skin"}% returns print for a .../view/TWiki/TWikiVariables?skin=print URL. Is | | > > | | Returns the value of a URL parameter. Note that there is a risk that this variable could be misused for cross-scripting. Parameters are name and newline:
Parameter: | Description: |
"name" | The name of a URL parameter |
newline="<br />" | Convert newlines to other delimiters |
Example: %URLPARAM{"skin"}% returns print for a .../view/TWiki/TWikiVariables?skin=print URL. Is
| |
%URLENCODE{"string"}% |
Encodes a string for use as a URL parameter. Ex: %URLENCODE{"spaced name"}% returns spaced%20name |
|
|
TWikiVariables 65 - 30 Jun 2003 - Main.PeterThoeny
|
|
META TOPICPARENT | name="WebHome" |
| | %ATTACHURLPATH% |
The path of the attachment URL of the current topic, is /twiki/pub/TWiki/TWikiVariables |
|
| |
> > | %ICON{"type"}% |
Small 16x16 pixel icon of common attachment types, like bmp , doc , gif , hlp , html , pdf , ppt , txt , wav , xml , zip , etc. Specify file type only, file name, or full path name. Example: %ICON{"pdf"}% returns |
|
| | %URLPARAM{"name"}% |
Returns the value of a URL parameter. Note that there is a low risk that this variable could be misused for cross-scripting. Ex: %URLPARAM{"skin"}% returns print for a .../view/TWiki/TWikiVariables?skin=print URL. Is |
|
|
|
TWikiVariables 64 - 22 Mar 2003 - Main.PeterThoeny
|
|
META TOPICPARENT | name="WebHome" |
| |
- You can add your own Preference Variables for us across an entire site or a single web, using the standard Preferences syntax. Whatever you include in your Variable will be expanded on display, exactly as if it had been entered directly. You can place formatted text, page links, image paths.
| |
< < | Example: Create a custom logo variable the TWiki web
| > > | Example: Create a custom logo variable the TWiki web
| |
- To place a logo anywhere in a web by typing
%MYLOGO% , define the Variable on the web's WebPreferences page, and upload a logo file, ex: mylogo.gif . You can upload by attaching the file to WebPreferences, or, to avoid clutter, to any other topic in the same web, ex: LogoTopic :
-
Set MYLOGO = %PUBURL%/TWiki/LogoTopic/mylogo.gif
|
|
TWikiVariables 63 - 09 Feb 2003 - Main.PeterThoeny
|
|
META TOPICPARENT | name="WebHome" |
| | SL , UL |
Vertical size of edit box, is 20 |
|
| |
> > | %EDITBOXSTYLE% |
SL , UL |
Style of text edit box. Set to width: 99% for full window width (default; overwrites the EDITBOXWIDTH setting), or width: auto to disable. Value is: width: 99% |
|
| | %RELEASEEDITLOCKCHECKBOX% |
SL , UL |
Default state of the "Release edit lock" (UnlockTopic? ) check box in preview. Checkbox is initially checked if Set RELEASEEDITLOCKCHECKBOX = checked="checked" , or unchecked if empty. If checked, make sure to click on Edit to do more changes; do not go back in your browser to the edit page, or you risk that someone else will edit the topic at the same time! Value is: %RELEASEEDITLOCKCHECKBOX% | |
|
Revision 67 | r67 - 23 Aug 2003 - 07:51:41 - PeterThoeny? |
Revision 66 | r66 - 23 Aug 2003 - 05:39:00 - PeterThoeny? |
Revision 65 | r65 - 30 Jun 2003 - 23:40:04 - PeterThoeny? |
Revision 64 | r64 - 22 Mar 2003 - 06:35:17 - PeterThoeny? |
Revision 63 | r63 - 09 Feb 2003 - 00:46:08 - PeterThoeny? |
Revision 62 | r62 - 27 Jan 2003 - 08:22:18 - PeterThoeny? |
|
|
This site is powered by the TWiki collaboration platform. All material on this collaboration platform is the property of the contributing authors. All material marked as authored by Eben Moglen is available under the license terms CC-BY-SA version 4.
|
|