Difference between revisions of "Template:Dn-content-box"

From EncyclopAtys

Jump to: navigation, search
m
 
(55 intermediate revisions by the same user not shown)
Line 1: Line 1:
βˆ’
{| class="wikitable" style="height:auto; width:100%; {{dn-css-gradient-h}} background: #{{ColorAtys|type=bg|group={{{palette}}}}}; background: {{linear-gradient(to right, #{{ColorAtys|type=bg|group={{{palette}}} , #{{ColorAtys|type=light|group={{{palette}}} }}; border:3px solid slateblue; {{border-radius}}"
+
<div style="height: 100%">
βˆ’
|-
 
βˆ’
| style="text-align:center; border:0px" |{{{Header|Header}}}
 
βˆ’
|-
 
βˆ’
| style="text-align:left; border:0px" |{{{Content|Content}}}
 
βˆ’
|}
 
βˆ’
<noinclude>
 
 
<div style="
 
<div style="
βˆ’
position:relative; left:4px; right: 4px; top:2px;
+
position:relative; left:4px; right: 4px; top:2px;
βˆ’
border:1px solid #{{ColorAtys|group={{{palette}}}}};
+
border:1px solid #{{ColorAtys|group={{{palette}}}}};
βˆ’
border: thin solid #{{ColorAtys|type=bg|group={{{palette}}}}};
+
height:25px;
βˆ’
height:25px;
+
background: #{{ColorAtys|type=bg|group={{{palette}}}}};
βˆ’
background: #{{ColorAtys|type=bg|group={{{palette}}}}};
+
background: linear-gradient(to right, #{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}});
βˆ’
background: linear-gradient(to right, #{{ColorAtys|type=bg|group={{{palette}}}}}, #{{ColorAtys|type=light|group={{{palette}}}}});
+
border: thin solid #{{ColorAtys|type=bg|group={{{palette}}}}};
βˆ’
border-bottom: thin outset #{{ColorAtys|type=dark|group={{{palette}}}}};
+
border-bottom: thin outset #{{ColorAtys|type=dark|group={{{palette}}}}};
βˆ’
color: #{{ColorAtys|type=fg|group={{{palette}}}}};
+
color: #{{ColorAtys|type=fg|group={{{palette}}}}};
βˆ’
font-weight: bold;
+
font-weight: bold;
βˆ’
font-size: 1.25em;
+
font-size: 1.25em;
βˆ’
text-align: center;
+
text-align: center;
 
">
 
">
βˆ’
<div style="position:absolute; left:5px; top:-5px;">[[File:{{{image}}}|38px|link=]]</div>
+
<div style="position:absolute; left:5px; top:-5px;">[[File:{{{image|dummy.png}}}|38px|link=]]</div>
βˆ’
<div style="position:absolute; left:40px; top:2px; right:0px"><h2 {{#if:{{{id|}}} | id="{{{id}}}Head"| }} style="margin:0; border-bottom:0; font-size:120%; font-weight:bold; text-align:left; padding:.15em .4em;
+
<div style="position:absolute; left:40px; top:2px; right:0px">
βˆ’
text-shadow: #{{ColorAtys|type=light|group={{{palette}}}}} -0.1em -0.1em 0.2em, #{{ColorAtys|type=dark|group={{{palette}}}}} 0.1em 0.1em 0.2em;">{{{title}}}</h2></div></div>
+
<h2 {{#if:{{{id|}}} | id="{{{id}}}Head"| }} style="
βˆ’
|-
+
  margin:0;  
βˆ’
|<div {{#if:{{{id|}}}|id="{{{id}}}"|}} style="padding-left:10px; padding-bottom:5px; padding-top:0px;">
+
  border-bottom:0;  
βˆ’
{{{content}}}
+
  font-size:120%;  
βˆ’
{{#if:{{{link|}}}|<div align="right">{{{link}}}</div>|}}
+
  font-weight:bold;  
 +
  text-align:left;  
 +
  padding:.15em .4em;
 +
  text-shadow: #{{ColorAtys|type=light|group={{{palette}}}}} -0.1em -0.1em 0.2em, #{{ColorAtys|type=dark|group={{{palette}}}}} 0.1em 0.1em 0.2em;">
 +
  {{{title|Title}}}
 +
  </h2>
 +
</div>
 +
</div>
 +
{{dn-content|id={{{id}}}|Content={{{Content}}}|link={{{link}}}}}
 
</div>
 
</div>
βˆ’
|-
 
βˆ’
</noinclude>
 

Latest revision as of 22:45, 27 January 2021

Dummy.png

Title

{{{Content}}}

{{{link}}}