Template:Container: Difference between revisions

Template page
Content added Content deleted
(Created page with "<div style="margin-bottom: 20px"> <!-- begin header --> <div style="position: relative"> <div style="position: absolute; top: 0; background: #0fd; transform: skew(-20deg); ma...")
 
mNo edit summary
 
(12 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">&nbsp;</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>
</div></onlyinclude><noinclude>{{documentation}}</noinclude>
<!-- end body -->
</div>

Latest revision as of 18:57, 2 December 2021

{{{header}}}

{{{body}}}

Template documentation[view] [edit] [history] [purge]

Parameters[edit source]

Container to show contents with a green header.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Headerheader

The header shown at the top of the container.

Stringrequired
Bodybody

The content inside of the container.

Stringrequired

Quick Copy[edit source]

{{Container
| header = 
| body   = 
}}

Examples[edit source]

Cookies help us deliver our services. By using our services, you agree to our use of cookies.