(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{ #switch: {{{type|}}} | + | <includeonly>{{ #switch: {{{type|}}} |
| bg = | | bg = | ||
{{ #switch: {{{group|}}} | {{ #switch: {{{group|}}} | ||
Line 127: | Line 127: | ||
| maraudeur =f40 | | maraudeur =f40 | ||
| tryton =f04 | | tryton =f04 | ||
− | | ranger = | + | | ranger =4fc |
− | | neutral = | + | | neutral =4f8 |
− | | tenant = | + | | tenant =4f8 |
− | | gnost = | + | | gnost =4ff |
| primes =777 | | primes =777 | ||
| Grey =777 | | Grey =777 | ||
Line 145: | Line 145: | ||
| #default =0ff | | #default =0ff | ||
}} | }} | ||
− | }}<noinclude> | + | }}</includeonly><noinclude> |
{{Trad | {{Trad | ||
|DE=Vorlage:ColorAtys | |DE=Vorlage:ColorAtys | ||
Line 159: | Line 159: | ||
|H= | |H= | ||
|palette=HRP}} | |palette=HRP}} | ||
− | {{{{FULLPAGENAME}}/Documentation}} | + | {{{{FULLPAGENAME}}/Documentation}} |
[[Category:Graphic Charter]] [[Category:Templates]]</noinclude> | [[Category:Graphic Charter]] [[Category:Templates]]</noinclude> |
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.
Thematic groups with a specific color in the Ryzom wiki (Wikipatys)
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 |
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 |
{{ColorAtys |type=value1 |group=value2 }}
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").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'''