none
[openafs-wiki.git] / TWiki / TWikiVariables.mdwn
index 972355d..8b51838 100644 (file)
@@ -16,6 +16,8 @@ _Special text strings expand on the fly to display user data or system info_
 
 TWikiVariables are text strings - `%VARIABLE%` - that expand into content whenever a page is opened. When a topic is rendered for viewing, `VARIABLES` are replaced by data, either user-entered, or info automatically generated by TWiki (like the date, or the current username). There are predefined variables, and Preference variables that you configure. You can also define custom variables, with new names and values.
 
+**_Note:_** To leave a variable unexpanded, preceed it with an exclamation point, e.g. type `!%TOPIC%` to get %TOPIC%.
+
 ## <a name="Predefined Variables"></a> Predefined Variables
 
 Most predefined variables return values that were either set in the <code>**lib/twiki.cfg**</code> file, when TWiki was installed, or taken from server info (like current username, or date and time). Many of the variables let you format the appearance of the display results.
@@ -287,7 +289,7 @@ This version of TWiki - TWiki-4.1.2, Sat, 03 Mar 2007, build 13046 - expands the
   </tr>
   <tr>
     <td><code>%GMTIME%</code></td>
-    <td> GM time, is <b>29 Jun 2010 - 15:44</b></td>
+    <td> GM time, is <b>29 Jun 2010 - 15:45</b></td>
   </tr>
   <tr>
     <td><code>%GMTIME{"format"}%</code></td>
@@ -350,35 +352,35 @@ This version of TWiki - TWiki-4.1.2, Sat, 03 Mar 2007, build 13046 - expands the
         <tr>
           <td><code>$iso</code></td>
           <td> ISO format timestamp </td>
-          <td> 2010-06-29T15:44:40Z </td>
+          <td> 2010-06-29T15:45:07Z </td>
         </tr>
         <tr>
           <td><code>$rcs</code></td>
           <td> RCS format timestamp </td>
-          <td> 2010/06/29 15:44:40 </td>
+          <td> 2010/06/29 15:45:07 </td>
         </tr>
         <tr>
           <td><code>$http</code></td>
           <td> E-mail &amp; http format timestamp </td>
-          <td> Tue, 29 Jun 2010 15:44:40 GMT </td>
+          <td> Tue, 29 Jun 2010 15:45:07 GMT </td>
         </tr>
-      </table> Variables can be shortened to 3 characters. Example: <br /><code>%GMTIME{"$day $month, $year - $hour:$min:$sec"}%</code> is <br /><b>29 Jun, 2010 - 15:44:40</b></td>
+      </table> Variables can be shortened to 3 characters. Example: <br /><code>%GMTIME{"$day $month, $year - $hour:$min:$sec"}%</code> is <br /><b>29 Jun, 2010 - 15:45:07</b></td>
   </tr>
   <tr>
     <td><code>%SERVERTIME%</code></td>
-    <td> Server time, is <b>29 Jun 2010 - 11:44</b></td>
+    <td> Server time, is <b>29 Jun 2010 - 11:45</b></td>
   </tr>
   <tr>
     <td><code>%SERVERTIME{"format"}%</code></td>
-    <td> Formatted server time. Same format qualifiers as <code>%GMTIME%</code><br /> Example: <code>%SERVERTIME{"$hou:$min"}%</code> is <b>11:44</b></td>
+    <td> Formatted server time. Same format qualifiers as <code>%GMTIME%</code><br /> Example: <code>%SERVERTIME{"$hou:$min"}%</code> is <b>11:45</b></td>
   </tr>
   <tr>
     <td><code>%DISPLAYTIME%</code></td>
-    <td> Display time, is <b>29 Jun 2010 - 15:44</b></td>
+    <td> Display time, is <b>29 Jun 2010 - 15:45</b></td>
   </tr>
   <tr>
     <td><code>%DISPLAYTIME{"format"}%</code></td>
-    <td> Formatted time - either GMT or Local server time, depending on setting in TWiki.cfg. Same format qualifiers as <code>%GMTIME%</code><br /> Example: <code>%DISPLAYTIME{"$hou:$min"}%</code> is <b>15:44</b></td>
+    <td> Formatted time - either GMT or Local server time, depending on setting in TWiki.cfg. Same format qualifiers as <code>%GMTIME%</code><br /> Example: <code>%DISPLAYTIME{"$hou:$min"}%</code> is <b>15:45</b></td>
   </tr>
   <tr>
     <td><code>%HTTP_HOST%</code></td>