Vorlage:ColorAtys/Documentation: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
Zeile 1: Zeile 1:
== Utilisation ==
+
<noinclude>{{Trad|EN=Template:ColorAtys/Documentation|ES=Plantilla/Documentation:ColorAtys|FR=Modèle:ColorAtys/Documentation}}</noinclude>
 +
== Usage ==
  
Le '''modèle ''{{BASEPAGENAME}}''''' permet d'utiliser des couleurs normalisées pour la charte graphique de wiki. Il fournit 4 types de couleur pour les différents groupes d'Atys.  
+
The '''template ''{{BASEPAGENAME}}''''' allows use of the standard colours for the graphic design of the wiki. It provides 4 types of color for different groups of Atys.  
  
Les 4 types sont:
+
The 4 types are:
*'''bg (background):''' couleur très pâle pour le fond normal d'un texte.
+
*'''bg (background):''' color that is very pale for the normal background of a text.
*'''fg (foreground):''' couleur très foncée pour le texte (et autre tracés).
+
*'''fg (foreground):''' a very dark color for the text (and other paths).
*'''light (clair):''' couleur un peu plus saturée que le fond, destinée aux mises en évidence.
+
*'''light (clear):''' color a bit more saturated than the background, for highlighted.
*'''dark (foncé):''' couleur un peu plus saturée que la forme, destinée aux effets spéciaux comme l'ombrage.
+
*'''dark (dark):''' color a bit more saturated than the form, intended for special effects such as shading.
  
les groupes sont:
+
the groups are:
 
*fyros
 
*fyros
 
*matis
 
*matis
 
*tryker
 
*tryker
*zorai (pas de ï [i tréma] dans le paramètre)
+
*zorai (not ï [i-umlaut] in the parameter)
  
 
*kami
 
*kami
 
*karavan
 
*karavan
  
*marodeur
+
*marauder
 
*tryton
 
*tryton
 
*ranger
 
*ranger
  
*tenant
+
*tanant
 
*gnost
 
*gnost
  
Zeile 28: Zeile 29:
  
 
*OK
 
*OK
*KO
+
*KB
*Alerte
+
*Alert
*Info (valeur par défaut)
+
*Info (default value)
*Veille
+
*Sleep
 
*Status
 
*Status
  
 
{|class="wikitable centre"
 
{|class="wikitable centre"
 
|-
 
|-
!Normal!!Mise en évidence!!Nuance de base!!Inverse!!Évidence inverse
+
!Normal!!Highlighted!!Shade!!!Reverse!!Obviously the opposite
 
|-
 
|-
|style="background:#{{ColorAtys|type=bg}};color:#{{ColorAtys|type=fg}}"|'''Defaut'''
+
|style="background:#{{ColorAtys|type=bg}};color:#{{ColorAtys|type=fg}}"|'''Default'''
|style="background:#{{ColorAtys|type=light}};color:#{{ColorAtys|type=dark}}"|'''Defaut'''
+
|style="background:#{{ColorAtys|type=light}};color:#{{ColorAtys|type=dark}}"|'''Default'''
|style="background:#{{ColorAtys}};color:#{{ColorAtys}}"|'''Defaut'''
+
|style="background:#{{ColorAtys}};color:#{{ColorAtys}}"|'''Default'''
|style="background:#{{ColorAtys|type=fg}};color:#{{ColorAtys|type=bg}}"|'''Defaut'''
+
|style="background:#{{ColorAtys|type=fg}};color:#{{ColorAtys|type=bg}}"|'''Default'''
|style="background:#{{ColorAtys|type=dark}};color:#{{ColorAtys|type=light}}"|'''Defaut'''
+
|style="background:#{{ColorAtys|type=dark}};color:#{{ColorAtys|type=light}}"|'''Default'''
 
|-
 
|-
|style="background:#{{ColorAtys|type=bg|group=HRP}};color:#{{ColorAtys|type=fg|group=HRP}}"|'''HRP'''
+
|style="background:#{{ColorAtys|type=bg|group=OOC}};color:#{{ColorAtys|type=fg|group=OOC}}"|'''OOC'''
|style="background:#{{ColorAtys|type=light|group=HRP}};color:#{{ColorAtys|type=dark|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|group=OOC}};color:#{{ColorAtys|group=OOC}}"|'''OOC'''
|style="background:#{{ColorAtys|type=fg|group=HRP}};color:#{{ColorAtys|type=bg|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=dark|group=OOC}};color:#{{ColorAtys|type=light|group=OOC}}"|'''OOC'''
 
|-
 
|-
 
|style="background:#{{ColorAtys|type=bg|group=tenant}};color:#{{ColorAtys|type=fg|group=tenant}}"|'''tenant'''
 
|style="background:#{{ColorAtys|type=bg|group=tenant}};color:#{{ColorAtys|type=fg|group=tenant}}"|'''tenant'''
Zeile 64: Zeile 65:
 
|style="background:#{{ColorAtys|type=bg|group=ranger}};color:#{{ColorAtys|type=fg|group=ranger}}"|'''Ranger'''
 
|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|type=light|group=ranger}};color:#{{ColorAtys|type=dark|group=ranger}}"|'''Ranger'''
|style="background:#{{ColorAtys|group=ranger}};color:#{{ColorAtys|group=ranger}}"|'''Ranger'''
+
|style="background:#{{ColorAtys|group=ranger}};color:#{{ColorAtys|group=ranger}}"|'''Store'''
 
|style="background:#{{ColorAtys|type=fg|group=ranger}};color:#{{ColorAtys|type=bg|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=dark|group=ranger}};color:#{{ColorAtys|type=light|group=ranger}}"|'''Ranger'''
Zeile 104: Zeile 105:
 
|style="background:#{{ColorAtys|type=dark|group=tryton}};color:#{{ColorAtys|type=light|group=tryton}}"|'''Tryton'''
 
|style="background:#{{ColorAtys|type=dark|group=tryton}};color:#{{ColorAtys|type=light|group=tryton}}"|'''Tryton'''
 
|-
 
|-
|style="background:#{{ColorAtys|type=bg|group=marodeur}};color:#{{ColorAtys|type=fg|group=marodeur}}"|'''Marodeur'''
+
|style="background:#{{ColorAtys|type=bg|group=marauder}};color:#{{ColorAtys|type=fg|group=maraudeur}}"|'''Marauder'''
|style="background:#{{ColorAtys|type=light|group=marodeur}};color:#{{ColorAtys|type=dark|group=marodeur}}"|'''Marodeur'''
+
|style="background:#{{ColorAtys|type=light|group=marauder}};color:#{{ColorAtys|type=dark|group=marauder}}"|'''Marauder'''
|style="background:#{{ColorAtys|group=marodeur}};color:#{{ColorAtys|group=marodeur}}"|'''Marodeur'''
+
|style="background:#{{ColorAtys|group=marauder}};color:#{{ColorAtys|group=maraudeur}}"|'''Marauder'''
|style="background:#{{ColorAtys|type=fg|group=marodeur}};color:#{{ColorAtys|type=bg|group=marodeur}}"|'''Marodeur'''
+
|style="background:#{{ColorAtys|type=fg|group=marauder}};color:#{{ColorAtys|type=bg|group=marauder}}"|'''Marauder'''
|style="background:#{{ColorAtys|type=dark|group=marodeur}};color:#{{ColorAtys|type=light|group=marodeur}}"|'''Marodeur'''
+
|style="background:#{{ColorAtys|type=dark|group=marauder}};color:#{{ColorAtys|type=light|group=marauder}}"|'''Marauder'''
 
|-
 
|-
 
|style="background:#{{ColorAtys|type=bg|group=fyros}};color:#{{ColorAtys|type=fg|group=fyros}}"|'''Fyros'''
 
|style="background:#{{ColorAtys|type=bg|group=fyros}};color:#{{ColorAtys|type=fg|group=fyros}}"|'''Fyros'''
Zeile 122: Zeile 123:
 
|style="background:#{{ColorAtys|type=dark|group=OK}};color:#{{ColorAtys|type=light|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=bg|group=KO}};color:#{{ColorAtys|type=fg|group=KB}}"|'''KO'''
 
|style="background:#{{ColorAtys|type=light|group=KO}};color:#{{ColorAtys|type=dark|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|group=KO}};color:#{{ColorAtys|group=KB}}"|'''KO'''
|style="background:#{{ColorAtys|type=fg|group=KO}};color:#{{ColorAtys|type=bg|group=KO}}"|'''KO'''
+
|style="background:#{{ColorAtys|type=fg|group=KO}};color:#{{ColorAtys|type=bg|group=KB}}"|'''KO'''
 
|style="background:#{{ColorAtys|type=dark|group=KO}};color:#{{ColorAtys|type=light|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=bg|group=Alerte}};color:#{{ColorAtys|type=fg|group=Alerte}}"|'''Alerte'''
 
|style="background:#{{ColorAtys|type=light|group=Alerte}};color:#{{ColorAtys|type=dark|group=Alerte}}"|'''Alerte'''
 
|style="background:#{{ColorAtys|type=light|group=Alerte}};color:#{{ColorAtys|type=dark|group=Alerte}}"|'''Alerte'''
|style="background:#{{ColorAtys|group=Alerte}};color:#{{ColorAtys|group=Alerte}}"|'''Alerte'''
+
|style="background:#{{ColorAtys|group=Alert}};color:#{{ColorAtys|group=Alert}}"|'''Warning'''
 
|style="background:#{{ColorAtys|type=fg|group=Alerte}};color:#{{ColorAtys|type=bg|group=Alerte}}"|'''Alerte'''
 
|style="background:#{{ColorAtys|type=fg|group=Alerte}};color:#{{ColorAtys|type=bg|group=Alerte}}"|'''Alerte'''
 
|style="background:#{{ColorAtys|type=dark|group=Alerte}};color:#{{ColorAtys|type=light|group=Alerte}}"|'''Alerte'''
 
|style="background:#{{ColorAtys|type=dark|group=Alerte}};color:#{{ColorAtys|type=light|group=Alerte}}"|'''Alerte'''
Zeile 142: Zeile 143:
 
|style="background:#{{ColorAtys|type=bg|group=Veille}};color:#{{ColorAtys|type=fg|group=Veille}}"|'''Veille'''
 
|style="background:#{{ColorAtys|type=bg|group=Veille}};color:#{{ColorAtys|type=fg|group=Veille}}"|'''Veille'''
 
|style="background:#{{ColorAtys|type=light|group=Veille}};color:#{{ColorAtys|type=dark|group=Veille}}"|'''Veille'''
 
|style="background:#{{ColorAtys|type=light|group=Veille}};color:#{{ColorAtys|type=dark|group=Veille}}"|'''Veille'''
|style="background:#{{ColorAtys|group=Veille}};color:#{{ColorAtys|group=Veille}}"|'''Veille'''
+
|style="background:#{{ColorAtys|group=Idle}};color:#{{ColorAtys|group=Watch}}"|'''Timer'''
 
|style="background:#{{ColorAtys|type=fg|group=Veille}};color:#{{ColorAtys|type=bg|group=Veille}}"|'''Veille'''
 
|style="background:#{{ColorAtys|type=fg|group=Veille}};color:#{{ColorAtys|type=bg|group=Veille}}"|'''Veille'''
 
|style="background:#{{ColorAtys|type=dark|group=Veille}};color:#{{ColorAtys|type=light|group=Veille}}"|'''Veille'''
 
|style="background:#{{ColorAtys|type=dark|group=Veille}};color:#{{ColorAtys|type=light|group=Veille}}"|'''Veille'''
Zeile 153: Zeile 154:
 
|}
 
|}
  
== Syntaxe ==
+
== Syntax ==
<nowiki>{{</nowiki>{{PAGENAME}}
+
<nowiki>{{</nowiki>{{PAGENAME}}
|type=valeur1
+
|type=value1
|group=valeur2
+
|group=value2
}}
+
}}
  
== Paramètres ==
+
== Settings ==
* <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>type</code> : 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).
* <code>group</code> : il s'agit de l'un des 12 énumérés plus haut (par défaut, la couleur obtenue est celle du wiki, avec mises en évidences).
+
* <code>group</code> : this is one of the 12 listed above (by default, the color obtained is the one from the wiki, with updates in evidence).
  
== Exemple ==
+
== Example ==
Les deux premières rangées du tableau des couleurs données plus haut:
+
The first two rows of the table of colours given above:
<pre>
+
the <pre>
|style="background:#{{ColorAtys|type=bg}};color:#{{ColorAtys|type=fg}}"|'''Defaut'''
+
|style="background:#{{ColorAtys|type=bg}};color:#{{ColorAtys|type=fg}}"|'''Default'''
|style="background:#{{ColorAtys|type=light}};color:#{{ColorAtys|type=dark}}"|'''Defaut'''
+
|style="background:#{{ColorAtys|type=light}};color:#{{ColorAtys|type=dark}}"|'''Default'''
|style="background:#{{ColorAtys}};color:#{{ColorAtys}}"|'''Defaut'''
+
|style="background:#{{ColorAtys}};color:#{{ColorAtys}}"|'''Default'''
|style="background:#{{ColorAtys|type=fg}};color:#{{ColorAtys|type=bg}}"|'''Defaut'''
+
|style="background:#{{ColorAtys|type=fg}};color:#{{ColorAtys|type=bg}}"|'''Default'''
|style="background:#{{ColorAtys|type=dark}};color:#{{ColorAtys|type=light}}"|'''Defaut'''
+
|style="background:#{{ColorAtys|type=dark}};color:#{{ColorAtys|type=light}}"|'''Default'''
 
|-
 
|-
|style="background:#{{ColorAtys|type=bg|group=HRP}};color:#{{ColorAtys|type=fg|group=HRP}}"|'''HRP'''
+
|style="background:#{{ColorAtys|type=bg|group=OOC}};color:#{{ColorAtys|type=fg|group=OOC}}"|'''OOC'''
|style="background:#{{ColorAtys|type=light|group=HRP}};color:#{{ColorAtys|type=dark|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|group=OOC}};color:#{{ColorAtys|group=OOC}}"|'''OOC'''
|style="background:#{{ColorAtys|type=fg|group=HRP}};color:#{{ColorAtys|type=bg|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=dark|group=OOC}};color:#{{ColorAtys|type=light|group=OOC}}"|'''OOC'''
 
</pre>
 
</pre>
  
== Voir aussi ==
+
== See also ==
* [[modèle:3DText]] pour les effets spéciaux tel que la mise en relief.
+
* [[template:3DText]] for special effects such as highlighting.
  
[[Catégorie:Charte graphique]]
+
[[Category:graphic charter]]
[[Catégorie:Modèle:Chartes graphiques]]
+
[[Category:Template:Graphic Charter]]
 
 
<!--[[de:Vorlage:Nom du modèle germanophone équivalent]]-->
 

Version vom 10. April 2018, 16:31 Uhr

en:Template:ColorAtys/Documentation
es:Plantilla/Documentation:ColorAtys
fr:Modèle:ColorAtys/Documentation
 
UnderConstruction.png
Übersetzung zur Überprüfung
Gib nicht den Mitwirkenden die Schuld, sondern komm und hilf ihnen. 😎

Usage

The template ColorAtys allows use of the standard colours for the graphic design of the 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.

the groups are:

  • fyros
  • matis
  • tryker
  • zorai (not ï [i-umlaut] in the parameter)
  • kami
  • karavan
  • marauder
  • tryton
  • ranger
  • tanant
  • gnost
  • HRP
  • OK
  • KB
  • Alert
  • Info (default value)
  • Sleep
  • Status
Normal Highlighted Shade !Reverse Obviously the opposite
Default Default Default Default Default
OOC OOC OOC OOC OOC
tenant tenant tenant tenant tenant
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
Alerte Alerte Warning Alerte Alerte
Info Info Info Info Info
Veille Veille Timer Veille Veille
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 12 listed above (by default, the color obtained is the one from the wiki, with updates in evidence).

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