Vorlage:ContentBox: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „<includeonly> <div class="cadre" style="text-align:left; position:relative; left:4px; top:2px; border:1px solid #C26DEFE;height:25px;"> <div style="position:ab…“)
 
Zeile 1: Zeile 1:
 
<includeonly>
 
<includeonly>
<div class="cadre" style="text-align:left; position:relative; left:4px; top:2px; border:1px solid #C26DEFE;height:25px;">
+
<div style="text-align:left; position:relative; left:4px; right: 4px; top:2px; border:1px solid #{{ColorAtys|group={{{palette}}}}};height:25px;
 +
background: #{{ColorAtys|type=bg|group={{{palette}}}}};
 +
background: rgba(255, 255, 255, 0.8);
 +
background: linear-gradient(to right, #{{ColorAtys|type=bg|group={{{palette}}}}}, rgba(0,0,0,0));
 +
        border: thin solid transparent;
 +
        border: thin solid #{{ColorAtys|type=bg|group={{{palette}}}}};
 +
border-bottom: thin outset #{{ColorAtys|type=dark|group={{{palette}}}}};
 +
color: #{{ColorAtys|type=fg|group={{{palette}}}}};
 +
font-weight: bold;
 +
font-size: 1.25em;
 +
text-align: center;
 +
text-shadow: #{{ColorAtys|type=light|group={{{palette}}} -0.1em -0.1em 0.2em, #{{ColorAtys|type=dark|group={{{palette}}} 0.1em 0.1em 0.2em;
 +
">
 
<div style="position:absolute; left:5px; top:-5px;">[[File:{{{image}}}|38px|link=]]</div>
 
<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;">{{{title}}}</h2></div></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:#{{ColorAtys|type=dark|group={{{palette}}}}}; padding:.15em .4em;">{{{title}}}</h2></div></div>
 
|-
 
|-
 
|<div {{#if:{{{id|}}}|id="{{{id}}}"|}} style="padding-left:10px; padding-bottom:5px; padding-top:0px;">
 
|<div {{#if:{{{id|}}}|id="{{{id}}}"|}} style="padding-left:10px; padding-bottom:5px; padding-top:0px;">
Zeile 18: Zeile 30:
 
|content=
 
|content=
 
|link=
 
|link=
 +
|palette=
 
}}
 
}}
 
</pre>
 
</pre>

Version vom 15. April 2018, 15:49 Uhr

Usage

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