Template:Container: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
 
(42 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="{{{style1|margin:4px auto; padding:0 2px 2px 2px; border-radius: .5em; background: #333333;}}} width:{{{width|90%}}}; margin:6px auto;" {{#if:{{{id|}}}|class="{{{id|}}}"|}}><div style="color:#fff; text-align:center;">{{{title|Title}}}</div><div style="{{{style2|text-align:justify; color:#000000; border-radius: 0 0 .5em .5em; padding: 0 4px 0 4px; background:#F0F8FF;}}}">
<div class="containerTem" style="background:#666;border-radius:0.5em;padding:{{#if:{{{title|}}}|0 2px 2px|2px}};margin:0 auto 16px;{{{style-tmp|}}}">{{#if:{{{title|}}}|<div class="containerTitle" style="color:#fff;text-align:center;font-size:115%;font-weight:bold;{{{style-title|}}}">{{{title}}}</div>}}<div class="containerContent" style="overflow:auto;background:#FAFAFA;border-radius:{{#if:{{{title|}}}|0 0 0.5em 0.5em|0.5em}};padding:{{#if:{{{title|}}}|2px 4px 1px|2px}};{{{style-content|}}}">
{{{content|Content}}}</div>
{{{1|{{{content|Content}}}}}}</div>
</div><noinclude>
</div><noinclude>
==How to==
==How to==
Simply copy the following:
Simply copy the following:
<pre>
<pre>
{{Container
{{Container
Line 11: Line 12:
</pre>
</pre>


For an alternate/expanded version, copy the following:
Optional fields:
 
<pre>
<pre>
{{Container
|style-tmp=
|width=
|style-title=
|id=
|style-content=
|style1=
|style2=
|title=
|content=
}}
}}
</pre>
</pre>
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
[[Category:Updated templates]]</noinclude>