Template:3DText/Documentation

From EncyclopAtys

< Template:3DText
Revision as of 15:32, 13 March 2019 by Zorroargh (talk | contribs) (Created page with "== Use== This model allows to create special effects on the text in Atys colors. It is not recommended to use this type of embellishment in the documentation. On the other ha...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Use

This model allows to create special effects on the text in Atys colors. It is not recommended to use this type of embellishment in the documentation. On the other hand, it can be cleverly used on untied backgrounds because the shadows and lights always make the text appear by contrast (buttons, etc.)

The 4 shapes are:

  • "'inset:"' text to be engraved-in-depth.
  • "'outset:"' text in relief (protruding).
  • "'glow:"' text with halo.
  • "'shadow:"' text in the foreground, and shadow.

the groups are:

  • fyros
  • matis
  • tryker
  • zorai (no ï [umlaut I] in the parameter)
  • kami
  • karavan
  • marauder
  • tryton
  • ranger
  • neutral (stateless, pacifist, modialist... without allegiance)
  • gnost (agnostic)
  • OOC
  • and a default value
Relief Gravé Halo Ombre Defaut Defaut Defaut Defaut
OOC OOC OOC OOC OOC OOC OOC OOC
neutral neutral neutral neutral neutral neutral neutral neutral
matis matis matis matis matis matis matis matis
ranger ranger ranger ranger ranger ranger ranger ranger
tryker tryker tryker tryker tryker tryker tryker tryker
kami kami kami kami kami kami kami kami
karavan karavan karavan karavan karavan karavan karavan karavan
gnost gnost gnost gnost gnost gnost gnost gnost
zorai zorai zorai zorai zorai zorai zorai zorai
tryton tryton tryton tryton tryton tryton tryton tryton
maraudeur maraudeur maraudeur maraudeur maraudeur maraudeur maraudeur maraudeur
fyros fyros fyros fyros fyros fyros fyros fyros

Syntax

{{3DText/Documentation
|3D=valeur1
|group=valeur2
|text=valeur 3
}}

Paramètres

  • 3D : il s'agit de l'un des 4 formes (outset, inset, glow, shadow) (par défaut, la forme obtenue est outset).
  • group : 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).
  • text : il s'agit du texte à mettre en relief.

Exemple

Les deux premières rangées du tableau des couleurs données plus haut:

|style="background:#ccc;color:#{{ColorAtys|type=fg}}"|''{{3DText|text='''Relief'''}}''
|style="background:#ccc;color:#{{ColorAtys}}"|''{{3DText|3D=inset|text='''Gravé'''}}''
|style="background:#ccc;color:#{{ColorAtys|type=fg}}"|''{{3DText|3D=glow|text='''Halo'''}}''
|style="background:#ccc;color:#{{ColorAtys|type=fg}}"|''{{3DText|3D=shadow|text='''Ombre'''}}''
|style="background:#{{ColorAtys|type=bg}};color:#{{ColorAtys|type=fg}}"|''{{3DText|text='''Defaut'''}}''
|style="background:#{{ColorAtys|type=bg}};color:#{{ColorAtys|type=fg}}"|''{{3DText|3D=inset|text='''Defaut'''}}''
|style="background:#{{ColorAtys|type=bg}};color:#{{ColorAtys|type=fg}}"|''{{3DText|3D=glow|text='''Defaut'''}}''
|style="background:#{{ColorAtys|type=bg}};color:#{{ColorAtys|type=fg}}"|''{{3DText|3D=shadow|text='''Defaut'''}}''
|-
|style="background:#ccc;color:#{{ColorAtys|type=fg|group=HRP}}"|''{{3DText|group=HRP|text='''HRP'''}}''
|style="background:#ccc;color:#{{ColorAtys|type=fg|group=HRP}}"|''{{3DText|group=HRP|3D=inset|text='''HRP'''}}''
|style="background:#ccc;color:#{{ColorAtys|type=fg|group=HRP}}"|''{{3DText|group=HRP|3D=glow|text='''HRP'''}}''
|style="background:#ccc;color:#{{ColorAtys|type=fg|group=HRP}}"|''{{3DText|group=HRP|3D=shadow|text='''HRP'''}}''
|style="background:#{{ColorAtys|type=bg|group=HRP}};color:#{{ColorAtys|type=fg|group=HRP}}"|''{{3DText|group=HRP|text='''HRP'''}}''
|style="background:#{{ColorAtys|type=bg|group=HRP}};color:#{{ColorAtys|type=fg|group=HRP}}"|''{{3DText|group=HRP|3D=inset|text='''HRP'''}}''
|style="background:#{{ColorAtys|type=bg|group=HRP}};color:#{{ColorAtys|type=fg|group=HRP}}"|''{{3DText|group=HRP|3D=glow|text='''HRP'''}}''
|style="background:#{{ColorAtys|type=bg|group=HRP}};color:#{{ColorAtys|type=fg|group=HRP}}"|''{{3DText|group=HRP|3D=shadow|text='''HRP'''}}''

Voir aussi

Catégorie:Charte graphique Catégorie:Modèles