wiki-archive/twiki/data/TWiki/VarVAR.txt

10 lines
474 B
Plaintext

%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.2" version="1"}%
%META:TOPICPARENT{name="TWikiVariables"}%
#VarVAR
---+++ VAR{"NAME" web="Web"} -- get a preference value from another web
* Syntax: =%<nop>VAR{"NAME" web="Web"}%=
* Example: To get =%<nop>WEBBGCOLOR%= of the %MAINWEB% web write =%<nop>VAR{"WEBBGCOLOR" web="%MAINWEB%"}%=, which expands to =%VAR{"WEBBGCOLOR" web="%MAINWEB%"}%=
* Related: [[#VarWEBPREFSTOPIC][WEBPREFSTOPIC]]