Template:Container: Difference between revisions

Template page
Content added Content deleted
(test using template styles)
(clean up and use template styles)
Line 1: Line 1:
<templatestyles src="Container/styles.css"/>
<templatestyles src="Container/styles.css"/>
<div style="margin-bottom: 20px">
<div class="container">
<!-- begin header -->
<!--<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">&nbsp;</div>
<div style="position: relative; z-index: 1; line-height: 40px; font-size: 125%; text-align:center">{{{header}}}</div>
</div>-->
<h2 class="container-header"><div class="container-header-inner">{{{header}}}</div></h2>
<h2 class="container-header"><div class="container-header-inner">{{{header}}}</div></h2>
<div class="container-body">
<!-- end header -->
<!-- begin body -->
<div style="margin-top: 10px; margin-left: 50px; margin-right: 50px; margin-bottom: 10px">
{{{body}}}
{{{body}}}
</div>
</div>
<!-- end body -->
</div><noinclude>{{documentation}}</noinclude>
</div><noinclude>{{documentation}}</noinclude>

Revision as of 02:20, 30 October 2021

{{{header}}}

{{{body}}}

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

Parameters

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

{{Container
| header = 
| body   = 
}}

Examples

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