Modèle:ContentBox : Différence entre versions

De EncyclopAtys

Ligne 1 : Ligne 1 :
 
<includeonly>
 
<includeonly>
 
<div class="x_cadre" style="text-align:left; position:relative; left:4px; right: 4px; top:2px; border:1px solid #{{ColorAtys|group={{{palette}}}}};height:25px;
 
<div class="x_cadre" style="text-align:left; position:relative; left:4px; right: 4px; top:2px; border:1px solid #{{ColorAtys|group={{{palette}}}}};height:25px;
background: #ff3;
+
background: #{{ColorAtys|type=bg|group={{{palette}}}}};
 
background: rgba(255, 255, 255, 0.8);
 
background: rgba(255, 255, 255, 0.8);
background: linear-gradient(to right, #ffc, rgba(0,0,0,0));
+
background: linear-gradient(to right, #{{ColorAtys|type=bg|group={{{palette}}}}}, rgba(0,0,0,0));
 
         border: thin solid transparent;
 
         border: thin solid transparent;
 
border-bottom: thin outset #00c;
 
border-bottom: thin outset #00c;

Version du 15 avril 2018 à 14:05

Usage

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