data/TWiki/VarVAR.txt
changeset 0 414e01d06fd5
equal deleted inserted replaced
-1:000000000000 0:414e01d06fd5
       
     1 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.1" version="2"}%
       
     2 %META:TOPICPARENT{name="TWikiVariables"}%
       
     3 #VarVAR
       
     4 ---+++ VAR{"NAME" web="Web"} -- get a preference value from another web 
       
     5    * Syntax: =%<nop>VAR{"NAME" web="Web"}%=
       
     6    * Example: To get =%<nop>WEBBGCOLOR%= of the %USERSWEB% web write =%<nop>VAR{"WEBBGCOLOR" web="%USERSWEB%"}%=, which expands to =%VAR{"WEBBGCOLOR" web="%USERSWEB%"}%=
       
     7    * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarWEBPREFSTOPIC][WEBPREFSTOPIC]]
       
     8