Zeile 1: | Zeile 1: | ||
− | == | + | <noinclude>{{Trad|EN=Template:ColorAtys/Documentation|ES=Plantilla/Documentation:ColorAtys|FR=Modèle:ColorAtys/Documentation}}</noinclude> |
+ | == Usage == | ||
− | + | 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. | |
− | + | The 4 types are: | |
− | *'''bg (background):''' | + | *'''bg (background):''' color that is very pale for the normal background of a text. |
− | *'''fg (foreground):''' | + | *'''fg (foreground):''' a very dark color for the text (and other paths). |
− | *'''light ( | + | *'''light (clear):''' color a bit more saturated than the background, for highlighted. |
− | *'''dark ( | + | *'''dark (dark):''' color a bit more saturated than the form, intended for special effects such as shading. |
− | + | the groups are: | |
*fyros | *fyros | ||
*matis | *matis | ||
*tryker | *tryker | ||
− | *zorai ( | + | *zorai (not ï [i-umlaut] in the parameter) |
*kami | *kami | ||
*karavan | *karavan | ||
− | * | + | *marauder |
*tryton | *tryton | ||
*ranger | *ranger | ||
− | * | + | *tanant |
*gnost | *gnost | ||
Zeile 28: | Zeile 29: | ||
*OK | *OK | ||
− | * | + | *KB |
− | * | + | *Alert |
− | *Info ( | + | *Info (default value) |
− | * | + | *Sleep |
*Status | *Status | ||
{|class="wikitable centre" | {|class="wikitable centre" | ||
|- | |- | ||
− | !Normal!! | + | !Normal!!Highlighted!!Shade!!!Reverse!!Obviously the opposite |
|- | |- | ||
− | |style="background:#{{ColorAtys|type=bg}};color:#{{ColorAtys|type=fg}}"|''' | + | |style="background:#{{ColorAtys|type=bg}};color:#{{ColorAtys|type=fg}}"|'''Default''' |
− | |style="background:#{{ColorAtys|type=light}};color:#{{ColorAtys|type=dark}}"|''' | + | |style="background:#{{ColorAtys|type=light}};color:#{{ColorAtys|type=dark}}"|'''Default''' |
− | |style="background:#{{ColorAtys}};color:#{{ColorAtys}}"|''' | + | |style="background:#{{ColorAtys}};color:#{{ColorAtys}}"|'''Default''' |
− | |style="background:#{{ColorAtys|type=fg}};color:#{{ColorAtys|type=bg}}"|''' | + | |style="background:#{{ColorAtys|type=fg}};color:#{{ColorAtys|type=bg}}"|'''Default''' |
− | |style="background:#{{ColorAtys|type=dark}};color:#{{ColorAtys|type=light}}"|''' | + | |style="background:#{{ColorAtys|type=dark}};color:#{{ColorAtys|type=light}}"|'''Default''' |
|- | |- | ||
− | |style="background:#{{ColorAtys|type=bg|group= | + | |style="background:#{{ColorAtys|type=bg|group=OOC}};color:#{{ColorAtys|type=fg|group=OOC}}"|'''OOC''' |
− | |style="background:#{{ColorAtys|type=light|group= | + | |style="background:#{{ColorAtys|type=light|group=OOC}};color:#{{ColorAtys|type=dark|group=OOC}}"|'''OOC''' |
− | |style="background:#{{ColorAtys|group= | + | |style="background:#{{ColorAtys|group=OOC}};color:#{{ColorAtys|group=OOC}}"|'''OOC''' |
− | |style="background:#{{ColorAtys|type=fg|group= | + | |style="background:#{{ColorAtys|type=fg|group=OOC}};color:#{{ColorAtys|type=bg|group=OOC}}"|'''OOC''' |
− | |style="background:#{{ColorAtys|type=dark|group= | + | |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}}"|''' | + | |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= | + | |style="background:#{{ColorAtys|type=bg|group=marauder}};color:#{{ColorAtys|type=fg|group=maraudeur}}"|'''Marauder''' |
− | |style="background:#{{ColorAtys|type=light|group= | + | |style="background:#{{ColorAtys|type=light|group=marauder}};color:#{{ColorAtys|type=dark|group=marauder}}"|'''Marauder''' |
− | |style="background:#{{ColorAtys|group= | + | |style="background:#{{ColorAtys|group=marauder}};color:#{{ColorAtys|group=maraudeur}}"|'''Marauder''' |
− | |style="background:#{{ColorAtys|type=fg|group= | + | |style="background:#{{ColorAtys|type=fg|group=marauder}};color:#{{ColorAtys|type=bg|group=marauder}}"|'''Marauder''' |
− | |style="background:#{{ColorAtys|type=dark|group= | + | |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= | + | |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= | + | |style="background:#{{ColorAtys|group=KO}};color:#{{ColorAtys|group=KB}}"|'''KO''' |
− | |style="background:#{{ColorAtys|type=fg|group=KO}};color:#{{ColorAtys|type=bg|group= | + | |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= | + | |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= | + | |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: | ||
|} | |} | ||
− | == | + | == Syntax == |
− | + | <nowiki>{{</nowiki>{{PAGENAME}} | |
− | + | |type=value1 | |
− | + | |group=value2 | |
− | + | }} | |
− | == | + | == Settings == |
− | * <code>type</code> : | + | * <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> : | + | * <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). |
− | == | + | == Example == |
− | + | The first two rows of the table of colours given above: | |
− | <pre> | + | the <pre> |
− | |style="background:#{{ColorAtys|type=bg}};color:#{{ColorAtys|type=fg}}"|''' | + | |style="background:#{{ColorAtys|type=bg}};color:#{{ColorAtys|type=fg}}"|'''Default''' |
− | |style="background:#{{ColorAtys|type=light}};color:#{{ColorAtys|type=dark}}"|''' | + | |style="background:#{{ColorAtys|type=light}};color:#{{ColorAtys|type=dark}}"|'''Default''' |
− | |style="background:#{{ColorAtys}};color:#{{ColorAtys}}"|''' | + | |style="background:#{{ColorAtys}};color:#{{ColorAtys}}"|'''Default''' |
− | |style="background:#{{ColorAtys|type=fg}};color:#{{ColorAtys|type=bg}}"|''' | + | |style="background:#{{ColorAtys|type=fg}};color:#{{ColorAtys|type=bg}}"|'''Default''' |
− | |style="background:#{{ColorAtys|type=dark}};color:#{{ColorAtys|type=light}}"|''' | + | |style="background:#{{ColorAtys|type=dark}};color:#{{ColorAtys|type=light}}"|'''Default''' |
|- | |- | ||
− | |style="background:#{{ColorAtys|type=bg|group= | + | |style="background:#{{ColorAtys|type=bg|group=OOC}};color:#{{ColorAtys|type=fg|group=OOC}}"|'''OOC''' |
− | |style="background:#{{ColorAtys|type=light|group= | + | |style="background:#{{ColorAtys|type=light|group=OOC}};color:#{{ColorAtys|type=dark|group=OOC}}"|'''OOC''' |
− | |style="background:#{{ColorAtys|group= | + | |style="background:#{{ColorAtys|group=OOC}};color:#{{ColorAtys|group=OOC}}"|'''OOC''' |
− | |style="background:#{{ColorAtys|type=fg|group= | + | |style="background:#{{ColorAtys|type=fg|group=OOC}};color:#{{ColorAtys|type=bg|group=OOC}}"|'''OOC''' |
− | |style="background:#{{ColorAtys|type=dark|group= | + | |style="background:#{{ColorAtys|type=dark|group=OOC}};color:#{{ColorAtys|type=light|group=OOC}}"|'''OOC''' |
</pre> | </pre> | ||
− | == | + | == See also == |
− | * [[ | + | * [[template:3DText]] for special effects such as highlighting. |
− | [[ | + | [[Category:graphic charter]] |
− | [[ | + | [[Category:Template:Graphic Charter]] |
− | |||
− |
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:
the groups are:
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 |
{{ColorAtys/Documentation |type=value1 |group=value2 }}
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).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'''