Content added Content deleted
mNo edit summary |
(test using template styles) |
||
Line 1: | Line 1: | ||
<templatestyles src="Container/styles.css"/> |
|||
<div style="margin-bottom: 20px"> |
<div style="margin-bottom: 20px"> |
||
<!-- begin header --> |
<!-- begin header --> |
||
<div style="position: relative"> |
<!--<div style="position: relative"> |
||
<div style="position: absolute; top: 0; background: #0fd; transform: skew(-20deg); margin: 0 25px 0 25px; width: calc(100% - 50px); line-height: 40px"> </div> |
<div style="position: absolute; top: 0; background: #0fd; transform: skew(-20deg); margin: 0 25px 0 25px; width: calc(100% - 50px); line-height: 40px"> </div> |
||
<div style="position: relative; z-index: 1; line-height: 40px; font-size: 125%; text-align:center">{{{header}}}</div> |
<div style="position: relative; z-index: 1; line-height: 40px; font-size: 125%; text-align:center">{{{header}}}</div> |
||
</div> |
</div>--> |
||
<h2 class="container-header"><div class="container-header-inner">{{{header}}}</div></h2> |
|||
<!-- end header --> |
<!-- end header --> |
||
<!-- begin body --> |
<!-- begin body --> |
Revision as of 02:16, 30 October 2021
{{{header}}}
{{{body}}}
This template uses TemplateStyles: |
Parameters
Container to show contents with a green header.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Header | header | The header shown at the top of the container. | String | required |
Body | body | The content inside of the container. | String | required |
Quick Copy
{{Container | header = | body = }}
Examples
The above documentation is transcluded from Template:Container/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |