Difference between revisions of "Template:ColorAtys/Documentation"
From EncyclopAtys
(→Palette) |
(→Palette) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
|H= | |H= | ||
|palette=}}</noinclude> | |palette=}}</noinclude> | ||
− | The '''''ColorAtys'' | + | The '''''ColorAtys'' template''' assigns a color from the '''[[AtysPalette|Atys palette]]''' of the graphic charter of this wiki. This color is selected according to one of the five types of brightness/saturation and the thematic groups of Atys/Ryzom. These types and groups are detailed below and visualized in a table to facilitate the choices. |
==Use== | ==Use== | ||
Line 114: | Line 114: | ||
|style="background:#{{ColorAtys|type=fg|group=gnost}};color:#{{ColorAtys|type=bg|group=gnost}}"|'''gnost''' | |style="background:#{{ColorAtys|type=fg|group=gnost}};color:#{{ColorAtys|type=bg|group=gnost}}"|'''gnost''' | ||
|style="background:#{{ColorAtys|type=dark|group=gnost}};color:#{{ColorAtys|type=light|group=gnost}}"|'''gnost''' | |style="background:#{{ColorAtys|type=dark|group=gnost}};color:#{{ColorAtys|type=light|group=gnost}}"|'''gnost''' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=tao}};color:#{{ColorAtys|type=fg|group=tao}}"|'''tao''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=tao}};color:#{{ColorAtys|type=dark|group=tao}}"|'''tao''' | ||
+ | |style="background:#{{ColorAtys|group=tao}};color:#{{ColorAtys|type=fg|group=tao}}"|'''tao''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=tao}};color:#{{ColorAtys|type=bg|group=tao}}"|'''tao''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=tao}};color:#{{ColorAtys|type=light|group=tao}}"|'''tao''' | ||
|--------style="background:#{{ColorAtys|group=Grey}};" | |--------style="background:#{{ColorAtys|group=Grey}};" | ||
| colspan="5"| | | colspan="5"| | ||
Line 194: | Line 200: | ||
== Settings == | == Settings == | ||
* <code>type</code>: this is one of the 4 types of colors (bg, fg, light, dark) (by default, the color obtained is the saturated color of the chosen group). | * <code>type</code>: this is one of the 4 types of colors (bg, fg, light, dark) (by default, the color obtained is the saturated color of the chosen group). | ||
− | * <code>group</code>: | + | * <code>group</code>: is one of the thematic groups listed above (by default, the color obtained is that of the "info"). |
== Example == | == Example == | ||
The first two rows of the table of colours given above: | The first two rows of the table of colours given above: | ||
<pre> | <pre> | ||
− | |style="background:#{{ColorAtys|type=bg}};color:#{{ColorAtys|type=fg}}"| | + | |style="background:#{{ColorAtys|type=bg}};color:#{{ColorAtys|type=fg}}"|''Default'' |
− | |style="background:#{{ColorAtys|type=light}};color:#{{ColorAtys|type=dark}}"| | + | |style="background:#{{ColorAtys|type=light}};color:#{{ColorAtys|type=dark}}"|''Default'' |
− | |style="background:#{{ColorAtys}};color:#{{ColorAtys}}"| | + | |style="background:#{{ColorAtys}};color:#{{ColorAtys|type=fg}}"|''Default'' |
− | |style="background:#{{ColorAtys|type=fg}};color:#{{ColorAtys|type=bg}}"| | + | |style="background:#{{ColorAtys|type=fg}};color:#{{ColorAtys|type=bg}}"|''Default'' |
− | |style="background:#{{ColorAtys|type=dark}};color:#{{ColorAtys|type=light}}"| | + | |style="background:#{{ColorAtys|type=dark}};color:#{{ColorAtys|type=light}}"|''Default'' |
− | + | ||
− | |style="background:#{{ColorAtys|type=bg|group= | + | |style="background:#{{ColorAtys|type=bg|group=fyros}};color:#{{ColorAtys|type=fg|group=fyros}}"|'''Fyros''' |
− | |style="background:#{{ColorAtys|type=light|group= | + | |style="background:#{{ColorAtys|type=light|group=fyros}};color:#{{ColorAtys|type=dark|group=fyros}}"|'''Fyros''' |
− | |style="background:#{{ColorAtys|group= | + | |style="background:#{{ColorAtys|group=fyros}};color:#{{ColorAtys|type=fg|group=fyros}}"|'''Fyros''' |
− | |style="background:#{{ColorAtys|type=fg|group= | + | |style="background:#{{ColorAtys|type=fg|group=fyros}};color:#{{ColorAtys|type=bg|group=fyros}}"|'''Fyros''' |
− | |style="background:#{{ColorAtys|type=dark|group= | + | |style="background:#{{ColorAtys|type=dark|group=fyros}};color:#{{ColorAtys|type=light|group=fyros}}"|'''Fyros''' |
</pre> | </pre> | ||
Latest revision as of 13:36, 9 September 2024
The ColorAtys template assigns a color from the Atys palette of the graphic charter of this wiki. This color is selected according to one of the five types of brightness/saturation and the thematic groups of Atys/Ryzom. These types and groups are detailed below and visualized in a table to facilitate the choices.
Contents
Use
Types of drawing (writing, plan...)
- bg (background): color that is very pale for the normal background of a text.
- fg (foreground): a very dark color for the text (and other paths).
- light (clear): color a bit more saturated than the background, for highlighted.
- dark (dark): color a bit more saturated than the form, intended for special effects such as shading.
- default value: the saturated hue symbolizing the group as can be seen below.
Thematic groups
Thematic groups with a specific color in the Ryzom wiki (Wikipatys)
Colors extracted from the complete palette proposed for Ryzom. The settings are only in English to facilitate the copy/paste of the translators.
- basic groups:
- nations-races
- fyros
- matis
- tryker
- zorai (no ï [umlaut I] in the parameter)
- factions
- kami
- karavan
- nations-races
- other groups
- organized
- marauder
- ranger
- tryton
- individual not hostil, not officially organized
- neutral (stateless, pacifist... without allegiance)
- gnost (agnostic)
- tao (agnostic and neutral)
- organized
- specific groups
- primes or Grey (and used for any not classifiable data as: archives, spoil, obsoleted...)
- RP (for RP text)
- Amber (amber cube, infobox RP and Lore)
- OOC (infobox IG and IG rules)
- Techno (Kara box, i.e. infobox patch and any Ryzom development informations)
- technical groups
- OK
- KO
- Alert (somethong to do or to chose)
- Sleep (state of task waiting something)
- Status (state of evolution of an active task)
- Info (default value)
Last version 2024-09-09•ᐒ
Palette
Normal
fg/bg |
Highlighted
dark/light |
Saturated
(default value) |
Reverse
bg/fg |
Special
light/dark |
---|---|---|---|---|
Default | Default | Default | Default | Default |
Fyros | Fyros | Fyros | Fyros | Fyros |
Matis | Matis | Matis | Matis | Matis |
Tryker | Tryker | Tryker | Tryker | Tryker |
Zoraï | Zoraï | Zoraï | Zoraï | Zoraï |
Kami | Kami | Kami | Kami | Kami |
Karavan | Karavan | Karavan | Karavan | Karavan |
Marauder | Marauder | Marauder | Marauder | Marauder |
Ranger | Ranger | Ranger | Ranger | Ranger |
Tryton | Tryton | Tryton | Tryton | Tryton |
neutral | neutral | neutral | neutral | neutral |
gnost | gnost | gnost | gnost | gnost |
tao | tao | tao | tao | tao |
primes | Grey | archives | Grey | primes |
RP | RP | RP | RP | RP |
Amber | Amber | Lore | Amber | Amber |
OOC | OOC | IG | OOC | OOC |
Techno | Techno | Dev | Techno | Techno |
OK | OK | OK | OK | OK |
KO | KO | KO | KO | KO |
Alert | Alert | Alert | Alert | Alert |
Sleep | Sleep | Sleep | Sleep | Sleep |
Status | Status | Status | Status | Status |
Info | Info | Info | Info | Info |
Syntax
{{ColorAtys |type=value1 |group=value2 }}
Settings
-
type
: this is one of the 4 types of colors (bg, fg, light, dark) (by default, the color obtained is the saturated color of the chosen group). -
group
: is one of the thematic groups listed above (by default, the color obtained is that of the "info").
Example
The first two rows of the table of colours given above:
|style="background:#{{ColorAtys|type=bg}};color:#{{ColorAtys|type=fg}}"|''Default'' |style="background:#{{ColorAtys|type=light}};color:#{{ColorAtys|type=dark}}"|''Default'' |style="background:#{{ColorAtys}};color:#{{ColorAtys|type=fg}}"|''Default'' |style="background:#{{ColorAtys|type=fg}};color:#{{ColorAtys|type=bg}}"|''Default'' |style="background:#{{ColorAtys|type=dark}};color:#{{ColorAtys|type=light}}"|''Default'' |style="background:#{{ColorAtys|type=bg|group=fyros}};color:#{{ColorAtys|type=fg|group=fyros}}"|'''Fyros''' |style="background:#{{ColorAtys|type=light|group=fyros}};color:#{{ColorAtys|type=dark|group=fyros}}"|'''Fyros''' |style="background:#{{ColorAtys|group=fyros}};color:#{{ColorAtys|type=fg|group=fyros}}"|'''Fyros''' |style="background:#{{ColorAtys|type=fg|group=fyros}};color:#{{ColorAtys|type=bg|group=fyros}}"|'''Fyros''' |style="background:#{{ColorAtys|type=dark|group=fyros}};color:#{{ColorAtys|type=light|group=fyros}}"|'''Fyros'''
See also
- template:3DText for special effects such as highlighting.