Modèle:Trad : Différence entre versions

De EncyclopAtys

Ligne 1 : Ligne 1 :
<!--
+
{{clear}}<div style="margin:0em;padding:0.3em;
--><div style="width: 100%; float: right; margin-right: 0em; margin-left: 0em; padding:.1em; border: .1em outset #{{ColorAtys|type=|group={{{palette}}}}}; font-size: 1em; background-color: #{{ColorAtys|type=bg|group={{{palette}}}}};font-weight:bold; text-align: right;
+
border: none;
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#def), color-stop(100%,#000));
+
background: linear-gradient(to right, #{{ColorAtys|type=light|group=Alert}}, #fff);">
background: -webkit-gradient(linear, center top, center bottom, from(#fff), to(#def));
+
<div style="float:right;margin-right:0em;left:auto;bottom:auto;
background: -webkit-linear-gradient(#fff, #def);
+
background: linear-gradient(to left, #{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}});"><!--
background: -moz-linear-gradient(#fff, #def);
 
background: -o-linear-gradient(#fff, #def);
 
background: -ms-linear-gradient(#def, #def);
 
background: linear-gradient(#fff, #def);
 
 
 
background: #{{ColorAtys|type=bg|group={{{palette}}}}};
 
background: rgba(255, 255, 255, 0.8);"><!--
 
--x-> {{#if:{{{H|}}}
 
|<!-x- Horizontal
 
--x-><div style="background: linear-gradient(to right, #{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}});">•&nbsp;<!--
 
--x-> {{#if:{{{DE|}}}| [[file:De.png | link=:de:{{{DE}}} | de:{{{DE}}}]]&nbsp;&nbsp;•&nbsp;}}<!--
 
--x-> {{#if:{{{EN|}}}| [[file:Gb.png | link=:en:{{{EN}}} | en:{{{EN}}}]]&nbsp;&nbsp;•&nbsp;}}<!--
 
--x-> {{#if:{{{ES|}}}| [[file:Es.png | link=:es:{{{ES}}} | es:{{{ES}}}]]&nbsp;&nbsp;•&nbsp;}}<!--
 
--x-> {{#if:{{{FR|}}}| [[file:Fr.png | link=:fr:{{{FR}}} | fr:{{{FR}}}]]&nbsp;&nbsp;•&nbsp;}}<!--
 
--x-> {{#if:{{{RU|}}}| [[file:Ru.png | link=:ru:{{{RU}}} | ru:{{{RU}}}]]&nbsp;&nbsp;•<br/>}}<!--
 
--x-></div>
 
|<!-- Vertical
 
---><div style="background: linear-gradient(to right, #{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}});"><!--
 
 
---> {{#if:{{{DE|}}}| [[file:De.png | link=:de:{{{DE}}} | de:{{{DE}}}]]<br/>}}<!--
 
---> {{#if:{{{DE|}}}| [[file:De.png | link=:de:{{{DE}}} | de:{{{DE}}}]]<br/>}}<!--
 
---> {{#if:{{{EN|}}}| [[file:Gb.png | link=:en:{{{EN}}} | en:{{{EN}}}]]<br/>}}<!--
 
---> {{#if:{{{EN|}}}| [[file:Gb.png | link=:en:{{{EN}}} | en:{{{EN}}}]]<br/>}}<!--
Ligne 27 : Ligne 9 :
 
---> {{#if:{{{FR|}}}| [[file:Fr.png | link=:fr:{{{FR}}} | fr:{{{FR}}}]]<br/>}}<!--
 
---> {{#if:{{{FR|}}}| [[file:Fr.png | link=:fr:{{{FR}}} | fr:{{{FR}}}]]<br/>}}<!--
 
---> {{#if:{{{RU|}}}| [[file:Ru.png | link=:ru:{{{RU}}} | ru:{{{RU}}}]]<br/>}}<!--
 
---> {{#if:{{{RU|}}}| [[file:Ru.png | link=:ru:{{{RU}}} | ru:{{{RU}}}]]<br/>}}<!--
---></div><!--
+
---></div><div style="float:left;margin-left:0em;right:100%; margin-right: 10em; bottom:auto; width= 100%;
-x->}}<!--
+
border: #{{ColorAtys|type=light|group=Alert}} medium outset;
--></div><!--
+
background:#{{ColorAtys|type=light|group=Alert}}; color:#{{ColorAtys|type=fg|group=Alert}};
--><noinclude>
+
text-align:center;font-weight: bold; font-size:x-large;font-variant: small-caps;">&nbsp;[[file:UnderConstruction.png|32px|left]]{{3DText|text={{{titre|Translation to review}}}}}</div>
 +
</div>
 +
<noinclude>
 
{{TradA  
 
{{TradA  
 
|DE = Vorlage:Trad
 
|DE = Vorlage:Trad
Ligne 47 : Ligne 31 :
 
*Ce modèle peut s'enrichir de deux autres paramètres: '''"H"''' pour afficher les boites horizontalement et '''"palette"''' pour imposer une couleur thématique.Pour les palettes disponibles voir:  [[:Modèle:ColorAtys]]
 
*Ce modèle peut s'enrichir de deux autres paramètres: '''"H"''' pour afficher les boites horizontalement et '''"palette"''' pour imposer une couleur thématique.Pour les palettes disponibles voir:  [[:Modèle:ColorAtys]]
 
*Si une variable linguistique n'est pas renseignée, le bouton n'est pas affiché. Par contre, il sera affiché, même si le lien n’aboutit sur aucune page.
 
*Si une variable linguistique n'est pas renseignée, le bouton n'est pas affiché. Par contre, il sera affiché, même si le lien n’aboutit sur aucune page.
 
+
<!--
 +
-x->
 +
position: fixed;
 +
        width: 10em;
 +
        height: auto;
 +
        top: 15%;
 +
        right: auto;
 +
        bottom: 100px;
 +
        left: 0;
 +
<div style="text-align:right;font-weight: normal; font-size:smaller;font-variant:none;font-style:italic;text-shadow:none">{{{comment|}}}</div>
 +
<div style="border:thin inset #0ff;padding:0em;border: #{{ColorAtys|type=dark|group={{{groupe|}}}}} thin inset;background:#{{ColorAtys|type=bg|group={{{groupe|}}}}}; color:#000">{{{text|}}}</div>
 +
</div><!--{{Autotrad
 +
|[[:fr:Primes raider]]
 +
|[[:en:Primes raider]], [[:de:Primes raider]]
 +
}}
 +
--x-> {{#if:{{{H|}}}
 +
|<!-x- Horizontal
 +
--x-><div style="background: linear-gradient(to right, #{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}});">•&nbsp;<!--
 +
--x-> {{#if:{{{DE|}}}| [[file:De.png | link=:de:{{{DE}}} | de:{{{DE}}}]]&nbsp;&nbsp;•&nbsp;}}<!--
 +
--x-> {{#if:{{{EN|}}}| [[file:Gb.png | link=:en:{{{EN}}} | en:{{{EN}}}]]&nbsp;&nbsp;•&nbsp;}}<!--
 +
--x-> {{#if:{{{ES|}}}| [[file:Es.png | link=:es:{{{ES}}} | es:{{{ES}}}]]&nbsp;&nbsp;•&nbsp;}}<!--
 +
--x-> {{#if:{{{FR|}}}| [[file:Fr.png | link=:fr:{{{FR}}} | fr:{{{FR}}}]]&nbsp;&nbsp;•&nbsp;}}<!--
 +
--x-> {{#if:{{{RU|}}}| [[file:Ru.png | link=:ru:{{{RU}}} | ru:{{{RU}}}]]&nbsp;&nbsp;•<br/>}}<!--
 +
--x-></div>
 +
|<!-- Vertical
 
De plus, le bouton ne «saura» pas si le texte a été traduit ou simplement recopié.
 
De plus, le bouton ne «saura» pas si le texte a été traduit ou simplement recopié.
 
=Usage=
 
=Usage=

Version du 30 août 2019 à 19:16


 
UnderConstruction.png
Translation to review

Modèle:TradA Petits boutons pour passer d'une langue à l'autre.

Paramètres

Utiliser comme suit:

{{Trad|<BigrammeLangue>=<Nom de la page traduite dans la langue XX>|etc...}}
  • Les bigrammes reconnus sont DE, EN, ES, FR et RU.
  • Ce modèle peut s'enrichir de deux autres paramètres: "H" pour afficher les boites horizontalement et "palette" pour imposer une couleur thématique.Pour les palettes disponibles voir: Modèle:ColorAtys
  • Si une variable linguistique n'est pas renseignée, le bouton n'est pas affiché. Par contre, il sera affiché, même si le lien n’aboutit sur aucune page.