Template:Container: Difference between revisions

From Halopedia, the Halo wiki

m (Minor update - shadows)
m (Text replacement - "> [[Category:" to "> [[Category:")
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="{{{style1|margin:4px auto; padding:0 2px 2px 2px; border-radius: 6px; background: #333333; box-shadow: 0px 0px 5px 5px #333333;}}} width:{{{width|90%}}}; margin:6px auto;"><div style="color:#fff; text-align:center; font-weight:bold;">{{{title|Title}}}</div><div style="{{{style2|text-align:justify; color:#000000; border-radius: 0 0 5px 5px; padding: 0 4px 0 4px; background:#F0F8FF;}}}">
<div class="containerTem" style="{{{style-tmp|margin:0 auto 16px; padding:0 2px 2px 2px; border-radius:.5em; background: #666; box-shadow: 0 0 6px #666;}}} width:{{{width|90%}}};"><div class="containerTitle" style="{{{style-title|color:#fff; text-align:center; font-weight:bold; font-size:115%}}};">{{{title|Title}}}</div><div class="containerContent" style="{{{style-content|text-align:left; color:#000; border-radius:0 0 .5em .5em; padding: 0 4px 0 4px; background:#FAFAFA;}}}">
{{{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|title=|}}
|title=
|content=
}}
</pre>
</pre>


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

Latest revision as of 19:08, September 15, 2022

Title
Content

How to

Simply copy the following:

{{Container|title=|}}
Optional fields
|width=
|style-tmp=
|style-title=
|style-content=
}}