Content added Content deleted
mNo edit summary |
mNo edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude><templatestyles src="Container/styles.css"/> |
|||
<div style="margin-bottom: 20px"> |
|||
<div class="container"> |
|||
<!-- begin header --> |
|||
<h2 class="container-header">{{{header}}}</h2> |
|||
<div style="position: relative"> |
|||
<div class="container-body {{{bodyclass|}}}" style="{{{bodystyle|}}}"> |
|||
<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> |
|||
<!-- end header --> |
|||
<!-- begin body --> |
|||
<div style="margin-top: 10px; margin-left: 50px; margin-right: 50px; margin-bottom: 10px"> |
|||
{{{body}}} |
{{{body}}} |
||
</div> |
</div> |
||
⚫ | |||
<!-- end body --> |
|||
⚫ |
Latest revision as of 18:57, 2 December 2021
{{{header}}}
{{{body}}}
This template uses TemplateStyles: |
Parameters[edit source]
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[edit source]
{{Container | header = | body = }}
Examples[edit source]
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. |