Modèle:ColorAtys : Différence entre versions
De EncyclopAtys
(tests Zo') |
m |
||
(35 révisions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
− | {{ #switch: {{{type|}}} | + | <includeonly>{{ #switch: {{{type|}}} |
| bg = | | bg = | ||
{{ #switch: {{{group|}}} | {{ #switch: {{{group|}}} | ||
Ligne 7 : | Ligne 7 : | ||
| zorai =edf | | zorai =edf | ||
| kami =ded | | kami =ded | ||
− | | karavan = | + | | karavan =eef |
− | | maraudeur =fdd | + | | marauder =fdd |
+ | | maraudeur =fdd <!--Historical FR and same for switches below--> | ||
| tryton =fde | | tryton =fde | ||
| ranger =dfe | | ranger =dfe | ||
− | | tenant =dfd | + | | tenant =dfd <!--Historical FR --> |
+ | | neutral =dfd | ||
| gnost =dff | | gnost =dff | ||
− | | HRP =ffe | + | | primes =eee |
+ | | Grey =eee | ||
+ | | HRP =ffe <!--Historical FR --> | ||
+ | | OOC =ffe | ||
| OK =efe | | OK =efe | ||
| KO =fee | | KO =fee | ||
− | | Alerte =ffd | + | | Alert =ffd |
+ | | Alerte =ffd <!--Historical FR --> | ||
| Info =eff | | Info =eff | ||
− | | Veille = | + | | Sleep =dde |
+ | | Veille =dde <!--Historical FR --> | ||
| Status = fef | | Status = fef | ||
− | | #default = | + | | #default =eff |
}} | }} | ||
| fg = | | fg = | ||
{{ #switch: {{{group|}}} | {{ #switch: {{{group|}}} | ||
− | | fyros = | + | | fyros =210 |
− | | matis = | + | | matis =120 |
− | | tryker = | + | | tryker =012 |
− | | zorai = | + | | zorai =102 |
− | | kami = | + | | kami =010 |
− | | karavan = | + | | karavan =112 |
− | | maraudeur = | + | | marauder =200 |
− | | tryton = | + | | maraudeur =200 |
− | | ranger = | + | | tryton =201 |
− | | tenant = | + | | ranger =021 |
− | | gnost = | + | | neutral =020 |
− | | HRP = | + | | tenant =020 |
− | | OK = | + | | gnost =022 |
− | | KO = | + | | primes =111 |
− | | Alerte = | + | | Grey =111 |
− | | Info = | + | | OOC =221 |
− | | Veille = | + | | HRP =221 |
− | | Status = | + | | OK =121 |
− | | #default = | + | | KO =211 |
+ | | Alert =220 | ||
+ | | Alerte =220 | ||
+ | | Info =122 | ||
+ | | Sleep =001 | ||
+ | | Veille =001 | ||
+ | | Status = 212 | ||
+ | | #default =122 | ||
}} | }} | ||
| light = | | light = | ||
Ligne 52 : | Ligne 66 : | ||
| kami =9c9 | | kami =9c9 | ||
| karavan =ccf | | karavan =ccf | ||
+ | | marauder =f99 | ||
| maraudeur =f99 | | maraudeur =f99 | ||
| tryton =f9c | | tryton =f9c | ||
| ranger =9fc | | ranger =9fc | ||
| tenant =9f9 | | tenant =9f9 | ||
+ | | neutral =9f9 | ||
| gnost =9ff | | gnost =9ff | ||
+ | | primes =ccc | ||
+ | | Grey =ccc | ||
+ | | OOC =ffc | ||
| HRP =ffc | | HRP =ffc | ||
| OK =cfc | | OK =cfc | ||
| KO =fcc | | KO =fcc | ||
+ | | Alert =ff9 | ||
| Alerte =ff9 | | Alerte =ff9 | ||
| Info =cff | | Info =cff | ||
− | | Veille = | + | | Sleep =99c |
− | | Status =fcf | + | | Veille =99c |
− | | #default = | + | | Status = fcf |
+ | | #default =cff | ||
}} | }} | ||
| dark = | | dark = | ||
Ligne 73 : | Ligne 94 : | ||
| zorai =306 | | zorai =306 | ||
| kami =030 | | kami =030 | ||
− | | karavan = | + | | karavan =336 |
+ | | marauder =600 | ||
| maraudeur =600 | | maraudeur =600 | ||
| tryton =603 | | tryton =603 | ||
| ranger =063 | | ranger =063 | ||
+ | | tenant =060 | ||
| tenant =060 | | tenant =060 | ||
| gnost =066 | | gnost =066 | ||
+ | | primes =333 | ||
+ | | Grey =333 | ||
+ | | OOC =663 | ||
| HRP =663 | | HRP =663 | ||
| OK =363 | | OK =363 | ||
| KO =633 | | KO =633 | ||
+ | | Alert =660 | ||
| Alerte =660 | | Alerte =660 | ||
| Info =366 | | Info =366 | ||
− | | Veille = | + | | Sleep =003 |
+ | | Veille =003 | ||
| Status = 636 | | Status = 636 | ||
− | | #default = | + | | #default =366 |
}} | }} | ||
| #default = | | #default = | ||
{{ #switch: {{{group|}}} | {{ #switch: {{{group|}}} | ||
− | | fyros = | + | | fyros =f80 |
− | | matis = | + | | matis =8f0 |
− | | tryker = | + | | tryker =0cf |
− | | zorai = | + | | zorai =80f |
− | | kami = | + | | kami =0f8 |
− | | karavan = | + | | karavan =04f |
− | | maraudeur = | + | | marauder =f40 |
− | | tryton = | + | | maraudeur =f40 |
− | | ranger = | + | | tryton =f04 |
− | | tenant = | + | | ranger =0f4 |
− | | gnost = | + | | neutral =4f0 |
− | | HRP = | + | | tenant =4f0 |
− | | OK =0f0 | + | | gnost =0fc |
− | | KO =f00 | + | | primes =777 |
− | | Alerte = | + | | Grey =777 |
− | | Info =0ff | + | | OOC =fc0 |
− | | Veille =00f | + | | HRP =fc0 |
− | | Status = f0f | + | | OK =0f0 |
− | | #default = | + | | KO =f00 |
+ | | Alert =ff0 | ||
+ | | Alerte =ff0 | ||
+ | | Info =0ff | ||
+ | | Sleep =00f | ||
+ | | Veille =00f | ||
+ | | Status = f0f | ||
+ | | #default =0ff | ||
}} | }} | ||
− | }}<noinclude> & | + | }}</includeonly><noinclude> |
− | {{{{ | + | {{Trad |
+ | |DE=Vorlage:ColorAtys/Documentation | ||
+ | |DEs=3 | ||
+ | |EN=Template:ColorAtys/Documentation | ||
+ | |ENs=3 | ||
+ | |ES=Plantilla:ColorAtys/Documentation | ||
+ | |ESs=3 | ||
+ | |FR=Modèle:ColorAtys/Documentation | ||
+ | |FRs=0 | ||
+ | |RU=Шаблон:ColorAtys/Documentation | ||
+ | |RUs=5 | ||
+ | |H= | ||
+ | |palette=HRP}} | ||
+ | == Utilisation == | ||
+ | |||
+ | Le '''modèle ''{{BASEPAGENAME}}''''' permet d'utiliser des couleurs normalisées pour la '''[[Palette des couleurs sur Atys|charte graphique du wiki]]'''. Il fournit 4 types de couleur pour les différents groupes d'Atys. | ||
+ | |||
+ | Les 4 types sont: | ||
+ | *'''bg (background):''' couleur très pâle pour le fond normal d'un texte. | ||
+ | *'''fg (foreground):''' couleur très foncée pour le texte (et autre tracés). | ||
+ | *'''light (clair):''' couleur un peu plus saturée que le fond, destinée aux mises en évidence. | ||
+ | *'''dark (foncé):''' couleur un peu plus saturée que la forme, destinée aux effets spéciaux comme l'ombrage. | ||
+ | *et la teinte saturée est retournée par défaut | ||
+ | |||
+ | Les groupes sont: | ||
+ | *'''Groupes fondamentaux''' | ||
+ | **Nations, races & écosystèmes de surface | ||
+ | ***'''fyros''' | ||
+ | ***'''matis''' | ||
+ | ***'''tryker''' | ||
+ | ***'''zorai''' (pas de ï [i tréma] dans le paramètre) | ||
+ | **Factions | ||
+ | ***'''kami''' | ||
+ | ***'''karavan''' | ||
+ | *'''Autres groupes''' | ||
+ | **Organisés | ||
+ | ***'''maraudeur''' ou '''marauder''' | ||
+ | ***'''ranger''' | ||
+ | ***'''tryton''' | ||
+ | **Individuels (non officiellement organisés) | ||
+ | ***'''tenant''' ou '''neutral''' | ||
+ | ***'''gnost''' | ||
+ | *'''Groupes spéciaux et techniques''' | ||
+ | **'''primes''' (écosystème des profondeurs) ou '''Grey''' (gris moyen) | ||
+ | **'''HRP''' ou '''OOC''' | ||
+ | **'''OK''' | ||
+ | **'''KO''' | ||
+ | **'''Alerte''' ou '''Alert''' | ||
+ | **'''Veille''' ou '''Sleep''' | ||
+ | **'''Status''' | ||
+ | **'''Info''' ou '''default''' ou '''Defaut''' (paramètre absent) | ||
+ | |||
+ | {|class="wikitable centre" | ||
+ | |- | ||
+ | !Normal | ||
+ | fg/bg | ||
+ | !Mise en évidence | ||
+ | dark/light | ||
+ | !Nuance saturée de base | ||
+ | (Valeur par défaut) | ||
+ | !Inverse | ||
+ | bg/fg | ||
+ | !Évidence inverse | ||
+ | light/dark | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg}};color:#{{ColorAtys|type=fg}}"|''paramètre absent'' | ||
+ | |style="background:#{{ColorAtys|type=light}};color:#{{ColorAtys|type=dark}}"|''paramètre absent'' | ||
+ | |style="background:#{{ColorAtys}};color:#{{ColorAtys}}"|''paramètre absent'' | ||
+ | |style="background:#{{ColorAtys|type=fg}};color:#{{ColorAtys|type=bg}}"|''paramètre absent'' | ||
+ | |style="background:#{{ColorAtys|type=dark}};color:#{{ColorAtys|type=light}}"|''paramètre absent'' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=HRP}};color:#{{ColorAtys|type=fg|group=HRP}}"|'''HRP''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=OOC}};color:#{{ColorAtys|type=dark|group=OOC}}"|'''OOC''' | ||
+ | |style="background:#{{ColorAtys|group=HRP}};color:#{{ColorAtys|group=HRP}}"|'''HRP''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=OOC}};color:#{{ColorAtys|type=bg|group=OOC}}"|'''OOC''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=HRP}};color:#{{ColorAtys|type=light|group=HRP}}"|'''HRP''' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=tenant}};color:#{{ColorAtys|type=fg|group=tenant}}"|'''tenant''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=neutral}};color:#{{ColorAtys|type=dark|group=neutral}}"|'''neutral''' | ||
+ | |style="background:#{{ColorAtys|group=tenant}};color:#{{ColorAtys|group=tenant}}"|'''tenant''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=neutral}};color:#{{ColorAtys|type=bg|group=neutral}}"|'''neutral''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=tenant}};color:#{{ColorAtys|type=light|group=tenant}}"|'''tenant''' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=matis}};color:#{{ColorAtys|type=fg|group=matis}}"|'''Matis''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=matis}};color:#{{ColorAtys|type=dark|group=matis}}"|'''Matis''' | ||
+ | |style="background:#{{ColorAtys|group=matis}};color:#{{ColorAtys|group=matis}}"|'''Matis''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=matis}};color:#{{ColorAtys|type=bg|group=matis}}"|'''Matis''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=matis}};color:#{{ColorAtys|type=light|group=matis}}"|'''Matis''' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=ranger}};color:#{{ColorAtys|type=fg|group=ranger}}"|'''Ranger''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=ranger}};color:#{{ColorAtys|type=dark|group=ranger}}"|'''Ranger''' | ||
+ | |style="background:#{{ColorAtys|group=ranger}};color:#{{ColorAtys|group=ranger}}"|'''Ranger''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=ranger}};color:#{{ColorAtys|type=bg|group=ranger}}"|'''Ranger''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=ranger}};color:#{{ColorAtys|type=light|group=ranger}}"|'''Ranger''' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=tryker}};color:#{{ColorAtys|type=fg|group=tryker}}"|'''Tryker''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=tryker}};color:#{{ColorAtys|type=dark|group=tryker}}"|'''Tryker''' | ||
+ | |style="background:#{{ColorAtys|group=tryker}};color:#{{ColorAtys|group=tryker}}"|'''Tryker''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=tryker}};color:#{{ColorAtys|type=bg|group=tryker}}"|'''Tryker''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=tryker}};color:#{{ColorAtys|type=light|group=tryker}}"|'''Tryker''' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=kami}};color:#{{ColorAtys|type=fg|group=kami}}"|'''Kami''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=kami}};color:#{{ColorAtys|type=dark|group=kami}}"|'''Kami''' | ||
+ | |style="background:#{{ColorAtys|group=kami}};color:#{{ColorAtys|group=kami}}"|'''Kami''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=kami}};color:#{{ColorAtys|type=bg|group=kami}}"|'''Kami''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=kami}};color:#{{ColorAtys|type=light|group=kami}}"|'''Kami''' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=karavan}};color:#{{ColorAtys|type=fg|group=karavan}}"|'''Karavan''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=karavan}};color:#{{ColorAtys|type=dark|group=karavan}}"|'''Karavan''' | ||
+ | |style="background:#{{ColorAtys|group=karavan}};color:#{{ColorAtys|group=karavan}}"|'''Karavan''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=karavan}};color:#{{ColorAtys|type=bg|group=karavan}}"|'''Karavan''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=karavan}};color:#{{ColorAtys|type=light|group=karavan}}"|'''Karavan''' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=gnost}};color:#{{ColorAtys|type=fg|group=gnost}}"|'''gnost''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=gnost}};color:#{{ColorAtys|type=dark|group=gnost}}"|'''gnost''' | ||
+ | |style="background:#{{ColorAtys|group=gnost}};color:#{{ColorAtys|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=bg|group=zorai}};color:#{{ColorAtys|type=fg|group=zorai}}"|'''Zoraï''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=zorai}};color:#{{ColorAtys|type=dark|group=zorai}}"|'''Zoraï''' | ||
+ | |style="background:#{{ColorAtys|group=zorai}};color:#{{ColorAtys|group=zorai}}"|'''Zoraï''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=zorai}};color:#{{ColorAtys|type=bg|group=zorai}}"|'''Zoraï''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=zorai}};color:#{{ColorAtys|type=light|group=zorai}}"|'''Zoraï''' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=tryton}};color:#{{ColorAtys|type=fg|group=tryton}}"|'''Tryton''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=tryton}};color:#{{ColorAtys|type=dark|group=tryton}}"|'''Tryton''' | ||
+ | |style="background:#{{ColorAtys|group=tryton}};color:#{{ColorAtys|group=tryton}}"|'''Tryton''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=tryton}};color:#{{ColorAtys|type=bg|group=tryton}}"|'''Tryton''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=tryton}};color:#{{ColorAtys|type=light|group=tryton}}"|'''Tryton''' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=maraudeur}};color:#{{ColorAtys|type=fg|group=maraudeur}}"|'''Maraudeur''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=marauder}};color:#{{ColorAtys|type=dark|group=marauder}}"|'''Marauder''' | ||
+ | |style="background:#{{ColorAtys|group=maraudeur}};color:#{{ColorAtys|group=maraudeur}}"|'''Maraudeur''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=marauder}};color:#{{ColorAtys|type=bg|group=marauder}}"|'''Marauder''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=maraudeur}};color:#{{ColorAtys|type=light|group=maraudeur}}"|'''Maraudeur''' | ||
+ | |- | ||
+ | |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|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''' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=primes}};color:#{{ColorAtys|type=fg|group=Grey}}"|'''primes''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=Grey}};color:#{{ColorAtys|type=dark|group=Grey}}"|'''Grey''' | ||
+ | |style="background:#{{ColorAtys|group=primes}};color:#{{ColorAtys|group=Grey}}"|'''primes''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=Grey}};color:#{{ColorAtys|type=bg|group=Grey}}"|'''Grey''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=primes}};color:#{{ColorAtys|type=light|group=Grey}}"|'''primes''' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=OK}};color:#{{ColorAtys|type=fg|group=OK}}"|'''OK''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=OK}};color:#{{ColorAtys|type=dark|group=OK}}"|'''OK''' | ||
+ | |style="background:#{{ColorAtys|group=OK}};color:#{{ColorAtys|group=OK}}"|'''OK''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=OK}};color:#{{ColorAtys|type=bg|group=OK}}"|'''OK''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=OK}};color:#{{ColorAtys|type=light|group=OK}}"|'''OK''' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=KO}};color:#{{ColorAtys|type=fg|group=KO}}"|'''KO''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=KO}};color:#{{ColorAtys|type=dark|group=KO}}"|'''KO''' | ||
+ | |style="background:#{{ColorAtys|group=KO}};color:#{{ColorAtys|group=KO}}"|'''KO''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=KO}};color:#{{ColorAtys|type=bg|group=KO}}"|'''KO''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=KO}};color:#{{ColorAtys|type=light|group=KO}}"|'''KO''' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=Alerte}};color:#{{ColorAtys|type=fg|group=Alerte}}"|'''Alerte''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=Alert}};color:#{{ColorAtys|type=dark|group=Alert}}"|'''Alert''' | ||
+ | |style="background:#{{ColorAtys|group=Alerte}};color:#{{ColorAtys|group=Alerte}}"|'''Alerte''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=Alert}};color:#{{ColorAtys|type=bg|group=Alert}}"|'''Alert''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=Alerte}};color:#{{ColorAtys|type=light|group=Alerte}}"|'''Alerte''' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=Veille}};color:#{{ColorAtys|type=fg|group=Veille}}"|'''Veille''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=Sleep}};color:#{{ColorAtys|type=dark|group=Sleep}}"|'''Sleep''' | ||
+ | |style="background:#{{ColorAtys|group=Veille}};color:#{{ColorAtys|group=Veille}}"|'''Veille''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=Sleep}};color:#{{ColorAtys|type=bg|group=Sleep}}"|'''Sleep''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=Veille}};color:#{{ColorAtys|type=light|group=Veille}}"|'''Veille''' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=Status}};color:#{{ColorAtys|type=fg|group=Status}}"|'''Status''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=Status}};color:#{{ColorAtys|type=dark|group=Status}}"|'''Status''' | ||
+ | |style="background:#{{ColorAtys|group=Status}};color:#{{ColorAtys|group=Status}}"|'''Status''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=Status}};color:#{{ColorAtys|type=bg|group=Status}}"|'''Status''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=Status}};color:#{{ColorAtys|type=light|group=Status}}"|'''Status''' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=Info}};color:#{{ColorAtys|type=fg|group=Info}}"|'''Info''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=default}};color:#{{ColorAtys|type=dark|group=default}}"|'''default''' | ||
+ | |style="background:#{{ColorAtys|group=Info}};color:#{{ColorAtys|group=Info}}"|'''Info''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=Defaut}};color:#{{ColorAtys|type=bg|group=Defaut}}"|'''Defaut''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=Info}};color:#{{ColorAtys|type=light|group=Info}}"|'''Info''' | ||
+ | |} | ||
+ | |||
+ | == Syntaxe == | ||
+ | <nowiki>{{</nowiki>{{PAGENAME}} | ||
+ | |type=valeur1 | ||
+ | |group=valeur2 | ||
+ | }} | ||
+ | |||
+ | == Paramètres == | ||
+ | * <code>type</code> : il s'agit de l'un des 4 types de couleurs (bg, fg, light, dark) (par défaut, la couleur obtenue est une couleur saturée proche du modèle du groupe). | ||
+ | * <code>group</code> : il s'agit de l'un des 18 énumérés plus haut (par défaut, la couleur obtenue est celle de l'"info"). | ||
+ | |||
+ | == Exemple == | ||
+ | Les deux premières rangées du tableau des couleurs données plus haut: | ||
+ | <pre> | ||
+ | |style="background:#{{ColorAtys|type=bg}};color:#{{ColorAtys|type=fg}}"|'''Defaut''' | ||
+ | |style="background:#{{ColorAtys|type=light}};color:#{{ColorAtys|type=dark}}"|'''Defaut''' | ||
+ | |style="background:#{{ColorAtys}};color:#{{ColorAtys}}"|'''Defaut''' | ||
+ | |style="background:#{{ColorAtys|type=fg}};color:#{{ColorAtys|type=bg}}"|'''Defaut''' | ||
+ | |style="background:#{{ColorAtys|type=dark}};color:#{{ColorAtys|type=light}}"|'''Defaut''' | ||
+ | |- | ||
+ | |style="background:#{{ColorAtys|type=bg|group=HRP}};color:#{{ColorAtys|type=fg|group=HRP}}"|'''HRP''' | ||
+ | |style="background:#{{ColorAtys|type=light|group=HRP}};color:#{{ColorAtys|type=dark|group=HRP}}"|'''HRP''' | ||
+ | |style="background:#{{ColorAtys|group=HRP}};color:#{{ColorAtys|group=HRP}}"|'''HRP''' | ||
+ | |style="background:#{{ColorAtys|type=fg|group=HRP}};color:#{{ColorAtys|type=bg|group=HRP}}"|'''HRP''' | ||
+ | |style="background:#{{ColorAtys|type=dark|group=HRP}};color:#{{ColorAtys|type=light|group=HRP}}"|'''HRP''' | ||
+ | </pre> | ||
+ | |||
+ | == Voir aussi == | ||
+ | * [[modèle:3DText]] pour les effets spéciaux tel que la mise en relief. | ||
+ | * [[:en:AtysPalette|AtysPalette]]<sup>(EN)</sup> & [[:fr:Palette des couleurs sur Atys|Palette des couleurs sur Atys]]<sup>(FR)</sup> | ||
+ | [[Catégorie:Charte graphique]] | ||
+ | [[Catégorie:Modèles]] | ||
+ | |||
+ | <!--[[de:Vorlage:Nom du modèle germanophone équivalent]]--> | ||
+ | [[Catégorie:Charte graphique]][[Catégorie:Modèles]]</noinclude> |
Version du 15 septembre 2019 à 19:46
Utilisation
Le modèle ColorAtys permet d'utiliser des couleurs normalisées pour la charte graphique du wiki. Il fournit 4 types de couleur pour les différents groupes d'Atys.
Les 4 types sont:
- bg (background): couleur très pâle pour le fond normal d'un texte.
- fg (foreground): couleur très foncée pour le texte (et autre tracés).
- light (clair): couleur un peu plus saturée que le fond, destinée aux mises en évidence.
- dark (foncé): couleur un peu plus saturée que la forme, destinée aux effets spéciaux comme l'ombrage.
- et la teinte saturée est retournée par défaut
Les groupes sont:
- Groupes fondamentaux
- Nations, races & écosystèmes de surface
- fyros
- matis
- tryker
- zorai (pas de ï [i tréma] dans le paramètre)
- Factions
- kami
- karavan
- Nations, races & écosystèmes de surface
- Autres groupes
- Organisés
- maraudeur ou marauder
- ranger
- tryton
- Individuels (non officiellement organisés)
- tenant ou neutral
- gnost
- Organisés
- Groupes spéciaux et techniques
- primes (écosystème des profondeurs) ou Grey (gris moyen)
- HRP ou OOC
- OK
- KO
- Alerte ou Alert
- Veille ou Sleep
- Status
- Info ou default ou Defaut (paramètre absent)
Normal
fg/bg |
Mise en évidence
dark/light |
Nuance saturée de base
(Valeur par défaut) |
Inverse
bg/fg |
Évidence inverse
light/dark |
---|---|---|---|---|
paramètre absent | paramètre absent | paramètre absent | paramètre absent | paramètre absent |
HRP | OOC | HRP | OOC | HRP |
tenant | neutral | tenant | neutral | tenant |
Matis | Matis | Matis | Matis | Matis |
Ranger | Ranger | Ranger | 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 |
Maraudeur | Marauder | Maraudeur | Marauder | Maraudeur |
Fyros | Fyros | Fyros | Fyros | Fyros |
primes | Grey | primes | Grey | primes |
OK | OK | OK | OK | OK |
KO | KO | KO | KO | KO |
Alerte | Alert | Alerte | Alert | Alerte |
Veille | Sleep | Veille | Sleep | Veille |
Status | Status | Status | Status | Status |
Info | default | Info | Defaut | Info |
Syntaxe
{{ColorAtys |type=valeur1 |group=valeur2 }}
Paramètres
-
type
: il s'agit de l'un des 4 types de couleurs (bg, fg, light, dark) (par défaut, la couleur obtenue est une couleur saturée proche du modèle du groupe). -
group
: il s'agit de l'un des 18 énumérés plus haut (par défaut, la couleur obtenue est celle de l'"info").
Exemple
Les deux premières rangées du tableau des couleurs données plus haut:
|style="background:#{{ColorAtys|type=bg}};color:#{{ColorAtys|type=fg}}"|'''Defaut''' |style="background:#{{ColorAtys|type=light}};color:#{{ColorAtys|type=dark}}"|'''Defaut''' |style="background:#{{ColorAtys}};color:#{{ColorAtys}}"|'''Defaut''' |style="background:#{{ColorAtys|type=fg}};color:#{{ColorAtys|type=bg}}"|'''Defaut''' |style="background:#{{ColorAtys|type=dark}};color:#{{ColorAtys|type=light}}"|'''Defaut''' |- |style="background:#{{ColorAtys|type=bg|group=HRP}};color:#{{ColorAtys|type=fg|group=HRP}}"|'''HRP''' |style="background:#{{ColorAtys|type=light|group=HRP}};color:#{{ColorAtys|type=dark|group=HRP}}"|'''HRP''' |style="background:#{{ColorAtys|group=HRP}};color:#{{ColorAtys|group=HRP}}"|'''HRP''' |style="background:#{{ColorAtys|type=fg|group=HRP}};color:#{{ColorAtys|type=bg|group=HRP}}"|'''HRP''' |style="background:#{{ColorAtys|type=dark|group=HRP}};color:#{{ColorAtys|type=light|group=HRP}}"|'''HRP'''
Voir aussi
- modèle:3DText pour les effets spéciaux tel que la mise en relief.
- AtysPalette(EN) & Palette des couleurs sur Atys(FR)