# %WIKITOOLNAME% Site-Level Preferences
The following are **_site-level_** settings that affect all users in all webs on this [[TWikiSite]]. They can be selectively overwritten on the **_individual web level_** (see [[WebPreferences]] in each web), and on the **_user level_** (create preferences in your user account topic in the Main web, ex: Main.admin).
- %X% **NOTE:** You can lock individual settings at the site or web levels using User & Group Access Control - see section below.
%RED% red text %ENDCOLOR% and %GREEN% green text %ENDCOLOR%
You get:
%RED% red text %ENDCOLOR% and %GREEN% green text %ENDCOLOR%
- **_Note:_** `%%` text must end with `%ENDCOLOR%` . If you want to switch from one color to another one you first need to end the active color with `%ENDCOLOR%`, e.g. write `%RED% some text %ENDCOLOR% %GREEN% more text %ENDCOLOR%`.
- Set YELLOW =
- **YELLOW looks like this**
- Set ORANGE =
- **ORANGE looks like this**
- Set RED =
- **RED looks like this**
- Set PINK =
- **PINK looks like this**
- Set PURPLE =
- **PURPLE looks like this**
- Set TEAL =
- **TEAL looks like this**
- Set NAVY =
- **NAVY looks like this**
- Set BLUE =
- **BLUE looks like this**
- Set AQUA =
- **AQUA looks like this**
- Set LIME =
- **LIME looks like this**
- Set GREEN =
- **GREEN looks like this**
- Set OLIVE =
- **OLIVE looks like this**
- Set MAROON =
- **MAROON looks like this**
- Set BLACK =
- **BLACK looks like this**
- Set GRAY =
- **GRAY looks like this**
- Set SILVER =
- **SILVER looks like this**
- Set WHITE =
- **WHITE looks like this**
- And finally:
- Set ENDCOLOR =
- To finish colored text
- Graphics used in TWiki documentation - view all images in [[TWikiDocGraphics]]. _(There are various ways to set up common icons as text variables. This is simply one quick approach.)_:
- Set H =
- Set I =
- Set M =
- Set N =
- Set P =
- Set Q =
- Set S =
- Set T =
- Set U =
- Set X =
- Set Y =
- Background color of non existing topic: ( default `cornsilk` or `#FFFFCE` )
- Set NEWTOPICBGCOLOR = #FFFFCE
- Font color of non existing topic: ( default `#0000FF` )
- Set NEWTOPICFONTCOLOR = #0000FF
- [[PreviewBackground]] image:
- Set PREVIEWBGIMAGE = ![preview2bg.gif](http://www.dementia.org/twiki//view/TWiki/PreviewBackground/preview2bg.gif)
## Access Control Settings
- Users or groups allowed to change or rename this %TOPIC% topic: (ex: [[TWikiAdminGroup]])
- Set ALLOWTOPICCHANGE =
- Set ALLOWTOPICRENAME =
- Users or groups allowed to [[create new webs|TWiki/ManagingWebs]]: (ex: [[TWikiAdminGroup]])
- Set ALLOWWEBMANAGE = [[TWikiAdminGroup]]
- Site-level preferences that are **not** allowed to be overridden by [[WebPreferences]] and user preferences:
- Set FINALPREFERENCES = PREVIEWBGIMAGE, WIKITOOLNAME, WIKIWEBMASTER, SMTPMAILHOST , SMTPSENDERHOST, ALLOWWEBMANAGE
## Creating New Preference Variables
You can introduce new VARIABLES and use them in your topics and templates. There is no need to change the TWiki engine (Perl scripts).
- A preference is defined in a [[TWikiShorthand]] bullet item: **[3 spaces] \* [space] Set NAME = value** Example (as a nested bullet item, indented 6 spaces):
- Set WEBBGCOLOR = #FFFFC0
- Preferences are used as [[TWikiVariables]] by enclosing the name in percent signs: **%**. Example:
- When you write variable **%WEBBGCOLOR%**, it gets expanded to `%WEBBGCOLOR%` .
- %X% The sequential order of the preference settings is significant. Define preferences that use other preferences FIRST. For example, set **WEBCOPYRIGHT** before **WIKIWEBMASTER** since the copyright notice uses the webmaster email address.
## Related Topics
- [[WebPreferences]] has preferences of the %WIKITOOLNAME%.%WEB% web.
- [[TWikiUsers]] has a list of user topics. User topics can have optional user preferences.
- [[TWikiVariables]] has a list of common `%VARIABLES%`.
- [[TWikiAccessControl]] explains how to restrict access by users or groups.
**_Note_**: Can't edit? [View raw topic](http://www.dementia.org/twiki//view/%WEB%/%TOPIC%?raw=on)