Difference between revisions of "Template:Panel"

66 bytes added ,  18:27, 17 April 2020
no edit summary
Line 1: Line 1:
{{#css:
{{#css:
.title-bar{
background:#CC0000;
}
.panel {
.panel {
background:#EDEDED;
background:#E0E0E0;
color:#282828;
color:#282828;
margin:5px;
margin:5px;
Line 13: Line 17:


.panel .title {
.panel .title {
background:#CC0000;
background:#181818;
}
}


Line 51: Line 55:
}
}
}}<div class="panel ms-depth-4 {{#if:{{{panelClass|}}}|{{{panelClass}}}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{#if:{{{title|}}}|
}}<div class="panel ms-depth-4 {{#if:{{{panelClass|}}}|{{{panelClass}}}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{#if:{{{title|}}}|
<div class="title">{{{title}}}</div>}}
<div class="title">{{{title}}}</div>
<div class="title-bar"></div>}}
<div class="content" {{#if:{{{contentstyle|}}}|style="{{{contentstyle}}}"}}>
<div class="content" {{#if:{{{contentstyle|}}}|style="{{{contentstyle}}}"}}>
{{{content}}}
{{{content}}}