Diferencia entre revisiones de «Plantilla:ColorAtys/Documentation»

De EnciclopAtys

Saltar a: navegación, buscar
Línea 6: Línea 6:
 
|RU=Template:ColorAtys/Documentation
 
|RU=Template:ColorAtys/Documentation
 
}}</noinclude>
 
}}</noinclude>
== Utilisation ==
+
== 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 '''[[AtysPalette|graphic design of that 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.
 +
*and default gives saturated hue.
  
les groupes sont:
+
The groups are:
*fyros
+
*basic groups:
*matis
+
**nations-races
*tryker
+
***'''fyros'''
*zorai (pas de ï [i tréma] dans le paramètre)
+
***'''matis'''
 
+
***'''tryker'''
*kami
+
***'''zorai''' (no ï [umlaut I] in the parameter)
*karavan
+
**faction
 
+
***'''kami'''
*marauder
+
***'''karavan'''
*tryton
+
*other groups
*ranger
+
**organized
 
+
***'''marauder'''
*neutral
+
***'''ranger'''
*gnost
+
***'''tryton'''
 
+
**individual, not officially organized
*OOC
+
***'''neutral''' (stateless, pacifist, modialist... without allegiance)
 
+
***'''gnost''' (agnostic)
*OK
+
*'''OOC'''
*KO
+
*technical groups
*Alert
+
**'''OK'''
*Info (valeur par défaut)
+
**'''KO'''
*Sleep
+
**'''Alert'''
*Status
+
**'''Info''' (default value)
 +
**'''Sleep'''
 +
**'''Status'''
  
 
{|class="wikitable centre"
 
{|class="wikitable centre"
 
|-
 
|-
!Normal!!Mise en évidence!!Nuance de base!!Inverse!!Évidence inverse
+
!Normal
 +
fg/bg
 +
!Highlighted
 +
dark/light
 +
!Saturated
 +
(default value)
 +
!Reverse
 +
bg/fg
 +
!Special
 +
light/dark
 
|-
 
|-
|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=OOC}};color:#{{ColorAtys|type=fg|group=OOC}}"|'''OOC'''
 
|style="background:#{{ColorAtys|type=bg|group=OOC}};color:#{{ColorAtys|type=fg|group=OOC}}"|'''OOC'''
Línea 71: Línea 83:
 
|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'''
Línea 111: Línea 123:
 
|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=marauder}};color:#{{ColorAtys|type=fg|group=marauder}}"|'''Merodeador'''
+
|style="background:#{{ColorAtys|type=bg|group=marauder}};color:#{{ColorAtys|type=fg|group=marauder}}"|'''Marauder'''
|style="background:#{{ColorAtys|type=light|group=marauder}};color:#{{ColorAtys|type=dark|group=marauder}}"|'''Merodeador'''
+
|style="background:#{{ColorAtys|type=light|group=marauder}};color:#{{ColorAtys|type=dark|group=marauder}}"|'''Marauder'''
|style="background:#{{ColorAtys|group=marauder}};color:#{{ColorAtys|group=marauder}}"|'''Maraudeur'''
+
|style="background:#{{ColorAtys|group=marauder}};color:#{{ColorAtys|group=marauder}}"|'''Marauder'''
|style="background:#{{ColorAtys|type=fg|group=marauder}};color:#{{ColorAtys|type=bg|group=marauder}}"|'''Merodeador'''
+
|style="background:#{{ColorAtys|type=fg|group=marauder}};color:#{{ColorAtys|type=bg|group=marauder}}"|'''Marauder'''
|style="background:#{{ColorAtys|type=dark|group=marauder}};color:#{{ColorAtys|type=light|group=marauder}}"|'''Merodeador'''
+
|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'''
Línea 135: Línea 147:
 
|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=Alert}};color:#{{ColorAtys|type=fg|group=Alert}}"|'''¡Ojo!'''
+
|style="background:#{{ColorAtys|type=bg|group=Alert}};color:#{{ColorAtys|type=fg|group=Alert}}"|'''Alert'''
|style="background:#{{ColorAtys|type=light|group=Alert}};color:#{{ColorAtys|type=dark|group=Alert}}"|'''¡Ojo!'''
+
|style="background:#{{ColorAtys|type=light|group=Alert}};color:#{{ColorAtys|type=dark|group=Alert}}"|'''Alert'''
|style="background:#{{ColorAtys|group=Alert}};color:#{{ColorAtys|group=Alert}}"|'''¡Ojo!'''
+
|style="background:#{{ColorAtys|group=Alert}};color:#{{ColorAtys|group=Alert}}"|'''Alert'''
|style="background:#{{ColorAtys|type=fg|group=Alert}};color:#{{ColorAtys|type=bg|group=Alert}}"|'''¡Ojo!'''
+
|style="background:#{{ColorAtys|type=fg|group=Alert}};color:#{{ColorAtys|type=bg|group=Alert}}"|'''Alert'''
|style="background:#{{ColorAtys|type=dark|group=Alert}};color:#{{ColorAtys|type=light|group=Alert}}"|'''¡Ojo!'''
+
|style="background:#{{ColorAtys|type=dark|group=Alert}};color:#{{ColorAtys|type=light|group=Alert}}"|'''Alert'''
 
|-
 
|-
 
|style="background:#{{ColorAtys|type=bg|group=Info}};color:#{{ColorAtys|type=fg|group=Info}}"|'''Info'''
 
|style="background:#{{ColorAtys|type=bg|group=Info}};color:#{{ColorAtys|type=fg|group=Info}}"|'''Info'''
Línea 147: Línea 159:
 
|style="background:#{{ColorAtys|type=dark|group=Info}};color:#{{ColorAtys|type=light|group=Info}}"|'''Info'''
 
|style="background:#{{ColorAtys|type=dark|group=Info}};color:#{{ColorAtys|type=light|group=Info}}"|'''Info'''
 
|-
 
|-
|style="background:#{{ColorAtys|type=bg|group=Sleep}};color:#{{ColorAtys|type=fg|group=Sleep}}"|'''En reposo'''
+
|style="background:#{{ColorAtys|type=bg|group=Sleep}};color:#{{ColorAtys|type=fg|group=Sleep}}"|'''Standby'''
|style="background:#{{ColorAtys|type=light|group=Sleep}};color:#{{ColorAtys|type=dark|group=Sleep}}"|'''En reposo'''
+
|style="background:#{{ColorAtys|type=light|group=Sleep}};color:#{{ColorAtys|type=dark|group=Sleep}}"|'''Standby'''
|style="background:#{{ColorAtys|group=Sleep}};color:#{{ColorAtys|group=Sleep}}"|'''En reposo'''
+
|style="background:#{{ColorAtys|group=Sleep}};color:#{{ColorAtys|group=Sleep}}"|'''Standby'''
|style="background:#{{ColorAtys|type=fg|group=Sleep}};color:#{{ColorAtys|type=bg|group=Sleep}}"|'''En reposo'''
+
|style="background:#{{ColorAtys|type=fg|group=Sleep}};color:#{{ColorAtys|type=bg|group=Sleep}}"|'''Standby'''
|style="background:#{{ColorAtys|type=dark|group=Sleep}};color:#{{ColorAtys|type=light|group=Sleep}}"|'''En reposo'''
+
|style="background:#{{ColorAtys|type=dark|group=Sleep}};color:#{{ColorAtys|type=light|group=Sleep}}"|'''Standby'''
 
|-
 
|-
 
|style="background:#{{ColorAtys|type=bg|group=Status}};color:#{{ColorAtys|type=fg|group=Status}}"|'''Status'''
 
|style="background:#{{ColorAtys|type=bg|group=Status}};color:#{{ColorAtys|type=fg|group=Status}}"|'''Status'''
Línea 160: Línea 172:
 
|}
 
|}
  
== 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 18 listed above (by default, the color obtained is the ''info colour'').
  
== 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.
 
* [[:en:AtysPalette|AtysPalette]]<sup>(EN)</sup> & [[:fr:Palette des couleurs sur Atys|Palette des couleurs sur Atys]]<sup>(FR)</sup>
 
* [[:en:AtysPalette|AtysPalette]]<sup>(EN)</sup> & [[:fr:Palette des couleurs sur Atys|Palette des couleurs sur Atys]]<sup>(FR)</sup>
 
+
[[Category:graphic Charter]]
[[Catégorie:Charte graphique]]
+
[[Category:Template:Graphic Charter]]
[[Catégorie:Modèle:Chartes graphiques]]
 
 
 
<!--[[de:Vorlage:Nom du modèle germanophone équivalent]]-->
 

Revisión del 11:03 11 abr 2019

de:Template:ColorAtys/Documentation
en:Template:ColorAtys/Documentation
es:Template:ColorAtys/Documentation
fr:Template:ColorAtys/Documentation
ru:Template:ColorAtys/Documentation
 
UnderConstruction.png
¡Traducción que tiene que ser revisada!
¡No culpes a los contribuyentes, pero ayúdalos! 😎
Texto de referencia (Texto actualizado, utilizado como referencia) :
Notas :

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
  • other groups
    • organized
      • marauder
      • ranger
      • tryton
    • individual, not officially organized
      • neutral (stateless, pacifist, modialist... without allegiance)
      • gnost (agnostic)
  • 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