Modèle:ContentBox : Différence entre versions

De EncyclopAtys

Ligne 4 : Ligne 4 :
 
background: rgba(255, 255, 255, 0.8);
 
background: rgba(255, 255, 255, 0.8);
 
background: linear-gradient(to right, #{{ColorAtys|type=bg|group={{{palette}}}}}, rgba(0,0,0,0));
 
background: linear-gradient(to right, #{{ColorAtys|type=bg|group={{{palette}}}}}, rgba(0,0,0,0));
background: linear-gradient(to right, #{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}};
 
 
         border: thin solid transparent;
 
         border: thin solid transparent;
 
         border: thin solid #{{ColorAtys|type=bg|group={{{palette}}}}};
 
         border: thin solid #{{ColorAtys|type=bg|group={{{palette}}}}};
Ligne 41 : Ligne 40 :
  
 
</noinclude>
 
</noinclude>
<!--
 
===============
 
 
<includeonly>
 
<div style="text-align:left; position:relative; left:4px; top:2px; border:1px solid #C26DEFE; height:25px;"
 
background: #ff3;
 
background: rgba(255, 255, 255, 0.8);
 
background: linear-gradient(to right, #ffc, rgba(0,0,0,0));
 
        border: thin solid transparent;
 
border-bottom: thin outset #00c;
 
border-color: #00c;
 
border-width: thin;
 
border-style: outset;
 
color: #0ff;
 
color: #00c;
 
font-weight: bold;
 
font-size: 1.5em;
 
text-align: center;
 
text-shadow: #9ff -0.1em -0.1em 0.2em, #000 0.1em 0.1em 0.2em;>
 
<div style="position:absolute; left:5px; top:-5px;">[[File:{{{image}}}|38px|link=]]</div>
 
<div style="position:absolute; left:40px; top:2px;"><h2 {{#if:{{{id|}}} | id="{{{id}}}Head"| }} style="margin:0; border-bottom:0; font-size:120%; font-weight:bold; text-align:left; color:#000; padding:.15em .4em;">{{{titre}}}</h2></div></div>
 
|-
 
| <div {{#if:{{{id|}}}|id="{{{id}}}"|}} style="margin:0em 1em 1em 1em; padding-right:0px; padding-top:5px;">
 
{{{contenu}}}
 
</div>
 
|-
 
</includeonly><noinclude>[[Catégorie:Modèle:Portail]]</noinclude>
 
-->
 

Version du 28 avril 2018 à 12:40

de:Template:ContentBox
en:Template:ContentBox
es:Template:ContentBox
fr:Template:ContentBox
ru:Template:ContentBox

Usage

{{ContentBox
|title=
|id=
|image=
|content=
|link=
|palette=
}}