You are here:
Foswiki
>
System Web
>
ReferenceManual
>
UserDocumentationCategory
>
StandardColors
>
VarENDCOLOR
(20 Sep 2010,
ProjectContributor
)
(raw view)
E
dit
A
ttach
%STARTINCLUDE% #VarENDCOLOR ---+++ ENDCOLOR -- end colored text * =ENDCOLOR= is one of the shortcut macros predefined in DefaultPreferences. See the section [[DefaultPreferences#RenderingShortcuts][shortcut macros]] in that topic for a complete list of shortcuts.<br/> *Example:* <pre class="tml">%<nop>GREEN% green text %<nop>ENDCOLOR%</pre> *Expands to:* %GREEN% green text %ENDCOLOR% %INCLUDE{"%TOPIC%" section="remember"}% * Related: %SEARCH{ "parent.name='StandardColors'" type="query" excludetopic="%TOPIC%" nonoise="on" format="[[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%$topic][$topic]]" separator=", " }%, [[DefaultPreferences#RenderingShortcuts][DefaultPreferences]], StandardColors %STOPINCLUDE% <!-- STOPINCLUDE to help HTML validation from CompleteDocumentation --> <verbatim style="display: none;">%STARTSECTION{"varcolor"}% #Var%color% ---+++ %color% -- start %CALC{"$LOWER(%color%)"}% colored text * =%color%= is one of the shortcut macros predefined in DefaultPreferences. See the section [[DefaultPreferences#RenderingShortcuts][shortcut macros]] in that topic for a complete list of colors.<br/> *Example:* <pre class="tml">%<nop>%color%% %CALC{"$LOWER(%color%)"}% text %<nop>ENDCOLOR%</pre> *Expands to:* %%color%% %CALC{"$LOWER(%color%)"}% text %ENDCOLOR% %STARTSECTION{"remember"}%<p></p><blockquote class="foswikiHelp">%X% =%<color>%= text must end with =%<nop>ENDCOLOR%=. If you want to switch from one color to another one you first need to end the active color with =%<nop>ENDCOLOR%=, e.g. write <pre class="tml">%<nop>RED% some text %<nop>ENDCOLOR% %<nop>GREEN% more text %<nop>ENDCOLOR%</pre></blockquote>%ENDSECTION{"remember"}% *Related:* [[%IF{"'%includingtopic%'='Macros'" then="#"}%VarENDCOLOR][ENDCOLOR]], [[DefaultPreferences#RenderingShortcuts][DefaultPreferences]], StandardColors <!--%JQREQUIRE{"chili"}%-->%ENDSECTION{"varcolor"}%</verbatim>
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r1 - 20 Sep 2010,
ProjectContributor
System
Log In
or
Register
Toolbox
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
BeginnersStartHere
TextFormattingRules
Macros
FormattedSearch
QuerySearch
DocumentGraphics
SkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
SiteTools
DefaultPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
Cosmo
Main
Sandbox
System
English
Français
Polski
Copyright © CC-BY-SA by the contributing authors. All material on this collaboration platform is copyrighted under CC-BY-SA by the contributing authors unless otherwise noted.
Ideas, requests, problems regarding Foswiki?
Send feedback