Modèle:Tape : Différence entre versions

De EncyclopAtys

Ligne 2 : Ligne 2 :
 
background-color: #{{ColorAtys|type=bg|group={{{palette}}}}};
 
background-color: #{{ColorAtys|type=bg|group={{{palette}}}}};
 
{{ #switch: {{{3D|}}}
 
{{ #switch: {{{3D|}}}
 +
|on=
 +
border: thick groove #{{ColorAtys|type=dark|group={{{palette}}}}};
 +
background: linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys||group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}});
 +
|out=
 +
border: medium outset #{{ColorAtys|group={{{palette}}}}};
 +
background: linear-gradient(#{{ColorAtys|group={{{palette}}}}}, #{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}});
 +
|in=
 +
border: medium inset #{{ColorAtys|group={{{palette}}}}};
 +
background: linear-gradient(#{{ColorAtys|group={{{palette}}}}}, #{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}});
 
|inset=
 
|inset=
 
border: thin groove #{{ColorAtys|type=light|group={{{palette}}}}};
 
border: thin groove #{{ColorAtys|type=light|group={{{palette}}}}};
Ligne 13 : Ligne 22 :
 
|#default=
 
|#default=
 
border: thick ridge #{{ColorAtys|type=light|group={{{palette}}}}};
 
border: thick ridge #{{ColorAtys|type=light|group={{{palette}}}}};
background: linear-gradient(#{{ColorAtys|group={{{palette}}}}}, #{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}});
 
 
background: linear-gradient(#{{ColorAtys|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}}, #{{ColorAtys|type=bg|group={{{palette}}}}});  
 
background: linear-gradient(#{{ColorAtys|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}}, #{{ColorAtys|type=bg|group={{{palette}}}}});  
 
}}
 
}}
xborder-width: thin;
 
xborder-width: .2em;
 
 
border-radius:.5em;padding:0em .5em;
 
border-radius:.5em;padding:0em .5em;
 
 
xbackground: -webkit-gradient(linear, left top, right top, color-stop(0%,#{{ColorAtys|type=light|group={{{palette}}}}}), color-stop(100%,#000));
 
xbackground: -webkit-gradient(linear, center top, center bottom, from(#{{ColorAtys|type=bg|group={{{palette}}}}}), to(#{{ColorAtys|type=light|group={{{palette}}}}}));
 
xbackground: -webkit-linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}});
 
xbackground: -moz-linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}});
 
xbackground: -o-linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}});
 
xbackground: -ms-linear-gradient(#{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}});
 
xbackground: linear-gradient(#{{ColorAtys|group={{{palette}}}}}, #{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}});
 
xcolor: #{{ColorAtys|type=fg|group={{{palette}}}}}; text-shadow: #333 .1em .1em .1em, #fff -.1em -.1em .1em;
 
font-weight:bold;
 
 
text-align: center;">
 
text-align: center;">
 
 
{{ #switch: {{{3D|}}}
 
{{ #switch: {{{3D|}}}
|inset=
+
|on=
<font style="color: #{{ColorAtys|type=fg|group={{{palette}}}}}; text-shadow: #{{ColorAtys|type=dark|group={{{palette}}}}} -.5px -.5px .5px, #{{ColorAtys|type=light|group={{{palette}}}}} .5px .5px .5px, #fff .5px .5px .5px">{{{text|INSET}}}</font>
+
<font style="color: #{{ColorAtys|type=fg|group={{{palette}}}}}; text-shadow: #{{ColorAtys|group={{{palette}}}}} .1em .1em .2em, #{{ColorAtys|type=dark|group={{{palette}}}}} .2em .2em .4em">{{{text|ON}}}</font>
|shadow=
+
|out=
<font style="color: #{{ColorAtys|type=fg|group={{{palette}}}}}; text-shadow: #{{ColorAtys|type=bg|group={{{palette}}}}} -.5px -.5px .5px, #{{ColorAtys|type=fg|group={{{palette}}}}} .5px .5px .5px, #fff -.1px -.1px .1px">{{{text|OUTSET}}}</font>
+
<font style="color: #{{ColorAtys|type=fg|group={{{palette}}}}}; text-shadow: #{{ColorAtys|type=dark|group={{{palette}}}}} -.5px -.5px .5px, #{{ColorAtys|type=bg|group={{{palette}}}}} .5px .5px .5px, #fff .5px .5px .5px">{{{text|OUT}}}</font>
|glow=
+
|in=
<font style="color: #{{ColorAtys|type=fg|group={{{palette}}}}}; text-shadow: #{{ColorAtys|type=light|group={{{palette}}}}} 0px 0px .5em, #{{ColorAtys|type=bg|group={{{palette}}}}} -.1em -.1em .1em, #{{ColorAtys|group={{{palette}}}}} .1em .1em .1em, #fff -1px -1px 1px">{{{text|GLOW}}}</font>
+
<font style="color: #{{ColorAtys|type=fg|group={{{palette}}}}}; text-shadow: #{{ColorAtys|type=bg|group={{{palette}}}}} -.5px -.5px .5px, #{{ColorAtys|type=dark|group={{{palette}}}}} .5px .5px .5px, #fff -.1px -.1px .1px">{{{text|IN}}}</font>
 
|#default=
 
|#default=
<font style="color: #{{ColorAtys|type=fg|group={{{palette}}}}}; text-shadow: #{{ColorAtys|type=dark|group={{{palette}}}}} .2em .2em .2em, #{{ColorAtys|group={{{palette}}}}} 0px 0px 1px">{{{text|SHADOW}}}</font>
+
<font style="color: #{{ColorAtys|type=fg|group={{{palette}}}}}; text-shadow: #{{ColorAtys|type=dark|group={{{palette}}}}} .2em .2em .2em, #{{ColorAtys|group={{{palette}}}}} 0px 0px 1px">{{{text|UP or DEFAULT}}}</font>
 
}}
 
}}
  
 
</div><noinclude> &lArr;
 
</div><noinclude> &lArr;
 
{{{{FULLPAGENAME}}/Documentation}} [[Catégorie:Modèles]]</noinclude>
 
{{{{FULLPAGENAME}}/Documentation}} [[Catégorie:Modèles]]</noinclude>

Version du 30 juin 2018 à 19:12

UP or DEFAULT

Modèle:Tape/Documentation