Шаблон:ColorAtys/Documentation
Материал из ЭнциклопАтис
< Шаблон:ColorAtys
Версия от 12:44, 12 ноября 2020; Zorroargh (обсуждение | вклад)
Содержание
Usage
The template ColorAtys allows use of the standard colours for the graphic design of that wiki. It provides 4 types of color for different groups of Atys.
The 4 types are:
- 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.
- and default gives saturated hue.
The groups are:
- basic groups:
- nations-races
- fyros
- matis
- tryker
- zorai (no ï [umlaut I] in the parameter)
- faction
- kami
- karavan
- nations-races
- other groups
- organized
- marauder
- ranger
- tryton
- individual, not officially organized
- neutral (stateless, pacifist, modialist... without allegiance)
- gnost (agnostic)
- organized
- OOC
- technical groups
- OK
- KO
- Alert
- Info (default value)
- Sleep
- Status
| Normal
fg/bg |
Highlighted
dark/light |
Saturated
(default value) |
Reverse
bg/fg |
Special
light/dark |
|---|---|---|---|---|
| Default | Default | Default | Default | Default |
| OOC | OOC | OOC | OOC | OOC |
| neutral | neutral | neutral | neutral | neutral |
| Matis | Matis | Matis | Matis | Matis |
| Ranger | Ranger | Store | Ranger | Ranger |
| Tryker | Tryker | Tryker | Tryker | Tryker |
| Kami | Kami | Kami | Kami | Kami |
| Karavan | Karavan | Karavan | Karavan | Karavan |
| gnost | gnost | gnost | gnost | gnost |
| Zoraï | Zoraï | Zoraï | Zoraï | Zoraï |
| Tryton | Tryton | Tryton | Tryton | Tryton |
| Marauder | Marauder | Marauder | Marauder | Marauder |
| Fyros | Fyros | Fyros | Fyros | Fyros |
| OK | OK | OK | OK | OK |
| KO | KO | KO | KO | KO |
| Alert | Alert | Alert | Alert | Alert |
| Info | Info | Info | Info | Info |
| Standby | Standby | Standby | Standby | Standby |
| Status | Status | Status | Status | Status |
Syntax
{{ColorAtys/Documentation |type=value1 |group=value2 }}
Settings
-
type: this is one of the 4 types of colors (bg, fg, light, dark) (by default, the color is a saturated color close to the model of the group). -
group: this is one of the 18 listed above (by default, the color obtained is the info colour).
Example
The first two rows of the table of colours given above:
the
|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}}"|'''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=OOC}};color:#{{ColorAtys|type=fg|group=OOC}}"|'''OOC'''
|style="background:#{{ColorAtys|type=light|group=OOC}};color:#{{ColorAtys|type=dark|group=OOC}}"|'''OOC'''
|style="background:#{{ColorAtys|group=OOC}};color:#{{ColorAtys|group=OOC}}"|'''OOC'''
|style="background:#{{ColorAtys|type=fg|group=OOC}};color:#{{ColorAtys|type=bg|group=OOC}}"|'''OOC'''
|style="background:#{{ColorAtys|type=dark|group=OOC}};color:#{{ColorAtys|type=light|group=OOC}}"|'''OOC'''
See also
- template:3DText for special effects such as highlighting.
- AtysPalette(EN) & Palette des couleurs sur Atys(FR)