Diferencia entre revisiones de «Plantilla:ColorAtys/Documentation»
De EnciclopAtys
| Línea 6: | Línea 6: | ||
|RU=Template:ColorAtys/Documentation | |RU=Template:ColorAtys/Documentation | ||
}}</noinclude> | }}</noinclude> | ||
| − | == | + | == Usage == |
| − | + | 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. | |
| − | + | 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. |
| + | *and default gives saturated hue. | ||
| − | + | The groups are: | |
| − | *fyros | + | *basic groups: |
| − | *matis | + | **nations-races |
| − | *tryker | + | ***'''fyros''' |
| − | *zorai ( | + | ***'''matis''' |
| − | + | ***'''tryker''' | |
| − | *kami | + | ***'''zorai''' (no ï [umlaut I] in the parameter) |
| − | *karavan | + | **faction |
| − | + | ***'''kami''' | |
| − | *marauder | + | ***'''karavan''' |
| − | *tryton | + | *other groups |
| − | * | + | **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 ( | + | **'''KO''' |
| − | *Sleep | + | **'''Alert''' |
| − | *Status | + | **'''Info''' (default value) |
| + | **'''Sleep''' | ||
| + | **'''Status''' | ||
{|class="wikitable centre" | {|class="wikitable centre" | ||
|- | |- | ||
| − | !Normal!! | + | !Normal |
| + | fg/bg | ||
| + | !Highlighted | ||
| + | dark/light | ||
| + | !Saturated | ||
| + | (default value) | ||
| + | !Reverse | ||
| + | bg/fg | ||
| + | !Special | ||
| + | light/dark | ||
|- | |- | ||
| − | |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=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}}"|''' | + | |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}}"|''' | + | |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}}"|''' | + | |style="background:#{{ColorAtys|type=light|group=marauder}};color:#{{ColorAtys|type=dark|group=marauder}}"|'''Marauder''' |
| − | |style="background:#{{ColorAtys|group=marauder}};color:#{{ColorAtys|group=marauder}}"|''' | + | |style="background:#{{ColorAtys|group=marauder}};color:#{{ColorAtys|group=marauder}}"|'''Marauder''' |
| − | |style="background:#{{ColorAtys|type=fg|group=marauder}};color:#{{ColorAtys|type=bg|group=marauder}}"|''' | + | |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}}"|''' | + | |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}}"|''' | + | |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}}"|''' | + | |style="background:#{{ColorAtys|type=light|group=Alert}};color:#{{ColorAtys|type=dark|group=Alert}}"|'''Alert''' |
| − | |style="background:#{{ColorAtys|group=Alert}};color:#{{ColorAtys|group=Alert}}"|''' | + | |style="background:#{{ColorAtys|group=Alert}};color:#{{ColorAtys|group=Alert}}"|'''Alert''' |
| − | |style="background:#{{ColorAtys|type=fg|group=Alert}};color:#{{ColorAtys|type=bg|group=Alert}}"|''' | + | |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}}"|''' | + | |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}}"|''' | + | |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}}"|''' | + | |style="background:#{{ColorAtys|type=light|group=Sleep}};color:#{{ColorAtys|type=dark|group=Sleep}}"|'''Standby''' |
| − | |style="background:#{{ColorAtys|group=Sleep}};color:#{{ColorAtys|group=Sleep}}"|''' | + | |style="background:#{{ColorAtys|group=Sleep}};color:#{{ColorAtys|group=Sleep}}"|'''Standby''' |
| − | |style="background:#{{ColorAtys|type=fg|group=Sleep}};color:#{{ColorAtys|type=bg|group=Sleep}}"|''' | + | |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}}"|''' | + | |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: | ||
|} | |} | ||
| − | == | + | == 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 18 listed above (by default, the color obtained is the ''info colour''). |
| − | == | + | == 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. |
* [[: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]] | |
| − | [[ | + | [[Category:Template:Graphic Charter]] |
| − | [[ | ||
| − | |||
| − | |||
Revisión del 11:03 11 abr 2019
Contenido
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
- nations-races
- other groups
- organized
- marauder
- ranger
- tryton
- individual, not officially organized
- neutral (stateless, pacifist, modialist... without allegiance)
- gnost (agnostic)
- organized
- 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
- template:3DText for special effects such as highlighting.
- AtysPalette(EN) & Palette des couleurs sur Atys(FR)