Шаблон:ColorAtys — различия между версиями
Материал из ЭнциклопАтис
Dorothée (обсуждение | вклад) |
Dorothée (обсуждение | вклад) (Отмена правки 1029, сделанной Dorothée (обсуждение)) |
||
Строка 1: | Строка 1: | ||
− | |||
{{ #switch: {{{type|}}} | {{ #switch: {{{type|}}} | ||
| bg = | | bg = | ||
Строка 10: | Строка 9: | ||
| karavan =eef | | karavan =eef | ||
| marauder =fdd | | marauder =fdd | ||
− | |||
| tryton =fde | | tryton =fde | ||
| ranger =dfe | | ranger =dfe | ||
− | |||
| neutral =dfd | | neutral =dfd | ||
| gnost =dff | | gnost =dff | ||
− | |||
| OOC =ffe | | OOC =ffe | ||
| OK =efe | | OK =efe | ||
| KO =fee | | KO =fee | ||
| Alert =ffd | | Alert =ffd | ||
− | |||
| Info =eff | | Info =eff | ||
| Sleep =dde | | Sleep =dde | ||
− | |||
| Status = fef | | Status = fef | ||
− | |||
| #default =eff | | #default =eff | ||
}} | }} | ||
Строка 38: | Строка 31: | ||
| karavan =112 | | karavan =112 | ||
| marauder =200 | | marauder =200 | ||
− | |||
| tryton =201 | | tryton =201 | ||
| ranger =021 | | ranger =021 | ||
| neutral =020 | | neutral =020 | ||
− | |||
| gnost =022 | | gnost =022 | ||
| OOC =221 | | OOC =221 | ||
− | |||
| OK =121 | | OK =121 | ||
| KO =211 | | KO =211 | ||
| Alert =220 | | Alert =220 | ||
− | |||
| Info =122 | | Info =122 | ||
| Sleep =001 | | Sleep =001 | ||
− | |||
| Status = 212 | | Status = 212 | ||
− | |||
| #default =122 | | #default =122 | ||
}} | }} | ||
Строка 66: | Строка 53: | ||
| karavan =ccf | | karavan =ccf | ||
| marauder =f99 | | marauder =f99 | ||
− | |||
| tryton =f9c | | tryton =f9c | ||
| ranger =9fc | | ranger =9fc | ||
− | |||
| neutral =9f9 | | neutral =9f9 | ||
| gnost =9ff | | gnost =9ff | ||
| OOC =ffc | | OOC =ffc | ||
− | |||
| OK =cfc | | OK =cfc | ||
| KO =fcc | | KO =fcc | ||
| Alert =ff9 | | Alert =ff9 | ||
− | |||
| Info =cff | | Info =cff | ||
| Sleep =99c | | Sleep =99c | ||
− | |||
| Status = fcf | | Status = fcf | ||
− | |||
| #default =cff | | #default =cff | ||
}} | }} | ||
Строка 94: | Строка 75: | ||
| karavan =336 | | karavan =336 | ||
| marauder =600 | | marauder =600 | ||
− | |||
| tryton =603 | | tryton =603 | ||
| ranger =063 | | ranger =063 | ||
− | | | + | | neutral =060 |
− | |||
| gnost =066 | | gnost =066 | ||
| OOC =663 | | OOC =663 | ||
− | |||
| OK =363 | | OK =363 | ||
| KO =633 | | KO =633 | ||
| Alert =660 | | Alert =660 | ||
− | |||
| Info =366 | | Info =366 | ||
| Sleep =003 | | Sleep =003 | ||
− | |||
| Status = 636 | | Status = 636 | ||
− | |||
| #default =366 | | #default =366 | ||
}} | }} | ||
Строка 122: | Строка 97: | ||
| karavan =04f | | karavan =04f | ||
| marauder =f40 | | marauder =f40 | ||
− | |||
| tryton =f04 | | tryton =f04 | ||
| ranger =0f4 | | ranger =0f4 | ||
| neutral =4f0 | | neutral =4f0 | ||
− | |||
| gnost =0fc | | gnost =0fc | ||
| OOC =fc0 | | OOC =fc0 | ||
− | |||
| OK =0f0 | | OK =0f0 | ||
| KO =f00 | | KO =f00 | ||
| Alert =ff0 | | Alert =ff0 | ||
− | |||
| Info =0ff | | Info =0ff | ||
| Sleep =00f | | Sleep =00f | ||
− | |||
| Status = f0f | | Status = f0f | ||
− | |||
| #default =0ff | | #default =0ff | ||
}} | }} | ||
Строка 149: | Строка 118: | ||
|RU=Template:ColorAtys | |RU=Template:ColorAtys | ||
}} | }} | ||
− | {{{{FULLPAGENAME}}/Documentation}} | + | {{{{FULLPAGENAME}}/Documentation}} [[Category:Graphic Charter]]</noinclude> |
− | [[Category:Graphic Charter | ||
− |
Версия 23:11, 4 июля 2019
0ff ⇐
Содержание
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)
- factions
- kami
- karavan
- nations-races
- other groups
- organized
- marauder
- ranger
- tryton
- individual, not officially organized
- neutral (stateless, pacifist, modialist... without allegiance)
- gnost (agnostic)
- organized
- specific groups
- primes or Grey
- RP (for RP text)
- Amber (amber cube, infobox RP/IG)
- OOC
- Techno (Kara box, i.e. infobox patch)
- technical groups
- OK
- KO
- Alert
- Sleep
- Status
- Info (default value)
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 |
HRP | OOC | IG | OOC | HRP |
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 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)