TWiki Variables



Name Current value

Name Description Current value
ATTACHURL full URL for attachments in the current topic
ATTACHURLPATH path of the attachment URL of the current topic /twiki/pub/Sandbox/CurrentVariables
BASETOPIC base topic where an INCLUDE started CurrentVariables
BASEWEB base web where an INCLUDE started Sandbox
DISPLAYTIME display time 2023-02-05 - 02:28
DISPLAYTIME{"format"} formatted display time format
ENCODE{"string"} encodes a string string
FORMFIELD{"format"} renders a field in the form attached to some topic
GMTIME GM time 2023-02-05 - 01:28
GMTIME{"format"} formatted GM time format
HOMETOPIC home topic in each web WebHome
HTTP_HOST environment variable
ICON{"type"} small icon of common attachment types Type
|!INCLUDE{"page"} |include other topics or web pages | Warning: Can't find topic |
INCLUDINGTOPIC name of topic that includes current topic CurrentVariables
INCLUDINGWEB web that includes current topic Sandbox
MAINWEB name of Main web Main
|!METASEARCH |special search of meta data |DfSitePledgeT2_CH_CSCS FabioCorsanegoSandbox FormTableTemplate NogDataTemplate NogginTheNog ProcFormTableTemplate TuesdayTestTemplate TutorialTableDetails20050514095505 XXXXX|
NOTIFYTOPIC name of the notify topic WebNotify
PLUGINVERSION the version of the TWiki Plugin API 6.10
PLUGINVERSION{"name"} the version of an installed Plugin 0
PUBURL the base URL of attachments
PUBURLPATH the base URL path of attachments /twiki/pub
REMOTE_ADDR environment variable
REMOTE_PORT environment variable
REMOTE_USER environment variable
REVINFO revision information of current topic r2 - 2005-09-06 - 08:34:44 - PeterJones
REVINFO{"format"} formatted revision information of topic format
SCRIPTURL script URL of TWiki
SCRIPTURLPATH script URL path of TWiki /twiki/bin
SCRIPTSUFFIX script suffix
SEARCH{"text"} search content %SEARCH{"text"} %
SERVERTIME server time 2023-02-05 - 02:28
SERVERTIME{"format"} formatted server time format
SPACEDTOPIC topic name, spaced and encoded Current%20*Variables
STARTINCLUDE start position of topic text if included
STATISTICSTOPIC name of statistics topic WebStatistics
STOPINCLUDE end position of topic text if included
TOC table of contents of current topic %TOC %
TOC{"Topic"} table of contents %TOC{"Topic"} %
TOPIC name of current topic CurrentVariables
TOPICLIST{"format"} topic index of a web %TOPICLIST{"format"} %
TWIKIWEB name of TWiki documentation web TWiki
URLPARAM{"name"} get value of a URL parameter
USERNAME your login username guest
VAR{"NAME" web="Web"} get a preference value from another web WEB -- name of current web
WEBLIST{"format"} index of all webs %WEBLIST{"format"} %
WEBPREFSTOPIC name of web preferences topic WebPreferences
WIKIHOMEURL site home URL /twiki/bin/view/Main/WebHome
WIKINAME your Wiki username TWikiGuest
WIKIPREFSTOPIC name of site-wide preferences topic TWikiPreferences
WIKITOOLNAME name of your TWiki site TWiki
WIKIUSERNAME your Wiki username with web prefix TWikiGuest
WIKIUSERSTOPIC name of topic listing all registers users TWikiUsers
WIKIVERSION the version of the installed TWiki engine TWiki-6.1.0, Mon, 16 Jul 2018, build 30610

-- PeterJones - 05 Sep 2005

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2005-09-06 - PeterJones
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback